+7
Indent for Parenthesis in PHP
It is very common for a closing parenthesis in PHP to indent to the same level as the line above it, but Sublime adds another tab. It would be great if Sublime would move the indent to the same level as the first line.
Kundesupport af UserEcho
Here are some examples of what I believe you mean:
Expected behavior
Actual behavior
A fix is available, but this should really be part of ST2.
As the above link is not available anymore, it’s content here:
Add to your User Keybindings:
Then this file ~/Library/Application Support/Sublime Text 3/Packages/User/Add Line in Braces.sublime-macro with the following content:
Voilà.