I needed to do some coding in CoffeeScript, so I found https://github.com/Xavura/CoffeeScript-Sublime-Plugin and I installed it using Package Control. I restarted Sublime Text and everything I type in my .js.coffee
file is still plain white. What am I doing wrong here?
To enable Syntax Highlighting click on “View” in the top bar, then hover your mouse over “Syntax”, and select your programming language from the list. Alternatively, if you save a document with a supported file extension, Sublime Text 3 will automatically apply the Syntax Highlighting for that language.
Sublime Text can use both . sublime-syntax and . tmLanguage files for syntax highlighting.
Open a .coffee
file, then go to View -> Syntax -> Open all with current extension as... -> CoffeeScript
. Now, any time you open a CoffeeScript file it should have the correct syntax highlighting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With