1. 使用括号匹配选项:可以使用Ctrl + Shift + \ 或者Ctrl + Shift + P 打开命令面板,然后输入”Toggle bracket matching”,按下回车键。这将会在光标所在位置的括号上显示一个光标,从而找到与之配对的括号。 2. 使用括号高亮:在VS Code中,默认情况下会对配对的括号进行高亮显示。当你将光标放在某个括号上时,...
Ctrl+Shift+\ Jump to matching bracket 跳转到匹配的括号,括号多了难免混淆,用这个来检查; Ctrl+] / [ Indent/outdent line 在行内左右缩进; Home / End Go to beginning/end of line 光标所在行的行首(home键),行尾(end键); Ctrl+Home Go to beginning of file 把光标移动到文件头部; Ctrl+End Go...
fn←/fn→:Go to beginning/end of line 到该行的最左面和最右面 ⌘D:Delete line 删除整行(正常vscode为⇧⌘K为Delete line) ⌘Enter / ⇧⌘Enter :Insert line below/above 低于/高于插入行 ⇧⌘\ :Jump to matching bracket 跳转到匹配括号 ⌘] / ⌘[:Indent/outdent line 缩进/减少...
fn←/fn→:Go to beginning/end of line 到该行的最左面和最右面 ⌘D:Delete line 删除整行(正常vscode为⇧⌘K为Delete line) ⌘Enter / ⇧⌘Enter :Insert line below/above 低于/高于插入行 ⇧⌘\ :Jump to matching bracket 跳转到匹配括号 ⌘] / ⌘[:Indent/outdent line 缩进/减少...
Ctrl+EndGo to end of file 跳至文件结尾 Ctrl+↑ / ↓Scroll line up/down 滚动代码(而不是移动光标) Alt+PgUp / PgDnScroll page up/down 以页为单位滚动(不移动光标) Ctrl+Shift+\Jump to matching bracket 跳至对应括号处 Ctrl+] / [Indent/outdent line 向右/左缩进(无论光标在哪儿,无须选中整体...
Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl+] / [ 缩进/缩进行 Indent/outdent line Home 转到行首 Go to beginning of line End 转到行尾 Go to end of line Ctrl+Home 转到文件开头 Go to beginning of file Ctrl+End 转到文件末尾 Go to end of file Ctrl+↑ / ↓ 向上/向下...
Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl+] / [ 缩进/缩进行 Indent/outdent line Home 转到行首 Go to beginning of line End 转到行尾 Go to end of line Ctrl+Home 转到文件开头 Go to beginning of file Ctrl+End 转到文件末尾 Go to end of file Ctrl+↑ / ↓ 向上/向下...
Ctrl+Shift+\跳到匹配的括号 Jump to matching bracket Ctrl+] / [缩进/缩进行 Indent/outdent lineHome转到行首 Go to beginning of lineEnd转到行尾 Go to end of line Ctrl+Home转到文件开头 Go to beginning of file Ctrl+End转到文件末尾 Go to end of file ...
Jump to matching bracket 跳到匹配的括号 Ctrl+]/ [ Indent/outdent line 缩进、缩进行 Home / End Go to beginning/end of line 转到行首/行尾 Ctrl+ Home Go to beginning of file 转到文件开头 CtrI+ End Go to end of file 转到文件末尾 ...
Ctrl+Shift+\ 跳到匹配的括号 Jump to matching bracket Ctrl+]/[缩进/缩进行 Indent/outdent line Home 转到行首 Go to beginningofline End 转到行尾 Go to endofline Ctrl+Home 转到文件开头 Go to beginningoffile Ctrl+End 转到文件末尾 Go to endoffile ...