[英]PhpStorm - parenthesis formatting on the same line
How to configure PhpStorm to place parenthesis on the same line when formatting is triggered ( Ctrl + Alt + L )?如何配置 PhpStorm 在触发格式化时将括号放在同一行( Ctrl + Alt + L )? It currently formats in this way:
它目前以这种方式格式化:
function()
{
}
and I want it to format like that我希望它像这样格式化
function() {
}
Settings/Preferences
Editor | Code Style | PHP | Wrapping and Braces
Braces placement | In function declaration = End of line
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.