Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Different themes for different languages in Visual Studio Code

Tags:

I've tried searching for the answer to this but am coming up blank.

In sublime text, it's possible to have different themes for different file types as specified in the preferences file. For example, you can have a light coloured theme for Markdown/Plain text files and a normal Monokai type theme for all other languages. I find this very useful as I prefer to have different fonts and settings when typing compared to when coding.

As far as I can see, this functionality isn't present in VSCode. Am I wrong or is there a way to achieve the above?

like image 777
GomiNoSensei Avatar asked Oct 26 '16 13:10

GomiNoSensei


People also ask

Can you use multiple languages in Visual Studio Code?

Hundreds of programming languages supported# In Visual Studio Code, we have support for almost every major programming language. Several ship in the box, for example, JavaScript, TypeScript, CSS, and HTML but more rich language extensions can be found in the VS Code Marketplace.


1 Answers

It's now possible to do using an extension called "Theme by language" from Julien Saulou. It can be downloaded from Visual Studio Code Marketplace.

like image 55
thesdev Avatar answered Oct 04 '22 20:10

thesdev