Visual Studio Code: different color themes for different projects

// Specifies the color theme used in the workbench. “workbench.colorTheme”: “………….”, If you put that into your “WORKSPACE SETTINGS” and not “USER SETTINGS” then you will get different themes for each workspace. When you open your setting Ctrl–, (that’s a comma), then above the right-hand editor you will see “USER SETTINGS” and “WORKSPACE SETTINGS”, chose … Read more

How change the color of rulers in Visual Studio Code

From the February 2020 v1.43 release, you can set per-ruler colors. Use like this: “editor.rulers”: [ { “column”: 80, “color”: “#ff00ff” }, 100, // a ruler with the default or editorRuler.foreground color at column 100 { “column”: 120, “color”: “#ff0000” }, ], See the release notes here: https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_43.md#multiple-rulers-with-different-colors

Visual Studio Code and subfolder-specific settings

I also couldn’t find a decent answer for this, I did find an “hacky” workaround. I have the following project structure: . ├── apps │   ├── api │   │   ├── Dockerfile │   │   ├── .gitignore │   │   ├── hhapi │   │   ├── manage.py │   │   ├── .pylintrc │   │   ├── requirements.txt │   │   ├── venv … Read more

How can I temporarily maximize an editor group in VS Code?

It looks like v1.84 will have a new command for toggling the maximization of the current editor group which appears to be exactly what you want: workbench.action.toggleMaximizeEditorGroup “View: Toggle Maximize Editor Group” Bound by default to Ctrl+K Ctrl+M See Commit: Add editor group maximize toggle action. Available in the Insiders Build now. There is a … Read more

VSCode Copy Relative Path with posix forward slashes

As of vscode 1.59 you can enable using the / separator even on Windows for the Copy Relative Path command. Explorer: Copy Relative Path Separator set to /. explorer.copyRelativePathSeparator auto (default): Uses operating system specific path separation character /: Use slash as path separation character \\: Use backslash as path separation character See https://github.com/microsoft/vscode/issues/56279 For … Read more

Visual Studio Code waiting for second key of chord. (Ctrl + A)

You have another key binding that begins with Ctrl+A, something like this: A sequence of multiple keystrokes pressed one after another (rather than simultaneously) is called a “chord”. You might have accidentally created it, or might have recently installed an extension that adds the problematic binding. To find it, do like I have done in … Read more