Hello,
How to edit the *.tmPreferences files? What’s the syntax? Where should they be placed?
Are there any User Guides for usage of the *.tmPreferences files?
How to create the Symbol List for a certain language?
Thank you!
Hello,
How to edit the *.tmPreferences files? What’s the syntax? Where should they be placed?
Are there any User Guides for usage of the *.tmPreferences files?
How to create the Symbol List for a certain language?
Thank you!
tmPreferences
files are XML formatted Plist files; you’d use the XML syntax for them though. As long as they exist inside of a package (i.e. in a sublime-package
that has been properly installed, or inside of a folder in the Packages
folder), they will automatically be loaded. You can tell they’re loading by saving one and watching the Sublime console, which will output a message.
To see how to create one/what the format is/how to set up the symbol list, the best example is probably to use View Package File
, filter the list to tmPreferences
files, and then open one and see what it’s doing.
For example, Python/Symbol List.tmPreferences
.
Note that the name of the file doesn’t matter; it’s the content that describes what the file actually does.