TrailingSpaces icon indicating copy to clipboard operation
TrailingSpaces copied to clipboard

Trim spaces across all files in a folder

Open simonewebdesign opened this issue 10 years ago • 2 comments

I'd love to remove all trailing spaces for a folder, possibly by just right clicking on the folder itself. Is that possible?

simonewebdesign avatar Jun 30 '14 09:06 simonewebdesign

I would like this option as well. Maybe just bind it to 'Save All' like it happens to 'Save' at the moment.

gtiele avatar Jan 08 '15 10:01 gtiele

I have been dying for this feature for years!

  • Annoying when you take over a project that is not using "delete on save" and as you start working on it you will see many git commits with "deleted trailing spaces"
  • You also starts to think "did I make any changes to this at all or was it just whitespace? should I ignore it to not cluter up unnecessary git commits...?"
  • Just doing one super commit to the entire project to clean up everything would be AWESOME

Would also help to ignore feature git conflicts if you do it once when it's safe to do so Found this in the meanwhile: How to remove trailing whitespaces for multiple files

jimmywarting avatar Apr 04 '16 11:04 jimmywarting