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
Let's say I have a code like this:
#define ABC
#ifdef ABC
int foo = 1;
#else
int bar = 2;
#endif
I want to modify displaying of the text inside else part of conditional compilation.
I'm using dark scheme in VS2012. Current setting will drop all colors except constants, comments and keywords which will get bit darker. I would like to change it to either drop all colors completely or change everything to different color.
I would really love to have the part which is not complied crossed (or at least italic) but that does not seem to be possible in VS editor at all.
Please excuse me for bringing up a 2 year old topic, but this could better help the community in finding fast answers.
Sigve had provided correct answer but the following is in addition to what he had said.
If you are still not able to change the color of the Display item (Excluded code in this case), go to
Tools -> Options -> Text Editor -> C/C++ (e.g.) -> View. Choose 'True' (default is false) to disable inactive code opacity. When you go back to the font and colors, and change the color for 'Excluded Code', the color will be updated.
From https://msdn.microsoft.com/en-us/library/ms165337(v=vs.110).aspx
Select Options from the Tools menu, and in the Environment folder, select Fonts and Colors.
The Fonts and Colors, Environment, Options Dialog Box opens.
In Show settings for, select Text Editor.
Modify the Font and Size options to change the font face and size for all text elements in all editors.
Select the appropriate item in Display items, and then modify the Item foreground and Item background options.
The item you want in Display items is excluded code.
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
Whats the quickest way to unmark all the marked items in VC++ 6.0 Ver?
(I just searched for a string, clicked 'Mark All' and then wherever the item appeared, a blue indicator is seen at the left. does anyone know reverting it back?)
I tried project->settings, but in vain.
According to this DaniWeb question Ctrl + Shift +F2 should clear them all.
Press Ctrl+F2 to mark/unmark a line of text. Press F2 to skip between marked positions within each source-file. The list of current bookmarks can be displayed by the Edit -> Bookmarks dialog or by pressing ALT+F2. You can clear all bookmarks there.
Clear all bookmarks - Ctrl+K, Ctrl+L
Ctrl+Shift+F2 will clear all bookmarks.
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.