当前位置: 代码迷 >> 综合 >> vscode 提示PHP CS Fixer: executablePath not found
  详细解决方案

vscode 提示PHP CS Fixer: executablePath not found

热度:38   发布时间:2023-12-21 00:58:42.0

PHP CS Fixer是Visual Studio Code常用的插件,主要可以提供代码格式化支持

最近老是提示这个错误,经过排查,是因为安装插件配置php路径的的时候看了一个网上的教程,用了下面这个配置文件

 "php.executablePath": "D:\\phpStudy\\PHPTutorial\\php\\php-7.1.13-nts\\php.exe",

把他改成 

"php.executablePath": "D:/phpStudy/PHPTutorial/php/php-7.1.13-nts/php.exe",

问题就解决了。

 

  相关解决方案