Per project Sublime Text settings

As a contractor switching between clients on a regular basis means that I encounter a wide range of different code formatting preferences such as tabs vs spaces, max line widths etc. I always do my best to fit in with the coding guidelines of each client so I've been finding the per project settings overrides in Sublime Text pretty handy. As well as defining settings in your "Settings - User" file, you can also put in in your Foo.sublime-project file so that they only apply to that project. For example:

It's particularly handy for turning off things like whitespace trimming when working on existing code that is full of trailing whitespaces. There's nothing more annoying than a diff with 100s of lines of whitespaces changes masking the actual code changes!

Tags