VSCode如何格式化所有文件

VSCode如何格式化所有文件

You can use a extension called ”Format Files”.

”Use: Open command pallette (Ctrl+Shift+P) & enter "Format Files" Create keybinding to 'editor.action.formatFiles' command. Right click a workspace folder and select 'Format Files' to format all files in directory.”

Source: https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files

ref:

https://stackoverflow.com/questions/43666270/how-do-i-format-all-files-in-a-visual-studio-code-project

原文地址:https://www.cnblogs.com/cutepig/p/12676160.html