When there is a lot of code I would find it easier to get an idea of the structure of a program if keywords like new
, null
, true
, int
etc would have different colors than keywords that actually are responsible for structure like if
, while
etc.
Is it possible to color have custom colors for certain keywords? For example change the color of new
and true
in this picture?
Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Language Defaults | Semantic highlighting. Select the Semantic highlighting checkbox and customize the color ranges if necessary.
Change the UI themeIn the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | Appearance. Select the UI theme from the Theme list: IntelliJ Light: Traditional light theme for IntelliJ-based IDEs. macOS Light or Windows 10 Light: OS-specific light theme available as a bundled plugin.
Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme. Select the setting pages related to consoles: Console Colors.
If you click in a symbol on your code, you can hit Ctrl+Shift+F7 , then it will highlight (High visible, not just like the default underline) all occurences of the symbol. Good thing is, if you move out the cursor of that symbol, it will keep it highlighted wherever you go.
No, it's not possible to change the color of certain keywords, other than by writing a plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With