MrToph / 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:JavaScript 25.0%Language:TypeScript 23.1%Language:PowerShell 20.3%Language:PHP 8.7%Language:Ruby 6.3%Language:Vue 5.4%Language:HTML 5.1%Language:Python 3.9%Language:Elm 1.4%Language:CSS 0.8%