Sublime text 2 v2.0.1 build 2217
I’ve noticed that the indentation behavior (reindent function aswell) fails after comment block (at least for PHP syntax).
Right after a comment block which contains brackets, the indentation use the tabs count of the last bracket in the comment block instead of totally ignoring it.
Examples using the reindent function and moving the last bracket of test2 :
function test() {
}
/*
function test2() {
}
*/
function test3() {
}
?>
function test() {
}
/*
function test2() {
}
*/
function test3() {
}
?>
function test() {
}
/*
function test2() {
}
*/
function test3() {
}
?>
I’ve also noticed this with after multiple lines string concatenation in js.
This is really annoying and can totally mess up the code after a “reindent all”.