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
Related
I'd like to have soft wraps in the WebStorm editor only by Markdown files. According to Word wrapping in phpstorm this can be achieved only with Menu | View | Active Editor | Use Soft Wraps. I really don't want to have soft wraps by coding, but I don't want to use the menu every time I open an .md file.
Isn't there a way to assign this behavior for example to language or to file type?
It's 2019, and users of JetBrains apps now have automatic soft-wraps for Markdown documents - rejoice! 🎉🎊🥳
Alas it is not enabled by default, so you'll need to visit your preferences and check a box: On WebStorm 2019.2 at least, navigate to Editor > General > Soft Wraps and click your way to Markdown-soft-wrap bliss.
I found an acceptable solution to do this:
Go to "Settings" -> "Keymap".
Look for "Main menu" -> "View" -> "Active Editor".
Assign a keyboard shortcup to "Use Soft Wraps" (for instance: Ctrl + Alt + w).
Now when you are editing a file, use this shortcut and it will enable the soft wraps only for this file.
You can configure this in .editorconfig and it will work in any JetBrains IDE that supports .editorconfig (hopefully all of them).
[*.md]
ij_any_wrap_long_lines = true
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.
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'm getting this unbearable white background in my Idea terminal. (WebStorm)
Does anyone know how I can change this?
Open File > Settings, and head to the Editor section > Colors & Fonts section. There, you'll see the Console Colors option.
Here, you'll get an interactive edit screen to determine what you want those console colors to look like. Click on the one that's most afflicted and edit its background color to match that of the console window.
Alternatively, if this is from a vanilla installation of your IDE, consider filing a bug against it.
Perhaps, you've changed color scheme of cmd. Delete the entire HKEY_CURRENT_USER\Console key from the registry, it sets your cmd settings to defaults and fixes this bug.
Open Registry and navigate to
HKEY_CURRENT_USER\Console
and remove
ScreenColors
key
This will reset color settings of your "cmd" window as well. However till JetBrains fixes this issue there is no other way around.
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.