How do I change the color of unusedField
or an unused variable in IntelliJ? In Color scheme
when I click on unusedField
nothing happens. I was expecting IDEA to show me the default color settings (or show where it is derived from) but nothing happens. Screenshots illustrates the situation when I click on unusedField
.
Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme. Use the Scheme list to select a color scheme.
In IntelliJ, in a . java file, some unused code is greyed out indicating that the declared variable or function is never used. Unused imports are removed using Ctrl+Alt+O.
Open the Preferences window. In the left sidebar, click on the node labeled Editor. Under Editor, click on the node labeled Colors & Fonts, then the sub-node, Language Defaults. If you're using a default color scheme, click the button labeled Save As, as PyCharm won't let you overwrite built-in color schemes.
Change the UI theme In 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.
Just edit the color after "Foreground" in the screenshot:
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