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?

Asked By: vinodkone

||

Answers:

Check in:

Preferences > PyDev > Editor > Code Style > Code Formatter

and check the “Right trim lines?” check box.

Answered By: TorelTwiddler

i stumbled accros this usefull [site][1]

[1]: http://andrei.gmxhome.de/anyedit/ hope this could help

Answered By: LPunker
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.