visual-studio - Visual Studio 2017 SQL editor how to change keyboard shortcut to execute selection
问题描述
Using Visual Studio 2017, if I open a .SQL file and connect to an instance of SQL Server, what is the name of the keyboard short to change that executes the statement. Currently, if I hover over the green arrow, I see "Ctl+Shift+E", but I want it to be just Ctl+E, just as I have in SSMS.
I changed the keyboard shortcut for what I thought would be the command - SQL.TSqlEditorExecuteQuery and set it to Ctl+E, restarted VS yet the keyboard combination Ctl+E still does not respond and instead prompts me "(Ctl+E) was pressed. Waiting for second key of chord..."
解决方案
The shortcut you are referring to (Ctrl+Shift+E) is: TSql Editor Execute Query
Here is how you can change shortcut keys:
On the menu bar, choose Tools, Options.
Expand the Environment folder, and then choose Keyboard.
Reference:
推荐阅读
- rabbitmq - Keda - RabbitMQ - 队列中的消息“就绪”时未触发缩放作业
- r - 棒棒糖图,镜像在 R 中的两个轴上
- sql - 什么是过滤器下推优化?
- c# - NLog 在 Windows 服务托管的 WCF 服务中不起作用
- mongodb - 或 mongodb 中的运算符
- testing - 如何拦截来自 Quarkus/Camel 的日志消息以进行测试?
- node.js - 视频不应在 NodeJs 中下载
- swift - swiftui:详细视图在切换到正确的样式(有延迟)之前使用错误的列表样式(其父样式)
- python - 无法运行 EfficientNet 模型来训练 4 类
- amazon-web-services - 存储修改限制?