问题描述
是否有键盘快捷键可让您轻松地在Visual Studio(2008)中更改生成配置"(例如,从调试"更改为发布")?
Is there a keyboard shortcut that allows you to easily change Build Configuration (say, from Debug to Release) in Visual Studio (2008)?
在标准工具栏"中有一个下拉菜单,可以在其中轻松地在构建配置"之间进行更改,但是我只知道如何使用鼠标进行访问.
In the Standard Toolbar there is a drop-down where one can easily change between Build Configurations, but I only know how to access it with my mouse.
是否可以通过键盘简单地完成此操作?
Is there an easy way this can be done via the keyboard?
推荐答案
您可以通过工具"->选项"->环境"->键盘"对话框来设置按键组合. Build.SolutionConfigurations命令将重点放在构建配置下拉列表上,因此您可以使用箭头键轻松更改配置.另外,Build.SolutionPlatforms选择平台"下拉菜单.唯一的缺点是将焦点从先前选择的内容中移开.
You can set up a key combo through the Tools -> Options -> Environment -> Keyboard dialog. The Build.SolutionConfigurations command will put your focus on the build configuration drop down so you can easily change the configuration with the arrow keys. Additionally the Build.SolutionPlatforms selects the Platform drop down. The only drawback is that focus will be taken away from whatever was previously selected.
这篇关于键盘快捷键,用于在Visual Studio中的“调试"和“发布"模式之间切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!