Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

"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

Resources

Releases

No releases published

Packages

No packages published