score:257

Accepted answer

unfortunately, you can only turn on all invisible (whitespace) characters at the same time. i suggest you file an enhancement request but i doubt they will pick it up.

the text component in eclipse is very complicated as it is and they are not keen on making them even worse.

[update] this has been fixed in eclipse 3.7: go to window > preferences > general > editors > text editors

click on the link "whitespace characters" to fine tune what should be shown.

kudos go to john isaacks

score:1

anyedit scroll all the way down: http://andrei.gmxhome.de/anyedit/examples.html

score:4

i use checkstlye plugin for such a purpose. in checkstyle configuration, i add special regexp rules to detect lines with tabs and then mark such lines as checkstyle error, which is clearly visible in eclipse editor. works fine.

score:25

i would prefer to keep the "show whitespace" button on the toolbar, so that in one click you can toggle it.

go to window -> perspective -> customize perspective and enable to show the button on toolbar.

enter image description here

score:52

navigate to window > preferences > general > editors > text editors

click on the checkbox "show whitespace characters".

enter image description here

thats all.!!!


Related Query

More Query from same tag