Home > Software Tutorial > Computer Software > Solution: How to enable Vscode to automatically format files when saving them

Solution: How to enable Vscode to automatically format files when saving them

WBOY
Release: 2024-01-15 14:24:36
forward
967 people have browsed it

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.

Solution: How to enable Vscode to automatically format files when saving them

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.

Solution: How to enable Vscode to automatically format files when saving them

3. The problem can be solved by disabling "js-css-html-formatter".

Solution: How to enable Vscode to automatically format files when saving them

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!

source:dafanshu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template