电脑固态硬盘废了,重新安装了环境,需要配置下phpstorm的一些默认配置。PhpStorm 2022.2.5
1、代码风格
在 Settings 里直接搜索 Code Style 选择 PHP 进行详细调整
具体路径 Settings -> Editor -> Code Style -> PHP
2、模板注释配置
在 Settings 里直接搜索 Code Template
具体路径 Settings -> Editor -> File and Code Template
找到 Includes 标签,配置 PHP Function Doc Comment 即可