Home  >  Article  >  Development Tools  >  What to do if vscode js is formatted incorrectly

What to do if vscode js is formatted incorrectly

藏色散人
藏色散人Original
2020-04-02 09:12:233571browse

What to do if vscode js is formatted incorrectly

What should I do if the vscode js format is incorrect?

Solution to import confusion in vscode formatting ES6

Add

"beautify.config": {
   "brace_style": "collapse,preserve-inline"
}

in setting.json Recommended learning: vscode tutorial

The above is the detailed content of What to do if vscode js is formatted incorrectly. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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