Change shortcut for 'switch to markup' in Visual Studio 2010

不打扰是莪最后的温柔 提交于 2019-12-20 09:06:21

问题


How do I switch the shortcut for 'toggle to markup'?

Shift + F7 is toggle to designer.

In Visual Studio 2008 I can toggle between the code-behind and the markup with F7. I got used to it and want to have the same shortcut in Visual Studio 2010 Beta2. How can I achieve that?


回答1:


In 2008 you could go into Tools --> Options --> Keyboard and in the Press Shortcut keys field you could type a shortcut and it would tell you what its currently mapped to.

In 2008 its mapped to View.ToggleDesigner.

Once you know what its mapped to, type it into the Show Commands containing field, and it will filter your list down.

I don't have 2010 on this computer, so I cannot verify if you can do the same in that version.




回答2:


I found a possible solution: Tools -> Import & Export Settings -> Reset settings to default -> Web Developer Settings.

That indicates that it's possible to change the shortcut. Still, does anybody know where to change it in the settings directly?



来源:https://stackoverflow.com/questions/1984771/change-shortcut-for-switch-to-markup-in-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!