Home > OS >  How to set the background color for files of different types in Visual Studio Code?
How to set the background color for files of different types in Visual Studio Code?

Time:08-10

settings.json allows to define the background color for all files:

 "workbench.colorCustomizations": {
 "editor.background": "#F0F8FF" }

Is it possible to set different background colors, for example, for files with extensions html, php and js ?

CodePudding user response:

With the extension When File you can change that theme color based on languageID or file location.

CodePudding user response:

The built-in features of VSCode do not allow you to customize the background color depending on the file type. There is an extension Theme by language. It allows you to customize the theme of VSCode depending on the programming language.

  • Related