Can't change Booleans to be a different color than Keywords in my custom color scheme.

Answered

When you make a custom color scheme, it seems that no matter what you do, the color of booleans HAS to be the same as regular keywords like class and def. I don't want that, as booleans serve a much different purpose. I'm trying to change it in (Color Scheme -> Python -> Keyword)

 

How do i change it?

0
1 comment

Isn't it both a keyword and a built-in name?

>>> True = 10
File "<stdin>", line 1
SyntaxError: can't assign to keyword
>>> import builtins
>>> builtins.__getattribute__('True')
True

Anyway, it's not possible to assign it a different color at the moment.

Please feel free to submit a feature request about it to our issue tracker using the link https://youtrack.jetbrains.com/issues/PY

0

Please sign in to leave a comment.