Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to display a specific font_face for each individual syntax language setting in Sublime Text 2? For example:

"php" : { "font_face" : "Droid Sans Mono" },
"c#" : { "font_face" : "Courier New" },
"javascript" : { "font_face" : "monospace" } 

Couldn't find much about the font_face setting in ST2 other than how to change it globally. My job requires me to jump around a lot of different language files and think this would make them easier to distinguish on the fly. I like my color scheme and want to keep that the way it is, but unfortunately it doesn't quite differ enough for me to be able to pick out the languages quickly.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, that is possible. Open a filetype for which you want to change the font. Then in the menu select Preferences > Settings-More > Syntax Specific - User.

In that file (which will be created if it not already exists), enter you specific font-needs. For instance:

{
  "font_face": "Broadway",
  "font_size": 12
}
share|improve this answer
    
Works perfect! Thank you! –  voodooGQ Aug 24 '12 at 14:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.