vscode-php代码提升及函数跳转
Posted wordblog
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vscode-php代码提升及函数跳转相关的知识,希望对你有一定的参考价值。
安装插件,php intellisense
安装后还要配置一下PHP的运行路径
-
打开扩展
![技术图片](http://upload-images.jianshu.io/upload_images/6323555-c7e9ae508f3be9b1.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/495/format/webp)
- 输入 PHP IntelliSense
![技术图片](http://upload-images.jianshu.io/upload_images/6323555-bd6b9662c25907ee.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/502/format/webp)
- 安装
![技术图片](http://upload-images.jianshu.io/upload_images/6323555-0808cb80a118b135.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/682/format/webp)
- 文件 - 首选项 - 设置 - 扩展 - PHP IntelliSense - 在 settings.json 中编辑
![技术图片](http://upload-images.jianshu.io/upload_images/6323555-78bc8df7db482c8a.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/896/format/webp)
- 配置项中加入 php 可执行文件路径
"php.executablePath":"D:/Work/XAMPP/php/php.exe"
- 重新启动 VSCode
以上是关于vscode-php代码提升及函数跳转的主要内容,如果未能解决你的问题,请参考以下文章