Sublime Forum

File type associations

#1

Hi.

I’ve got a .plist file opened, which doesn’t have syntax highlight.
The file is just plain XML so the XML package would be enough for this file.

Is there a way of assigning XML syntax to all .plist files?

thanks

0 Likes

#2

From the main menu:

View -> Syntax -> Open all with current extension as...
0 Likes

#3

Thanks!! Does this get stored in any settings file?

0 Likes

#4

I think so, but I don’t remember where now… :slight_smile:

0 Likes

#5

In this case, it’ll be stored in Packages/User/XML.sublime-settings

0 Likes