I just want to get rid of these yellow rects that keep popping up in IntelliJ IDEA.
The "class name popups" are actually called breadcrumbs and can include other things such as method names. They're clickable and used to ease navigation. You can disable them in the IntelliJ Preferences by going to Editor -> General -> Appearance and unchecking Show breadcrumbs. See my image below.
Related
In IntelliJ, I could not find "Field x is never used" in Intellij's
Setting/Inspection/Java
list.
How to get a systematic highlight instead of an "on mouse-over" warning in the case of unused member fields ?
By the way, the command "Show Inspection Description" available top-right of the popup is greyed-out.
I also set Java's "Unused declaration" inspection to the "Error" then "Severe" status, the location is in thos case indicated by a corresponding color bar on the right slider, but nothing do change in the editor … incidentally, the colored bar appear for unassigned members and this is what I do not want since it happen for autowired Spring members and this is not an error ..I would need a warning in the editor just for
unused members ..
The intention shouldn't be grayed out, that looks like a bug - since #olga already mentioned. But that doesn't hinder you from achieving what you want
So, in order to find that intention. Go to the unsed variable and hit ALT + Enter:
Use the right arror key ->
Hit enter and you will be routed to the appropriate inspection setting:
Then change from warning to error:
From now on every unused variable will be marked as an error instead of warning.
Change The Appearence
If you don't want to have an error mark and you just want to change how the warinig is displayed, do the following:
Go to Settings -> Editor -> Color Scheme -> General
then select Errors and Warnings and Unused symbol.
You can customize the apperance on the right side.
Please follow the issue already created for Editor highlighting problem: https://youtrack.jetbrains.com/issue/IDEA-242284
and the issue for the "Show inspection description": https://youtrack.jetbrains.com/issue/IDEA-252200
I am looking for a way to change the appearance of error highlighting in the user interface (not editor).
is there a way to change the 'waved' error underscore to a line or/and change the color of it?
highly appreciate any help, image of what i mean is below:
ui example
There is no option to disable the error underlines in the editor tabs.
In Dracula theme, when I click on a symbol, even though IntelliJ IDEA highlights the usages of that symbol, the highlights are not that visible. I need to change the highlight text color and background color of usages so usages are more visible. I Googled for a solution but couldn't find.
Following page mentions that this can be done in Colors and Fonts settings page but I couldn't find where I can change the colors in that page.
https://www.jetbrains.com/idea/webhelp/highlighting-usages.html
Can somebody help me in this please?
Go into Settings->IDE Settings->Editor->Color and Fonts->General
Make a copy of Darcula to something like MyOwnDarcula (can't change the built in schema).
Find whatever you need to change, in this case I think it's "Identifier under caret" and change the colors for foreground and background to your liking.
The accepted answer is wrong. Editor>Colors & Fonts>General>Selection background/Selection foreground
It's called "identifier under caret" and "identifier under caret (write)".
I suggest editing background color.
Steps for your solution are:
File->setting or ctrl+alt+s
Got identifier under caret(For finding this click on code in general tab and enter identifier under caret). Refer image.
The linked page also mentions Highlighting usages of a symbol in the current file with a Ctrl + Shift + F7 keyboard shortcut.
The highlighting for that is governed by "Search Results" > "Search Result" (under Editor > Color Scheme > General)
Is there any of disabling the yellow arrow that shows up when you perform a search in eclipse ? I was debugging my program earlier and i couldn't find my breakpoints, only to realize a couple of minutes later that they were being hidden behind eclipse arrows.
I know that the arrow goes away when you remove the matches from the search view, but is there a way of completely disabling the arrow from being shown ?
EDIT: Same goes for the green triangle for #Override
Go to: Preference -> General -> Editors -> Text Editors -> Annotations then select the Annotation you would like to remove from the list of annotation types. Uncheck the 'Vertical ruler' checkbox and apply the changes.
Hope this helps.
In eclipse, when your cursor is placed on a method (or other things), other places the method exists are highlighted. I'd like to change the color of this highlight, but after scouring the eclipse preferences many times in all 3 places, I have yet to find it.
Any of you Eclipse gurus know where to find this option?
After running around in the Preferences dialog, the following is the location at which the highlight color for "occurrences" can be changed:
General -> Editors -> Text Editors -> Annotations
Look for Occurences from the Annotation types list.
Then, be sure that Text as highlighted is selected, then choose the desired color.
And, a picture is worth a thousand words...
(source: coobird.net)
(source: coobird.net)
For those working in Titanium Studio, the item is a little different: It's under the "Titanium Studio" Themes tab.
The color to change is the "Selection" one in the top right.
1 - right click the highlight whose color you want to change
2 - select "Properties" in the popup menu
3 - choose the new color (as coobird suggested)
This solution is easy because you dont have to search for the highlight by its name ("Ocurrence" or "Write Ocurrence" etc), just right click and the appropriate window is shown.
If you're using eclipse with PHP package and want to change highlighted colour then there is slight difference to above answer.
Right click on highlighted word
Select 'Preferences'
Go to General > Editors > Text Editors > Annotations. Now look for "PHP elements 'read' occurrences" and "PHP elements 'write' occurrences". You can select your desired colour there.
right click the highlight whose color you want to change
select "Preference"
->General->Editors->Text Editors->Annotations->Occurrences->Text as Hightlited->color.
Select "Preference ->java->Editor->Restore Defaults
in my case (Eclipse IDE 2021-06), dark theme, the issue was with the background color of "C/C++ Write Occurrences".
On each click over a variable being written in the code, the editor highlights all occurrences of that variable.
You can find this setting here:
General -> Editors -> Text Editors -> Annotations
and then select 'C/C++ Write Occurrences'.
And finally change che Color property.