问题
In Vi / Vim you can move to a bracket and press % and the editor would move the cursor to the matching bracket. This saved large amounts of time when moving around the large files in the editor. Is there a Visual Studio equivalent?
回答1:
There is a keyboard binding Edit.GotoBrace
which will do what you need.
The default binding is CTRL + ], which you can change here:
Tools -> Options -> Environment -> Keyboard
回答2:
You can press Ctrl + } to move to the matching bracket.
来源:https://stackoverflow.com/questions/2743762/in-the-visual-studio-editor-is-there-a-keyboard-command-to-jump-to-the-matching