Sublime Forum

tmPreferences files -> how to edit them? what's the syntax?

#1

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!

0 Likes

#2

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.

0 Likes