快捷键:
http://www.dofactory.com/ShortCutKeys/ShortCutKeys.aspx
文中高亮显示的是 'must-know' 快捷键。
另一版本:26个快捷键
1. F5:启动调试

2. F7 /Shift-F7:显示代码窗口或显示设计器窗口

3.Alt-Enter:显示选中对象的属性(这是个常用的windows快捷键,可以用显示目录和文件的属性)

4.F6 / Shift-F6 / Ctrl-Shift-B:生成解决方案/生成项目/生成解决方案

5.Shift-Alt-C: 在项目里添加类

6.Ctrl-K + Ctrl-C: 注释一段选择代码

7.Ctrl-K + Ctrl-U: 取消一段选择代码的注释

8.Ctrl-M + Ctrl-O / Ctrl-M + Ctrl-P: 折叠定义/展开所有代码(停止大纲显示 )

9.Ctrl-M + Ctrl+M:展开或折叠代码段(切换大纲显示)

10.Ctrl-B + Ctrl-T:切换代码书签

11.Ctrl-Alt-P:附加调试器的进程

12.Ctrl-Alt-L:显示解决方案浏览器

13.Ctrl-Shift-A / Alt-Shift-A:在项目里添加项/在项目里移除项

1. 强迫智能感知:Ctrl+J;
2.强迫智能感知显示参数信息:Ctrl-Shift-空格;
3.格式化整个块:Ctrl+K+F
4. 检查括号匹配(在左右括号间切换): Ctrl +]
5. 选中从光标起到行首(尾)间的代码: Shift + Home(End)
6. 在方法定义和调用之点切换:Ctrl+Shift+7(8)
7. 设置断点:F9
8. 使用Tab增加缩进,Shift+Tab减少缩进
9. 格式化整篇代码: Ctrl+K, D
10. 设置书签:Ctrl+B+T,跳转书签:Ctrl+B+N
0 comments:
Post a Comment