Jump to content

Using different font for different file types in VS code

Go to solution Solved by KeyringHardhat,

Yeah you can totally do that, check this out: https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings

 

Once you have language specific settings, I believe the following would control the font for that particular language:

 

"editor.fontFamily": "Comic Sans MS"

 

Hi,

 

I use VS Code to edit files of different file types -- mainly .py and .tex files. I was wondering if I can use different fonts in the editor for these two different file types. 

It will be really useful if I can do so.

 

Thanks in advance for your help.

Link to post
Share on other sites

Yeah you can totally do that, check this out: https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings

 

Once you have language specific settings, I believe the following would control the font for that particular language:

 

"editor.fontFamily": "Comic Sans MS"

 

DevOps Engineer working with Azure primarily, Kubernetes evangelist, Born at a very young age, eats things from the microwave, Ultrawide nerd. 

Link to post
Share on other sites

20 hours ago, KeyringHardhat said:

Yeah you can totally do that, check this out: https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings

 

Once you have language specific settings, I believe the following would control the font for that particular language:

 

"editor.fontFamily": "Comic Sans MS"

 

Worked!! Thanks a lot..

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×