大括号放置在PhpStorm中的对象定义中

时间:2015-05-20 14:32:29

标签: javascript phpstorm webstorm code-formatting

在这种情况下,有没有办法让PhpStorm在新行上放置大括号?

var test = {
                '*':
                {
                    // something
                }
            }

而不是制作(重新格式化后):

var test = {
                '*': {
                    // something
                }
            }

1 个答案:

答案 0 :(得分:2)

目前无法实现。请投票给WEB-15263和链接票