Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

view tabs in eclipse

Tags:

I need to view the tabs and spaces and CRLF in python source code in eclipse the same way we could see them in notepad++, Now I have to edit in notepad++ and run in eclipse. Not a neat way but eclipse does regular update of the changes of same file in other editor.

like image 280
dhaval Avatar asked Jun 09 '09 16:06

dhaval


1 Answers

This should be cover with the "Show invisible" option

show whitespace

From Eclipse3.3:

It is now possible to see the invisible whitespace characters in textual editors:

This feature can either be controlled via "General > Editors > Text Editors > Show whitespace characters" preference, or via the tool bar button when the Editor Presentation action set is enabled.

I did not tried it with PyDev, but its editor should be a "textual editor", and the option should work.


when I press TAB it creates spaces instead of >> for tabs

Check the option "General > Editors > Text Editors > Insert spaces for tabs":
if unchecked, it will display tabs, not space.

like image 90
VonC Avatar answered Sep 17 '22 21:09

VonC