问题
I have downloaded a typescript.tmlanguage so that I can have typescript syntax highlighting in the Sublime Text 2 editor. How do I load this file in the editor? (I have searched the editor's manual but there is no clear answer on this one) Thank you.
回答1:
You should create Typescript
directory in your Packages
directory and put typescript.tmLanguage
in it.
Packages directory can be found with menu Preferences/Browse Packages...
.
来源:https://stackoverflow.com/questions/12762736/how-to-load-a-tmlanguage-file-into-sublime-text-2