Home Download Buy Blog Forum Support

Java Colorsheme: Curly Braces

Java Colorsheme: Curly Braces

Postby C0D312 on Fri Jul 15, 2011 2:15 am

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.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Java Colorsheme: Curly Braces

Postby jps on Fri Jul 15, 2011 11:06 am

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.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Java Colorsheme: Curly Braces

Postby C0D312 on Fri Jul 15, 2011 1:15 pm

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.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am


Return to General Discussion

Who is online

Users browsing this forum: Esteban, tux. and 23 guests