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

posted on 2020-04-10 21:11  cutepig  阅读(6048)  评论(0编辑  收藏  举报

导航