作者:重孙女俘虏 | 来源:互联网 | 2023-02-02 17:43
当我使用注释快捷方式(Ctrl + /)时,斜杠放在行的开头,如下所示:
protected function before()
{
// echo "(before) ";
}
但是,我希望这种行为:
protected function before()
{
//echo "(before) ";
}
如何配置PhpStorm以使用后一种方法?
1> LazyOne..:
Settings/Preferences
Editor | Code Style | PHP
Other
选项卡和取消选中Line comments at first column
选项
![在此输入图像描述](https://img.php1.cn/3cd4a/9b0d/ae9/2d998ad7838fbf16.jpeg)