Automatic formatting when visual studio code is saved [solution]

When using visual studio code to develop a React project, the command+scode is automatically formatted when saving the code, and the html code is all messed up. The solution:

  1. Find the VScode plug-in extension, you can ctrl+shift+Xcall the extension by pressing
  2. find JS-CS-HTML Formatterdisable
  3. then reboot

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325708487&siteId=291194637