Skip to content

Instantly share code, notes, and snippets.

@firewalker06
Created March 27, 2014 13:10
Show Gist options
  • Save firewalker06/9807249 to your computer and use it in GitHub Desktop.
Save firewalker06/9807249 to your computer and use it in GitHub Desktop.
User and syntax specifics for Sublime Text
{
// http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html
"tab_size": 2,
"translate_tabs_to_spaces": true
}
{
// http://javascript.crockford.com/code.html
"tab_size": 4,
"translate_tabs_to_spaces": true
}
{
// http://www.php-fig.org/psr/psr-2/
"tab_size": 4,
"translate_tabs_to_spaces": true
}
{
// http://www.php-fig.org/psr/psr-2/
"tab_size": 4,
"translate_tabs_to_spaces": true
}
{
// It's important to know your indent spaces
"draw_white_space": "all",
// Make sure .git or cache files such as .sass-cache are excluded
"folder_exclude_patterns":
[
".*"
],
// It's good to know that all your files are saved properly instead
// of leaving in Sublime's temporary files
"hot_exit": false,
"remember_open_files": false,
// Sometimes it doesn't do as advertised, so leave it off
"smart_indent": false,
// What indent size do you use most? Always use spaces!
"tab_size": 4,
"translate_tabs_to_spaces": true,
// Personal preference
"word_wrap": "false",
// Set to true to ensure the last line of the file ends in a newline
// character when saving
"ensure_newline_at_eof_on_save": true,
"trim_trailing_white_space_on_save": true,
}
{
// http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html
"tab_size": 2,
"translate_tabs_to_spaces": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment