Sublime Text 2 Preferences.
NOTE: .json
extensions added for Gist syntax highlighting. It should be stripped.
Open the following menu item: Sublime Text 2 -> Preferences -> Settings -- User
and add the content of the Preferences.sublime-settings
file. Tweak as you see fit. The save_on_focus_lost
setting is really nice for Continuous Testing. For example, if you have an SBT ~test
session running in a terminal, then when you're finish editing your code just cmd+tab
over and your test starts compiling/executing. Saucy.
For the formatting key mappings, open the following menu item: Sublime Text 2 -> Preferences -> Key Bindings -- User
and add the content of the Default (OSX).sublime-keymap -- User
file. ctrl+f
will reindent your current selection. ctrl+shift+f
will reindent the whole file.