在VSCode中,当我输入一个括号,例如'(',它会自动创建结束括号:')'。 有没有什么快捷键可以跳转到右括号或圆括号,而不按“结束”键?

我在Sublime Text 2中找到了一种方法,在用户的键绑定中使用正则表达式,但在VSCode中找不到一种方法。


当前回答

对于使用非美国键盘的用户:

File > Preferences > Keyboard Shortcuts. 
(Code > Preferences > Keyboard Shortcuts on Mac)

显示当前键绑定。参见:https://code.visualstudio.com/docs/getstarted/keybindings

其他回答

对于使用非美国键盘的用户:

File > Preferences > Keyboard Shortcuts. 
(Code > Preferences > Keyboard Shortcuts on Mac)

显示当前键绑定。参见:https://code.visualstudio.com/docs/getstarted/keybindings

请使用Control +]将光标放在开始或结束上

快捷方式为:

Ctrl + Shift + \ Windows /英语

Windows -德国Ctrl + Shift + ^

它可能会帮助一些人寻找他们在VS Code中感到舒适和想要使用的快捷方式。我通过这个扩展在VS Code中使用Sublime文本快捷方式。

分机TabOut是我正在寻找的选项。