问题
As best as I can tell, Visual Studio 2019 completely removed the ability to jump to matching brace.
I tried the hotkey I've been using for years (Ctrl-]) and it changes indent instead (why would I need that? This is C#, not Python). I also tried looking up the KeyMap (Environment->Keyboard) setting and searching for match, and there was nothing relevant. As far as I can tell, Microsoft has completely removed this feature, but I wanted to confirm that Fattie and I are not the only ones with this problem. Perhaps we can collect enough upset programmers to storm Microsoft's Castle...
(for reference, here is the question for VS 2008 whose answer no longer works)
回答1:
The control is still there.
Go to Tools -> Options -> Environment -> Keyboard and lookup Edit.GotoBrace
to see the current key combination for this feature:
You can set the key combination from the pictured menu.
来源:https://stackoverflow.com/questions/59183422/how-do-i-jump-to-matching-brace-in-vs-2019