PhpStorm 如何设置在开括号样式后使用 COMPACTED Allman 同一行
How PhpStorm setting to use COMPACTED Allman same line after open braces style
我希望 PHP 格式停止在 类,functions,if,do,while,for,foreach.
的左大括号后添加换行符
class Foo
{ var $numbers = array("one", "two", "three", "four", "five", "six");
const FIRST = 'first';
const Z = -1;
function bar($v, $w = "a")
{ $y = $w;
if(true)
{ $y = 10;
据我所知,没有这样的选项。您可以将此作为功能请求提交到 JetBrains 问题跟踪器 https://youtrack.jetbrains.com/newIssue
我希望 PHP 格式停止在 类,functions,if,do,while,for,foreach.
的左大括号后添加换行符class Foo
{ var $numbers = array("one", "two", "three", "four", "five", "six");
const FIRST = 'first';
const Z = -1;
function bar($v, $w = "a")
{ $y = $w;
if(true)
{ $y = 10;
据我所知,没有这样的选项。您可以将此作为功能请求提交到 JetBrains 问题跟踪器 https://youtrack.jetbrains.com/newIssue