First open the settings, as shown in the figure:
Then search prevent and uncheck this item
At this step, if not successful, continue with the following steps:
At this time, click the file type in the lower right corner
Select the html type. After conversion, click the type selection in the lower right corner to change to automatic detection.
Recommended related articles and tutorials:vscode tutorial
The above is the detailed content of Solution to the problem that vscode has no syntax prompts. For more information, please follow other related articles on the PHP Chinese website!