Place brace on last line?

Is there a code-style option for both php and js to place the closing brace } at the end of the last line of the code-block?

0
2 comments
Avatar
Permanently deleted user

Only separate settings.
For PHP: Settings | Code Style | PHP | Wrapping and Braces | Braces placement, choose the cases in which you'd like to have the closing brace at the end of line (by default this is all cases except closing braces in class and function declarations).
For JavaScript: Settings | Code Style | JavaScript | Wrapping and Braces | Braces placement.

0
Avatar
Permanently deleted user

Perhaps I am dense, but I cannot see an option to place the closing brace at the end of a line. I only see options for the opening brace?

0

Please sign in to leave a comment.