如何向 VS 2015 工具栏添加按键 [英] How Do I Add A Keystroke To VS 2015 Toolbar

查看:47
本文介绍了如何向 VS 2015 工具栏添加按键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了一个按键,我想将其创建为 Visual Studio 工具栏上的按钮.如果重要,击键是 Ctrl+r, Ctrl+t.

I've found a keystroke that I'd like to create as a button on my Visual Studio toolbar. If it matters, the keystroke is Ctrl+r, Ctrl+t.

此命令未列在添加/删除按钮 => 自定义 => 工具栏 => 添加命令"对话框中.

This command is not listed in the "Add/Remove Buttons => Customize => Toolbar => Add Command" dialog.

有谁知道如何根据按键添加工具栏按钮?

Does anyone know how to add a toolbar button based on a keystroke?

推荐答案

您无法向 VS 工具栏添加按键.因此,首先您必须在 Visual Studio 键盘选项中找到命令名称:

You can't add a keystroke to the VS toolbar. So, first you have to find the command name in Visual Studio keyboard options:

这篇关于如何向 VS 2015 工具栏添加按键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆