This project has moved and is read-only. For the latest updates, please go here.

Trimming trailing spaces in VS 2013

Mar 1, 2014 at 5:16 PM
Is there a way I can trim trailing whitespace when python coding in Visual Studio 2013 with Python Tools? Codemaid doesn't have an option for .py files and the only other option I can think of is to open it in notepad++ and trim the trailing whitespace there.
Mar 1, 2014 at 6:04 PM
I normally use find/replace for this. Enable regular expressions (Alt+E should work in any of VS's replace dialogs, regardless of version) and replace \s+$ with nothing.