Sublime Forum

Java Colorsheme: Curly Braces

#1

I don’t know where to ask this question but I have a question about creating colorshemes. I’m using textmate to create my own colorscheme (with the preference menu). Unfortunately, I don’t know how to change the color of the curly braces. I would like to change the color of the braces separately but I don’t know what the scope selector is for curly braces. Does this vary between languages? If so, does anyone know how to do this with java? Thanks for any help.

0 Likes

#2

On OS X, you can use Command+Alt+P to find out the scope the curly braces are assigned.

If the braces don’t have a scope dedicated to them that you can use, you may have to edit the .tmLanguage file to give them one.

0 Likes

#3

Thanks so much. That helped a lot. At first nothing was happening because I had my status bar hidden. I figured it out though. ST2 has come through for me yet again.

0 Likes