It’s always interesting to find out how people set up their coding environment. To be honest I don’t think I’ll ever get the perfect setup but what I currently have does a pretty good job.
Tweaking your Sublime Text settings is relatively easy but can be a little daunting if you are fan of a GUI. Within Sublime all settings are handled by a simple JSON file. They can be found either under the Sublime Text menu (Sublime Text 2 -> Preferences -> Settings – User) or by the shortcut (Command + .).
User Settings
So these are my current settings. All of them are pretty self-explanatory.
{
"auto_complete_commit_on_tab": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai Soda.tmTheme",
"draw_minimap_border": true,
"draw_white_space": "all",
"font_face": "monaco",
"font_size": 14,
"highlight_line": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"shift_tab_unindent": true,
"tab_size": 4,
"theme": "Soda Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true,
"save_on_focus_lost": true,
"bold_folder_labels": true,
"highlight_modified_tabs": true,
"scroll_past_end": true,
"wrap_width": 80
}
Theme
I roll with the dark version of the Soda theme with the default Monokai colour scheme.
Packages
Package Control — This package is the package to help install all other packages. Once installed, just open the command palette (Command + Shift + p). Type ‘Package Control’ and choose your desired action.
SideBarEnhancements — Provides enhancements to files and folders. So handy!
GitGutter — This plugin shows an icon in the gutter area indicating whether a line has been inserted, modified or deleted.
SublimeLinter — Inline lint highlighting. Priceless.
Sublime Grunt — Control your Grunt tasks from inside Sublime.
SCSS — SCSS highlighting.
Some handy short-cuts
A small selection of the my most used commands.
Option + Command + .
— Close tag.
Command + p
— Show the “go to anything” palette.
Command + Shift + p
— Show the command palette.
Ctrl + g
— Show the “go to line” palette.
Command + k, Command + b
— Toggle the sidebar.
Ctrl + Shift + Command + f
— Launch distraction-free writing.
Function + f6
— Spell check.
Obviously the above suits my workflow, so take the settings and packages with a grain of salt. But if you have any specific settings or packages that are essential to the way you work, please comment below. You might save me or someone else some time!
I love workflow posts.
Some thoughts to add:
Also great site for reference of available settings:
http://docs.sublimetext.info/en/latest/reference/settings.html
Ohhhh man these are great! Favorite one is the
"bold_folder_labels": true
! No idea that was even an idea of customization. Thanks!Great to see someone elses work process and setup.
Great post! GitGutter and SublimeLinter are awesome. But how did you make them work together? When I change something, the GitGutter indicators hide the ones from SublimeLinter. Do you have the same problem?
Hey Robert,
Unfortunately I don’t sorry, it does the opposite for me — http://jakeyb.com/iQII. If you can’t seem to figure it out maybe submit an issue to the GitHub repo..
Good luck!
I’m using this:
Thanks to Jake and to everyone else who posted their settings! I just started using Sublime Text today (version 3) after using Dreamweaver for so many years and I really like it a lot! Fast and stable and so many customizations! Thanks again everyone!!!