RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

remove trailing whitespace

my recent post remove trailing whitespace tells you don’t make noises in git commits.

Comments

Does anybody have a script for doing this project-wide?

I’d love to get our whole team using this plugin, but unless we run something project-wide first, we’re going to end up with dozens of tab-to-space changes any time we make a single change to an existing file, which adds a lot of noise to our diffs.

This, IMO, should be a precommit hook.

Yeah, having used the plugin for a few hours today, I think I agree. Saving a 2000 line file locks up my TextMate for a few seconds, which feel like minutes when you’re used to flying around in TM.

Glad that RubyMine does this by default :)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in