VS Code 快捷键

F12:跳转定义

CTRL+SHIFT+O:跳转符号
CTRL+T:跳转符号

Shift+F12:Find All References
Alt+F12:Peek Definition
Ctrl+Shift+:jump to the matching bracket

Ctrl+K Z:Zen Mode lets you focus on your code by hiding all UI except the editor (no Activity Bar, Status Bar, Sidebar and Panel)Double Esc exits Zen Mode

Ctrl+:split the active editor into two.
Ctrl+1,2,3:多窗口编辑

Ctrl+P:Quick Open file list

Shift+Alt+click : Hold Shift and Alt while dragging to do column selection

Ctrl+Tab:view a list of all files open in an editor group

F1+formate:格式化代码


切换文件tab的两种方法,
1,CTRL+P,打文件名
2,CTRL+TAB
3,ALT+LEFT,ALT+RIGHT

Snippets show in IntelliSense (Ctrl+Space) mixed with other suggestions as well as in a dedicated snippet picker (F1 > Insert Snippet). There is also support for tab-completion: Enable it with "editor.tabCompletion": true, type a snippet prefix, and press kb(insertSnippet) to insert a snippet.

原文地址:https://www.cnblogs.com/wangjixianyun/p/6473627.html