在不在SSMS中工作的括号之间跳转

时间:2017-11-15 19:10:45

标签: sql-server ssms

我正在尝试使用ctrl +]跳转到具有子查询的有效SQL中任何打开大括号的右大括号。它没有做任何事情。关键组合似乎正确映射。使用SSMS 17.3。

任何阿达斯?

enter image description here

1 个答案:

答案 0 :(得分:0)

您确定不需要按住shift键吗? 来自SSMS docs

Text Selection Keyboard Shortcuts
Action                 SQL Server 2017                SQL Server 2008 R2
Move the cursor to the next brace, extending the selection  
                       CTRL+SHIFT+]                   No equivalent

Microsoft IntelliSense Keyboard Shortcuts
Action                      SQL Server 2017 SQL Server 2008 R2
Jump between syntax pairs   CTRL+]          CTRL+]

tools/options/text editor/all languages/general/settings (lower) section/Automatic Brace completion下查看。矿井被填充而不是检查。 可能不会影响您的需求,但可能会因设置而产生一些冲突。 此外,在Transact-SQL语言下,automatic brace completion选项被禁用。不确定设置是否相关。