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