Reputation: 2381
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.
(for reference, here is the question for VS 2008 whose answer no longer works because the default keyboard shortcut has changed.)
EDIT: The setting still exists, but has been renamed to not contain the all-important keyword "match". See accepted answer.
Upvotes: 2
Views: 1808
Reputation: 59
On a Finnish/Swedish keyboard the Edit.GotoBrace field is mapped to Ctrl+Å
Upvotes: 0
Reputation: 21
just for the ones among us with non-us keyboard. On my keyboard, I need to press 'AltGr' to access "]". Therefore Ctrl+] doesn't work. Interestingly, VS has already compensated for that problem and changed the hotkey to Ctrl+`, which works nicely for me. You just need to know the hotkey has changed (depending on your keyboard).
Hope this saved a few minutes of your time ;) Regards, Eleusius.
Upvotes: 2
Reputation: 1205
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.
Upvotes: 6