Tag Archives: workflow

Wanna get make all your files use spaces for tabs consistently and eliminate trailing whitespace every time you save in sublime? Put this in your user preferences:

1{
2  "font_size": 13.0,
3  "tab_size": 2,
4  "translate_tabs_to_spaces": true,
5  "trim_automatic_white_space": true,
6  "trim_trailing_white_space_on_save": true,
7  "use_tab_stops": true
8}

I absolutely hate trailing whitespace in any of my code. I used to use a plugin that eliminates it when you hit a predefined keystroke, but this is much more convenient.

Also see: Adding a JS build-system to Sublime