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). Install
FeaturesThe extension introduces four new commands that you can use from the command panel. All commands are prefixed with Save ProfileThis 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. Select ProfileThis 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. Delete ProfileThis removed a previously saved profile. Select Live Share ProfileThis 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. ExtensionsA 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 ExtensionsThere are some extensions you might always enabled, regardless of profile (such as Settings Sync). To support this there is a property called ChangesSee the CHANGELOG for the latest changes. RoadmapGot an idea for what you'd like this extension to do? Feel free to create an issue or pick up an open issue. ResourcesWant to build your own extensions? Here's some starting points
CreditsThis was my first time trying to build an extension for VS Code and wouldn't have got this far without:
|