A VS Code settings toggler that stores previous settings, and only requires you to define a single "toggled" state for settings you want to change -- not both states.
Personally, I wanted this flexibility. If you don't need that, I suggest checking out SettingsCycler
How to use this extension
Edit the Global, User, or Workspace settings file of your choice, and add an
Once the extension is installed, it creates a VS Code Command that becomes available in the Command Palette.
You can activate the command, and toggle the assigned settings, by finding it in the Command Palette, named "Toggle Settings".
You can further customize this by adding your own keybinding for that command.
Includes contributions from:
Questions, comments, Issues, and Pull Requests are welcome! This project was created to fulfill a specific need of mine, and is open-source code available at https://github.com/tcg/vscode-toggle-settings