Eclipse CDT: Change Annotation icons on that left bar D: ? - c++

Hoi.
I love Eclipse. But i hate that huge square annotation on the left, popping up every two seconds:
How can i change it? Been able to get rid of it, but I'd like something else than nothing.
(hate squares)

Right click on it -> General -> Editors -> Text Editors -> Annotations.
Here you can configure which icons and where to show.

Related

How to turn off showing whitespace characters in dev-c++?

I pressed something, maybe in the font or the editor, and my dev-c++ started showing paragraph symbol and space symbols.
like these
ΒΆΒΆ
How can I remove that?
In the editor go into "Settings -> Editor Settings", and check "Show hidden smbols" checkBox (bottom left), than push OK button.
I know this because i was searching today how to enable it XD

How to remove current line highlighting in WebStorm 11

How do I get rid of highlight of current line?
The color looks exactly like highlight text color.
I found something about "caret" but it didn't help.
OK so the correct thing is called "Caret Row"
Settings -> Editor -> Color & Fonts -> General -> Editor -> Caret row
As the previous answers mentioned, just follow this image and unselect the background for the Caret row from the settings menu.

Eclipse dark theme highlight issue

I just switched from geany to eclipse and I have a little problem
How can I change that highlight color which is VERY annoying
As you can see, whenever I highlight anything and click somewhere else, it changes like this. How can fix this little bug?
Open Window>Preferences>General>Editors>Text Editors>Annotations
Modify the color for "PHP elements 'read' occurrences" and "PHP elements 'write' occurrences". Obviously I'm using eclipse PHP but you should see similar options in the annotations list for non-PHP eclipse.
Here's what worked for me:
Open Windows -> Preferences -> General -> Editors -> Text Editors ->
Annotations
Select "Occurrences (PyDev)." The "Text as" drop down box on the right should read "Highlighted," and the color is very light.
Click the color button and change it to something easier on the eyes.
I found the best thing to do is to go into GWindows -> Preferences -> General -> Editors -> Text Editors -> Annotations and change everything from Highlighted to Underlined and choose the underline color to suit.
If you are using Python in eclipse (using PyDev) than the above solution won't help.
Than you have to go to
"Open Windows>Preferences>General>Editors>Text Editors> Annotations"
and change the color of Breakpoints(PyDev).
Once you do that the color of all which are matching your current selection will be in the color you chose and not the annoying yellowish highlight color.
General->Editors->Text Editors->Annotations preference
section. Look for C/C++ Occurrences and C/C++ Write Occurrences.
I had to spend an inordinate amount of time searching for an answer to this question. Here is a picture of the Preferences showing which selection is for changing the background color of text you have selected with your mouse in the editor. This is totally different from the Occurrences that people keep pointing out.
If you're using PyDev, use the following:
Open Window>Preferences>General>Editors>Text Editors>Annotations
in the list of Annotation types there is the "Occurrences (PyDev)" Option, which is the one you'll want to change.
I found a blue highlight for dark mode works well in PyDev.
For me, this is what did it (seems it's different for everyone):
Open Windows -> Preferences -> General -> Editors -> Text Editors -> Annotations
Under "Annotation Types":
select "Boot Dynamic Info", then uncheck the "Text as" checkbox on the right.
Using the answers above to set the colours, here are some that I found worked in RGB:
(65, 66, 36)
(83, 55, 55)
In my case, Spring Tool Suite 4.14.0 (202203), changing "LSP Read Occurrence" color under Windows -> Editors -> Text Editors -> Annotations solved my problem.
https://i.stack.imgur.com/v74Of.png
I had the same issue with highlighted inactive code.
I was able to change it in Window>Preferences>C/C++(or other programming language)>Editor under "Appearance color options:" select "Inactive code highlight" and change to the desired color.
Similar post about inactive code in Eclipse.
Also check "Vwrapper Search" color setting if you are using that plugin
Under Open Window > Preferences > General > Editors > Text Editors > Annotations
For some reason it overrides other defaults. Tested with the Darkest Dark theme on Eclipse 2022-09.
Annotations is the setting you want to Change (whatever Eclipse you are using - example below is CDT):
annotations / Occurences in Eclipse preferences

Source Insight //TODO comment

I recently started working with Source Insight, and in order to get a proper looking //TODO - comment you need to write // TODO
(with an extra space).
I tried looking around the config for a way to remove this extra space, couldn't find it, and can't get used to writing it with the extra space.
Any way to solve this? Or should I embrace this, and then slowly, learn to cherish it?
Go to Options->Style Properties
Add a new Style for your "todo" comments, set its properties to be whatever you like
Go to Options->Document Options
Click on "Language" button in Parsing section
Select appropriate language (C? C++?)
Click "Properties"
Change to "Comments and Ranges" tab
Click "Add new definition"
Set formatting style to match the new one you created above
For "range begins with" put "//todo" (perhaps one for each type of
capitalisation)
Click ok x 3
Yes to "Reparse project"
Click close
It should now be showing up properly!

In the Eclipse IDE, how do I display the Hover values in Hex and not decimal?

Is there a way to change the format of the data shown when I hold the mouse cursor over a variable (i.e., Hovers as Eclipse calls them)? The format is Decimal, but I would like to change them to Hex, Octal, or Binary if that is possible? Under Preferences -> C/C++ -> Editor -> Hovers there is nothing about the format. Perhaps there is a way to hack a configuration file or something??
Any help is greatly appreciated.
Regards,
Mark
If viewing in the register view, there is a down arrow triangle in the upper right that has Number Format on the drop down menu. If you select the rows first, it will apply to all of them. Also, eclipse preferences (window->preferences->c/c++->debug lets you set all displays permanently. However, it appears that this has been moved in eclipse neon and I can't find it anymore ##$%$%^$#!~