How do I jump to matching brace in VS 2019?

懵懂的女人 提交于 2019-12-11 14:28:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!