how to get rid of Eclipse white space characters [duplicate] - eclipse

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Eclipse: I turned on hidden characters now I can’t turn off
I use Eclipse (3.72) to develop Android apps. I accidentally bumped something against my keyboard and now there are these light gray formatting characters showing. They are very distracting. I've looked everywhere I can think of on how to get rid of them.
I restored defaults in the editor to no avail. I've googled everywhere only to find reccos to "uncheck the remove whitespace characters" but that is no where to be found.
Help!
thanks, Gary

Window->Preferences->General->Editors->Text Editors-Uncheck 'Show whitespace characters'

There is a shortcut for toggling "show whitespace". You can check the shortcut by going to the path mentioned below. If you would like to toggle "show whitespace" try the shortcut that is listed for your version of eclipse.
You can set this shortcut by going to window -> general -> keys and then searching for "show whitespace" and you can set the shortcut there.

Related

Deactivate highlighting of special characters in VSCode [duplicate]

This question already has an answer here:
Fix issue With VS Code: yellow orange border box around characters
(1 answer)
Closed last month.
The more i try to dig in the VSCode settings, i cant seem to find out how do deactivate that, and I'm wondering if someone knows. Thanks in advance
I navigated through the whole settings things of VSCode including the json and found nothing
Go to settings and search for Unicode Highlight and set it to false

Is there any way to remove the field I highlight here in netbeans 15? [duplicate]

I have installed NetBeans 15. There is a feature that they have turned on by default that I find very distracting. How do I turn it off? It is the highlighted code in the image below:
This is a non editable extra text and for me just gets in the way.
Thank you in advance!!!
Thanks to a work colleague found the answer. Turn off "Show Inline Hints" below :

Change size of whitespace tab arrow character in VS Code

I am currently setting up VS Code on a new computer and want to maintain all the same configuration, addons etc that I had on my previous computer. I was able to copy all of the settings, fonts, themes I like, etc; however for some reason I can't figure out how to change the size of the Tab arrow character for whitespace.
In my old editor, the Tab arrow spanned two spaces, whereas on my new computer, the tab arrow only spans one space.
I've been looking all over, and tried googling any variation of "change tab character size", "modify tab arrow span" etc that I could think of. I seem to remember changing the arrow size at some years ago, which is how I got it in my old editor, but I've totally forgotten, and can't find the setting anywhere, neither searching in the VS Code settings, nor on google like I mentioned; the only things that turn up are for changing tab indent size from 2, to 4 spaces etc.
Here are some screenshots of what I mean, from the new VS Code editor and from the one on my older computer:
Current tab arrow size in VS Code:
Old tab arrows size (what I want in my new editor):
This is driving me crazy, and I'm sure it's a simple setting somewhere that I'm missing. Any help would be appreciated!
Edit: In case it is relevant, I'm using JetBrains Mono as my font, and its the same version of the font as from my old computer as well, I copied it over and installed it on the new PC.
To my shock, the issue resolved itself after rebooting my PC. Once again it would seem that the tried and true "have you tried turning it off and on again" continues to ring true in many cases.
The only explanation I can think of is that perhaps some of the font symbols for whitespace characters weren't fully updated for some reason after installing the JetBrains Mono font, which I had installed earlier the same day, and after rebooting my PC I guess all the characters were fully updated/refreshed, and now the longer arrow is displayed for the tabs; I guess this also means that there is no arrow resizing per se, and the arrow symbol for the tab is simply the font symbol.
In any case, I figured I should write this update as an answer in case something like this happens to anyone else in the future.

Show only trailing whitespace in IntelliJ Idea

So I've recently moved from Eclipse to IntelliJ IDEA (Ultimate Edition) and I'm feeling fussy about whitespace.
At the moment I've set IntelliJ IDEA to show me whitespace, and it looks like this:
Eclipse would show the same code block like this:
Is there anyway I can make IntelliJ IDEA only show trailing whitespace, just like Eclipse can?
Most recent IntelliJ IDEA versions do support showing only trailing whitespaces:
Original answer from 2013:
IDEA has no this feature, but you can enable an option to strip trailing whitespace on all lines automatically and forget about this problem.
I would like to extend the existing answers.
As already mentioned, you can now show trailing whitespaces only (Settings → Editor → General → Appearance → Show whitespaces).
Unfortunately, in the Dracula theme those whitespaces are barely visible. What you can do, though, is to pick a better, more distinct, color (Settings → Editor → Colors & Fonts → General; then pick Text and Whitespaces). For some reason, you cannot change the background color which would be a great help.
As the question and the accepted answer are a little old, it's worth mentioning that recent versions of IntelliJ IDEA (only sure about v15) do support showing trailing whitespace only.
The setting can be found in Settings → Editor → General → Appearance → Show whitespaces. The options are Leading / Inner / Trailing.
I came upon this question searching for more granular whitespaces settings (e.g. show only spaces) and thought this clarification would help others.

PHPEclipse weird highlight

This is not a technical problem, but very annoying.
Does anyone know how to turn off or change the color for the name highlight in phpEclipse?
I use white-on-black scheme and this highlight has a white background which makes it unreadable and very ugly.
To better explain which highlight I'm refering to, it's when I move the cursor to a variable/function/method/constant, all other places that name is typed get highlighted.
I've spent a few days going thru the settings many, many times and I haven't found one that changes that specific annoying highligh.
Anyone? please? :)
For Java in Eclipse it is:
Window > Preferences > Java > Editor > Mark Occurrences.
My ruby plug-in has the same option. Do a search in the preferences window for 'Mark Occurrences' and hopefully the php plug-in has the same option.
Thanks, that was it, Mark Occurences.
When I searched thru the options I was looking for color pickers instead of checkboxes :)
It would be nicer to be able to change the highlight color for that, but even removing it is of huge help.
From Eclipse, go to Window > Preference, use the filter field ("type filter text") to search for "color". It will show all the config options related to the colors.
I suppose it's not a problem with phpEclipse, but an incompatibility with another Eclipse plugin.
PS: When you fix the problem please tell us what that setting!