Is there a way to debug a syntax highlight file? I want to be able to find out why Sublime chose to color the text a certain way.
Show Syntax Highlighting Patterns?
moswald
#2
While I’m on the topic, do I really have to shut down Sublime before I can see the changes to the tmLanguage file reflected?
0 Likes
handycam
#3
No, you should see changes right away when you save a theme file.
I recommend a package called “scope hunter” to see what is what.
0 Likes
moswald
#4
I am definitely not getting anything updated without restarting Sublime. Have you got an idea on why that might be?
Thanks for pointing me to Scope Hunter, that’s a big help.
0 Likes
nick1
#5
If you’re changing a language’s syntax definition (.tmLanguage) file then you’ll have to restart sublime. If you’re just changing the color scheme (.tmTheme), that should happen instantly, barring syntax errors.
0 Likes