1. First of all, vscode itself does not have the option to create a new project, so you must first create an empty folder
2. Then open vscode, and then open the folder in vscode, so that you can create the project
3. As shown in the figure, select the empty file created before as the file of vscode Just click the folder
4. As shown in the picture, the folder has been selected, but it is not complete at this time. We need to configure it
5. Ctrl shift p, then enter task, click the first option to configure
6, as shown in the figure, it will also jump , select other again... to automatically generate the configuration file
7. As shown in the figure, there are more json type configuration files in the original empty folder. This is a Complete project folder
Recommended tutorial:vscode tutorial
The above is the detailed content of How to create a new project in vscode. For more information, please follow other related articles on the PHP Chinese website!