Sublime Forum

PHP Switch Case Indent

#1

I wonder why in sublime text 2 the switch case does not indent properly?
Normal I like this:
switch () {
case ‘…’:
…;
…;
break;

}
But in sublime text 2 it’s like:
switch () {
case ‘…’:
…;
…;
break;

}

How can we fix this. And one more question: How can I specify which tags/sub-tags in HTML do not indent?
like

In sublime text, the

in tag is indented, while I don’t want that.
0 Likes