自己摸索出来的,试过了,可以用。
步骤1
下载VS code: https://code.visualstudio.com/Download
![在这里插入图片描述](https://img-blog.csdnimg.cn/75c1132d595646c0a64c81ddaa84e9d4.png)
步骤2
下载phpstudy: https://www.xp.cn/
![在这里插入图片描述](https://img-blog.csdnimg.cn/39da032d546c42a8969b4cfc440d0274.png)
步骤3
phpstudy中的配置
![在这里插入图片描述](https://img-blog.csdnimg.cn/28da569389e64d72ae332c57adf937cd.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/0efd2326342e48a3992761ccec4af057.png)
phpstudy里需要下载的软件
![在这里插入图片描述](https://img-blog.csdnimg.cn/b20ff4e4e72b49f2a02dafc1f79d86bc.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/8b0edb2ca3574070904b41e8f6431a16.png)
步骤4
配置环境变量:此电脑—>右击—>属性—>高级系统设置
![在这里插入图片描述](https://img-blog.csdnimg.cn/c8a05023442248be8a2770e1b8f05f86.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/3c5d45d52602492c808404e4cec7c1e2.png)
步骤5
VS code需要下载的扩展
![在这里插入图片描述](https://img-blog.csdnimg.cn/77a1247a550a473f99937ef71aa075b7.png)
注意
我用的数据库是phpstudy里自带的(下图)
![在这里插入图片描述](https://img-blog.csdnimg.cn/c70d38e2915d48728253e388e66890e2.png)
点击“管理”
![在这里插入图片描述](https://img-blog.csdnimg.cn/4fcf59ba142c4031bae7020011e3b8c5.png)
有啥问题可以留言讨论 (•̀ᴗ• )
我不会总有大佬会!◔.̮◔✧