+2

smart indent on new line after brackets

cresus18 12 years ago 0
Try typing the following then hit the Enter key to insert a new line:

$foo = substr_replace($bar, ' ON(', $pos, $length);

A bug makes your new line start with an extra indentation. If you remove the open bracket within the string in the function call, it will now work as expected.

(Sublime Text 2 build 2181)