Search code examples
sublimetext3

Sublime Text Syntax Highlight


Good morning. In Sublime Text 3 (Windows) I have installed the FountainHead extension. I would like to know where to find the syntax highlight file. Thank you.


Solution

  • Syntax highlighting is controlled by two files - the language parsing definition file, which ends in either .tmLanguage or .sublime-syntax, and the color scheme file, which ends in either .tmTheme or .sublime-color-scheme. .tmLanguage and .tmTheme files are in XML format, while the .sublime-* files are in JSON.

    To view specific files in a package, open the Command Palette (CtrlShiftP) and hit v, which should bring up the View Package File option. Hit Enter, then type in FountainHead/ to see all the files in the FountainHead package. The language parsing definition file is in the main directory, and is called FountainHead.tmLanguage. The syntax highlighting .tmTheme files are located in the FountainHead/schemes subdirectory - there are 11 of them.