Last active
December 19, 2015 12:59
-
-
Save jvlahos/5958655 to your computer and use it in GitHub Desktop.
Some Sublime Text settings worth taking a look at.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//Note: this isn't a Javascript file. It's a .sublime-settings file | |
//Add whatever you want to user settings, Sublime Text 2 > Preferences > Settings - User | |
//All settings (of which these are copied from) are at Sublime Text 2 > Preferences > Settings - Default | |
// I've read some recent best practice docs that 2-space indentation is better than tabs | |
// This setting translates tab presses to spaces for you | |
// 2 spaces doesn't feel like much though... not sure about this | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
// I don't know if I could handle this.. | |
// But maybe with all the version control we have in place, it's not a half bad idea. | |
// This setting will save files automatically when you leave them (by switching tabs or applications) | |
// Basically, never hit Cmd-S again if you want | |
"save_on_focus_lost": true, | |
// Hide folders and files from sight from the left navigation menu | |
// Example: Add .sass-cache to folder_exclude_patterns setting | |
// Then, .sass-cache folder won't appear in the left folder menu | |
// Maybe you don't want to see the output CSS folders in your SASS project? | |
// Add whatever folders you want to hide | |
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", ".sass-cache"], | |
// A similar option, file_exclude_patterns, can let you hide any file | |
// Maybe you don't want to see config.rb all the time or something like that? Add it to this list | |
// Add whatever files you want to hide | |
"file_exclude_patterns": ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db"], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://editorconfig.org/
This might be worth a look too