I prefer different bracketing/indentation style, mostly I use the Ratliff style: http://en.wikipedia.org/wiki/Indent_style#Ratliff_style – I use it in Javascript, CSS, Less etc. I need auto-indetation, I want to use snippets, but all these features force me to use your indentation style. Though I want the closing bracket to be indented like this:
- Code: Select all
function some(arr) {
var i, str = '';
for (i=1;i<=arr.length;i++) {
str += arr[i] + i;
}
return str;
}
or
- Code: Select all
body {
background: white;
}
Is it possible to work like this with SublimeText? I really don't want to indent each closing bracket manually…