本文介绍了如何在VS 2019中跳转到匹配括号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

据我所知,Visual Studio 2019完全删除了跳转到匹配括号的功能.

As best as I can tell, Visual Studio 2019 completely removed the ability to jump to matching brace.

我尝试了多年使用的热键(Ctrl-]),它改为缩进(为什么要用缩进键?这是C#,而不是Python).我还尝试查找KeyMap(环境->键盘)设置并搜索匹配项,没有任何相关之处.据我所知,Microsoft已完全删除了此功能,但我想确认 Fattie 和我不是只有那些有这个问题的人.

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.

(作为参考,这是VS 2008的问题,其答案不再有效因为默认的键盘快捷键已更改.)

(for reference, here is the question for VS 2008 whose answer no longer works because the default keyboard shortcut has changed.)

设置仍然存在,但已重命名为不包含所有重要的关键字匹配".查看接受的答案.

The setting still exists, but has been renamed to not contain the all-important keyword "match". See accepted answer.

推荐答案

控件仍然存在.

转到工具->选项->环境->键盘并查找Edit.GotoBrace以查看此功能的当前组合键:

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.

这篇关于如何在VS 2019中跳转到匹配括号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 01:09