【发布时间】:2021-08-31 12:38:30
【问题描述】:
使用 Visual Studio 2019 专业版。 C/C++ 和 C# 代码有一个不错的键盘快捷键,可以带您开始/结束大括号。这可以在Options > Environment > Keyboard > Edit.GotoBrace 找到,它在我的安装中配置为Ctrl+]:
if (something)
{ // <= Press CTRL+] here...
SomeFunction();
AnotherFunction();
} // <= ...and get taken here (or vice versa). Nice!
Visual Basic.NET 有类似的东西吗? Edit.GotoBrace 快捷方式不起作用。
If (something) Then ' <= I'd like to press CTRL+] here...
SomeFunction()
AnotherFunction()
End If ' <= ...and be taken here (and vice versa)
【问题讨论】:
标签: vb.net visual-studio visual-studio-2019