Home >Development Tools >VSCode >vscode enables quick viewing and repair of vue errors
Install the vscode eslint plug-in, which can automatically detect code that does not comply with the specification. It will take effect after restarting the software.
As shown below, you can also prompt an error when the mouse passes over it
##Then open the file->Preferences-> ;Settings, search for eslint; we found that the automatic repair function is turned off by default. We enter the automatically repaired json configuration data in the user settings on the right, and the automatic repair function is turned on Open the error page again and perform the save (ctrl s) operation. eslint errors will be automatically recovered. Recommended related articles and tutorials:The above is the detailed content of vscode enables quick viewing and repair of vue errors. For more information, please follow other related articles on the PHP Chinese website!