Click the 'Settings' button in the lower left corner to enter the settings page
(Recommended tutorial: vscode tutorial )
Click on the header and enter 'eslint' to search for relevant configuration items
Pull down to the Eslint: Enable option, check it, and open the page to see js syntax errors are marked in red
For more programming-related content, please pay attention to the Programming Introduction column on the PHP Chinese website!
The above is the detailed content of vscode opens error prompt. For more information, please follow other related articles on the PHP Chinese website!