Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 793 Bytes

Code Formatting TextMate Bundle

This is a simple TextMate bundle that strips out trailing whitespaces and replaces tabs with spaces whenever a file is saved. Based on work done by Viget Labs developers.


mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git:// Code\ Formatting.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'


codeformatting-tmbundle is released under the MIT license. See MIT LICENSE.