Home > Article > Software Tutorial > Solution: How to enable Vscode to automatically format files when saving them
Some users found that the file was automatically formatted when saving files using Vscode. So what should they do if the file saved by Vscode is automatically formatted? Next, the editor will introduce to you in detail the solution to the automatic formatting of the file saved by Vscode. Method, if you encounter the same problem, come and take a look!
1. Double-click to open the software and click the extension icon in the left toolbar.
2. Then enter "js" in the search box above the pop-up window, find the installed "js-css-html-formatter" plug-in, and then add it Disabled.
3. The problem can be solved by disabling "js-css-html-formatter".
The above is the detailed content of Solution: How to enable Vscode to automatically format files when saving them. For more information, please follow other related articles on the PHP Chinese website!