Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: I turned on hidden characters now I can't turn off

Tags:

eclipse

Somehow I've turned on hidden characters in Eclipse. It's not the "whitespace" characters in the general editor preferences. When turned on, it adds another layer of hidden characters over the existing ones.

Then I have things like

\r\n

Does anyone know what these are and how to remove them?

like image 293
Brett Avatar asked Feb 24 '10 23:02

Brett


People also ask

How do you reveal hidden characters?

Pressing " Ctrl+Shift+W " (or the assigned keyboard shortcut) will now invoke the " View | Editor | Hidden Characters " main menu option.


1 Answers

It is under Preferences > General > Editors > Text Editors. There is a checkbox labeled "Show whitespace characters". If you uncheck this the editor switches back to normal.

If you click on the "whitespace characters" link in this line you will get a popup window, in which you can define which characters eclipse is supposed to consider as whitespace characters.

In this popup window you also get the option to define the transparency in which each whitespace character is displayed in the editor, which you can use to (indirectly) change their foreground colour. I'm just mentioning it here, because it took me about half an hour to find this setting! ;-)

like image 192
Sandkastenliga Avatar answered Oct 07 '22 16:10

Sandkastenliga