Is there a way to improve Sublime text 2's curly bracket wrapping? For example, I have the following PHP code:
$isThisPointless = true;
$uselessString = 'Meh.';
$uselessInt = 83;
Let's say I want to wrap it inside an if statement. So I go ahead, select the code and press '{' and Sublime Text magically wraps it in curly brackets. Great! Only, indentation is a mess. now my code is more like:
{$isThisPointless = true;
$uselessString = 'Meh.';
$uselessInt = 83;}
While I was expecting to achieve this instead:
{
$isThisPointless = true;
$uselessString = 'Meh.';
$uselessInt = 83;
}
Google search suggested the bracketeer plugin. I tried using it and while it removes the ugly indentation, it still doesn't indent the block the way I want.
Is there a way to make Sublime Text do this?