且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为新SQL查询创建快捷方式

更新时间:2023-01-31 11:10:54

您好,


欢迎来到MSDN论坛。


>>命令是什么以及我应该在"使用新的快捷方式"中选择什么;


目标是创建在SQL Server对象资源管理器中创建新查询的快捷方式,因此通过输入全部或部分名称来过滤命令列表。命令。


选择"OthercontextMenu.SqlServerObjectExplorerContextMenu.SENewQuery"命令,建议在"使用新快捷方式"中选择"全局",无论在哪个窗口中你打开视觉工作室,你可以通过快捷方式获得"新查询"窗口。如果
你在"使用新的快捷方式"中选择其他像XAML编辑器,只有在Visual Studio中打开XAML编辑器时才会通过快捷方式打开"新查询"窗口。




祝你好运,


Joyce


Trying to create a shortcut for creating a new SQL query when focus is in SQL Server Explorer.
Been playing around in Tools\Options\Environment\Keyboard but having been lucky so fare.

What's the command and what should I select in "Use new shortcut in"?

Using SV2017

Hi,

Welcome to MSDN forum.

>>What's the command and what should I select in "Use new shortcut in"?

The goal is to create shortcut for creating a new query in SQL Server Object Explorer, so filter the list of commands by entering all or part of the name of the command.

Select "OthercontextMenu.SqlServerObjectExplorerContextMenu.SENewQuery" command and it is recommend to select "Global" in "Use new shortcut in", no matter what windows in visual studio you open, you can get "new query "window through shortcut. If you select the others like XAML Editor in "Use new shortcut in", the "new query" window will only be opened through shortcut when a XAML Editor opened in visual studio.

Best regards,

Joyce