Ctrl+E, Ctrl+D to format the entire document.
Ctrl+E, Ctrl+F to format the selection.
本文介绍了使用 VSCode 编辑器时常用的格式化代码快捷键,包括整篇文档格式化及选中部分格式化的操作方式。
1. Format
Ctrl + K + D (Entire document)
Ctrl + K + F (Selection only)
or
|
Ctrl+E, Ctrl+D to format the entire document. Ctrl+E, Ctrl+F to format the selection. |

被折叠的 条评论
为什么被折叠?