Not sure if this feature is included in the VSCode settings yet, but I'd love to change the ruler color from it's default grey.
Tried:
"editor.rulers.color": "color"
But got an "unknown configuration setting error.
In VS Code, open the Color Theme picker with File > Preferences > Color Theme. (Code > Preferences > Color Theme on macOS).
In Visual Studio Code, use Ctrl + Shift + P and type settings. json to the field that shows up. After you type it, it should give you the settings.
Press Control + Shift + P when you just open Visual Studio Code and type "open settings(UI)" and search for window. titleBarStyle and change the option from native to custom so that you can restore the colour of status bar from white to black.
In settings.json
:
"workbench.colorCustomizations": { "editorRuler.foreground": "#ff333388" }
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With