【发布时间】:2014-04-20 22:59:29
【问题描述】:
如何配置 PhpStorm 在触发格式化时将括号放在同一行(Ctrl + Alt + L)?它目前以这种方式格式化:
function()
{
}
我希望它像这样格式化
function() {
}
【问题讨论】:
标签: phpstorm
如何配置 PhpStorm 在触发格式化时将括号放在同一行(Ctrl + Alt + L)?它目前以这种方式格式化:
function()
{
}
我希望它像这样格式化
function() {
}
【问题讨论】:
标签: phpstorm
Settings/PreferencesEditor | Code Style | PHP | Wrapping and Braces Braces placement | In function declaration = End of line【讨论】: