1. Click Settings in the lower left corner and select Setting
2. Click Suggestions under Text Editor and remove the duplicate of Suggest. Select the box
3. Click the Settings option under File
4. Select Files and click Edit in settings .json option
5. Add html content in associations
6. Enter html content and it will be automatically added All tagged
Recommended tutorial: vscode tutorial
The above is the detailed content of Solution to the problem that vscode cannot automatically complete html tags. For more information, please follow other related articles on the PHP Chinese website!