VS2010中切换到aspx代码的热键

发布于 2024-10-05 00:32:50 字数 78 浏览 0 评论 0原文

谁知道,在 Visual Studio 2010 中从 cs 代码切换到 aspx 代码(而不是设计器)的热键是什么?

多谢!

Who does know, what is the hot key for switching from cs code to aspx code (not to designer) in Visual Studio 2010?

Thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

明媚如初 2024-10-12 00:32:50

F7 对我有用

F7 works for me

雨轻弹 2024-10-12 00:32:50
  1. 转到工具->选项->环境->键盘

  2. 找到Viev.ToggleDesigner并设置按下快捷键区域你想要的快捷键(我使用Ctrl + Alt + 0)< /p>

  3. 然后按分配

  4. 然后按okey尝试使用新的快捷键在aspx和cs文件之间切换

  1. Go to tool-> options -> environment -> keyboard

  2. Find Viev.ToggleDesigner and set Press shortcut keys area what you want shortcut keys (i use Ctrl + Alt + 0)

  3. Then press assign

  4. Then press okey try toogle between aspx and cs file with your new shortcut keys

清风疏影 2024-10-12 00:32:50

要使用一个快捷方式在“aspx.cs”(View.ViewCode) 和“aspx”(View.ViewMarkup) 文件之间进行旋转(例如我使用 CTRL+Q),我使用此设置:
(切换到当前文档的源视图。仅在设计视图中可用,并且您需要在旋转循环中设置 View.ViewDesigner (有人知道解决方案吗?))

  1. 转到工具 ->选项(显示所有设置)环境-> keybord
  2. 查找 View.ViewCode,删除所有快捷键并设置 CTRL+Q (HTML Editor Soruce View)
  3. 查找 View.ViewDesigner,删除所有快捷键并设置 CTRL +Q(全局)
  4. 找到View.ViewMarkup,删除所有快捷方式并设置CTRL+Q(HTML编辑器设计视图)

确实如此,重复按下您可以在 "aspx.cs""cs" 和设计视图之间旋转。

To make rotation between "aspx.cs"(View.ViewCode) and "aspx"(View.ViewMarkup) file with one shortcut (e.g. I use CTRL+Q) I use this setting:
(Switches to Source view for the current document. Available only in Design view and there for you need set View.ViewDesigner in rotation loop (does anybody know solution for that?))

  1. Go to tools -> options (show all settings) environment -> keybord
  2. Find View.ViewCode, remove all short cut and set CTRL+Q (HTML Editor Soruce View)
  3. Find View.ViewDesigner, remove all short cut and set CTRL+Q (Global )
  4. Find View.ViewMarkup, remove all short cut and set CTRL+Q (HTML Editor Design View )

That it is, pressing repeatly you can rotate between "aspx.cs" and "cs" ,and design view.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文