I have recently moved to VSCode from using Notepad++ for many years. In Notepad++, if editing an HTML file for example, the default editor background is white, however it was able to colorize the background of different languages within the editor such as PHP and JavaScript between the opening and closing brackets. For example, any PHP code between would have a light yellow background and JavaScript was light blue.
Is this possible in VSCode? This was extremely useful and a much missed feature since I moved to VSCode.
On the menu bar, select Tools > Options. In the options list, select Environment > General. In the Color theme list, choose between the default Dark theme, the Blue theme, the Blue (Extra Contrast) theme, and the Light theme. Or, choose the Use system setting option to select the theme that Windows uses.
This is not supported out of the box as of VS Code 1.24. This issue tracks per filetype themes
An extension could also hack something together to emulate this. See this guide for getting started writing an extension
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