Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show whitespace and tabs but NOT line-break characters?

I'm trying to switch from Komodo to Eclipse.

I can't figure out how to keep line-break characters from being shown in eclipse - looks like they are shown along with tabs and other whitespace characters.

Is there a way to show tabs and other whitespace characters but not line-break characters?

like image 295
Strae Avatar asked Jul 01 '11 12:07

Strae


People also ask

How do I show spaces and tabs in eclipse?

Go to Window->Preferences->General->Editors->Text editors->Show whitespace->Configure visibility, then select checkbox for visible tabs (and trailing spaces). Newer versions of eclipse (from around version 3.5. 2): go to Window->Preferences->General->Editors->Text Editors, and select "Insert spaces for tabs".

Which of the following is not an example of whitespace characters?

Char 127 is the Del character and it is NOT a whitespace character.


2 Answers

If you have Eclipse 3.7 you can disable them.

Preferences > General > Editors > Text Editors -- Look for 'Show whitespace characters' and click on the link 'whitespace characters'.

like image 144
Deepak Azad Avatar answered Sep 22 '22 16:09

Deepak Azad


Or you can directly click on the shortcut:enter image description here

like image 23
Sachin Chavan Avatar answered Sep 23 '22 16:09

Sachin Chavan