VS Code Profile Switcher
This extension allows you to define a number of settings profiles that you can easily switch between. The original idea for this extension came from my desire to have an easy way for me to switch my VS Code to a setup that was better optimised for presenting (changed themes, increase font size, etc).
The extension introduces four new commands that you can use from the command panel. All commands are prefixed with
This saved the current user settings with the name you provide. You can use this to create a new profile or you can update an existing profile. The profile, when saved, is done so against your user-level settings.
Extensions that are installed are stored with the profile. See Extensions for more information on how Extensions are handled.
Note: This looks at the settings at the user level and not the workspace.
This allows you to select a previously saved profile. It'll replace it at the user level, not the workspace level. It works by merging your saved settings over the top of your current settings.
The extensions that are linked to the profile will be installed and extensions that weren't in the profile are removed. See extensions for more information on how Extensions are handled.
This removed a previously saved profile.
Select Live Share Profile
This will set a previously saved profile as the default profile to be used on VS Code Live Share.
Once set, when you launch a Live Share session your profile will be automatically enabled, and then once your session ends the previous profile will be loaded. Thanks @lostintangent for the PR that included it.
A profile isn't just the settings you have enabled, but also the extensions that were installed. This allows you to create different profiles for different styles of development (e.g. a React profile and a Vue profile, loading their respective extensions only).
When you switch profiles the extension will attempt to be intelligent about how the extensions are removed but moving them to the Profile Switcher
Always On Extensions
There are some extensions you might always enabled, regardless of profile (such as Settings Sync). To support this there is a property called
See the CHANGELOG for the latest changes.
Got an idea for what you'd like this extension to do? Feel free to create an issue or pick up an open issue.
Want to build your own extensions? Here's some starting points
This was my first time trying to build an extension for VS Code and wouldn't have got this far without: