让vscode支持php函数跳转

需要在本地安装PHP环境
Windows直接在path里找到PHP地址
macOS使用whereis php查看安装地址
在vscode中安装扩展插件 PHP IntelliSense
打开vscode配置,在扩展配置中找到PHP IntelliSense的配置
编辑 php.executablePath ,将 null 改为php的安装路径
70012-4m0teis6do9.png

Sitemap · Rss

津ICP备2021004480号-3