Sublime Forum

Different comment in c

#1

i find the notepad++ can use different color to display comment line “//” and comment “/* */” in C document, does ST have the ability or how to get it ?

0 Likes

#2

Yeah. You can use the command show_scope_name in both of these comments, and it shows that one is comment.line and the other is comment.block. From there, you have to edit your color scheme to treat these differently. See this post: viewtopic.php?f=2&t=17684#p66408

0 Likes

#3

thanks very much ! :smiley:

0 Likes