Sublime Forum

Syntax colors

#1

I’m a complete novice to programming and Sublime Text, so go easy on me :slight_smile:

I know the colors in Sublime mean something, but is there a built-in “tool” for me to see what each of the colors means? For example, in the pic below, why is “int” blue, but “for” is red? Is there a way I can quickly see what each of these colors represent?

pic

0 Likes

#2

Select the menu item:

Tools > Developer > Show Scope Name

(or press its associated keyboard shortcut) and a popup will appear:

In this case, int has that colour because it’s classified as support.

You can look at a comprehensive description of these classifications here: https://www.sublimetext.com/docs/3/scope_naming.html

1 Like

#3

Thanks for the info.

0 Likes