Home Download Buy Blog Forum Support

// vs /// comments syntax hilighting

// vs /// comments syntax hilighting

Postby christoso on Thu Feb 21, 2013 7:28 pm

Hello,

When I was using the "Kate" programming editor on Linux, there was a useful distinction with syntax hi-lighting on comments (with C/C++ syntax hilighting):

// got a certain color
/// was a different color

This is really useful for having a visual difference between code I want to disable and not stand out, and actual comments within the code that I want to stand out and have a different color.

Is there a way to do this in Sublime Text 2?

Thank you,
Christos
christoso
 
Posts: 1
Joined: Thu Feb 21, 2013 7:23 pm

Re: // vs /// comments syntax hilighting

Postby adzenith on Fri Feb 22, 2013 6:37 pm

You'll have to edit your .tmLanguage file, but it should be fairly straightforward (copy and paste, add a slash?).
adzenith
 
Posts: 834
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], tobi73de and 14 guests