Sublime Forum

All caps words are different colours

#1

Basic colour for my theme is white. However, when any word is all caps, it’s changed to orange. I can’t find anywhere to change this behaviour. Not a big deal, but any help would be appreciated. Thanks!

NJB

0 Likes

#2

that depends on languages but it’s most likely intended since all cap words usually mean constants.

0 Likes

#3

Ahh, sorry, I should have said “Python”. And yes, I use all caps to remind myself that they are to be constants. (Python doesn’t actually have constants). Maybe there is a “constant” attribute I can change?

0 Likes

#4

Just assign whatever style you like for the variable.other.constant.python scope in the color scheme you used. Or more generally, variable.other.constant.

0 Likes

#5

That worked. Thanks!

NJB

0 Likes