function x()
{
// < 直接顶这里了 $ctrl+/注释
// $ctrl+/注释 <-怎么在缩进内进行注释
}
1
dzdh OP 自问自答:
安装中文语言包后。 设置->编辑器->代码样式->PHP->代码生成->注释的代码。取消勾选。 |
2
Rache1 2021 年 5 月 8 日
File | Settings | Editor | Code Style | PHP
Code Generation | Comment Code 取消这两个的勾选,先写内容再按快捷键注释 |
3
Rache1 2021 年 5 月 8 日 File | Settings | Editor | Code Style | PHP
Wrapping and Braces | Keep when reformatting | Comment at first column 取消勾选 |