avanslaars / code-profiles

Different "Profiles" for VS Code to allow separate settings for coding and teaching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Profiles" for VS Code

Working as a developer as well as creating screencasts and conducting workshops means I often need to make changes to my VS Code settings to increase the font size, make the colors easy to see on a projector screen and disabling "noisy" extensions that are very useful for working as a dev, but get in the way when teaching.

Luckily, you can launch VS Code with command line flags to load settings and extensions from a non-default location.

Each folder in this repo represents one of those directories, which I refer to as "profiles" for lack of a better term.

I launch each profile using an alias that I create in my .zshrc.

For example, this repo lives in ~/code_profiles and the command to launch my egghead settings is:

code --extensions-dir ~/code_profiles/egghead/exts --user-data-dir ~/code_profiles/egghead/data

The alias in my .zshrc looks like:

alias teach="code --extensions-dir ~/code_profiles/egghead/exts --user-data-dir ~/code_profiles/egghead/data"

And I can run that with a path like:

teach ~/projects/lesson

About

Different "Profiles" for VS Code to allow separate settings for coding and teaching


Languages

Language:C++ 51.4%Language:JavaScript 19.9%Language:CSS 13.1%Language:HTML 12.7%Language:PowerShell 0.6%Language:TypeScript 0.5%Language:Ruby 0.3%Language:Pug 0.3%Language:PHP 0.3%Language:Dart 0.2%Language:Vue 0.2%Language:Clojure 0.2%Language:Python 0.2%Language:C# 0.1%Language:Dockerfile 0.1%Language:Elm 0.0%Language:Stylus 0.0%