How to remove trailing whitespace in PyDev plugin for Eclipse
Question:
Ideally, eclipse should remove all trailing whitespace when I save the file. I know there is option for this in C++/Java plugins for eclipse, but I couldnt find one for PyDev. Is there one? If not, whats the easiest way to achieve this?
Answers:
Check in:
Preferences > PyDev > Editor > Code Style > Code Formatter
and check the “Right trim lines?” check box.
i stumbled accros this usefull [site][1]
[1]: http://andrei.gmxhome.de/anyedit/ hope this could help
Ideally, eclipse should remove all trailing whitespace when I save the file. I know there is option for this in C++/Java plugins for eclipse, but I couldnt find one for PyDev. Is there one? If not, whats the easiest way to achieve this?
Check in:
Preferences > PyDev > Editor > Code Style > Code Formatter
and check the “Right trim lines?” check box.
i stumbled accros this usefull [site][1]
[1]: http://andrei.gmxhome.de/anyedit/ hope this could help