您的位置:首页 > 其它

Tips and Tricks for the Visual Studio .NET IDE

2010-03-18 09:11 549 查看
工欲善其事,必先利其器.介绍Visual Studio .NET IDE的常用的快捷键.

1.IntelliSense

Ctrl+J,显示完整列表.

2.Navigation

Ctrl+-
i.e. Ctrl + Hyphen.回到你之前浏览过的代码

Ctrl+Shift+-
和上面的相反.

F12, 查找该符号定义的位置,比如函数的申明.

Shift+F12,显示所有引用过此符号的地方.

3,Code Formatting

Auto-format selection -
Ctrl+K
,
Ctrl+F
;自动格式化

Convert to lower case -
Ctrl+U
,转为小写

Convert to upper case -
Ctrl+Shift+U
,转为大写

Comment selection -
Ctrl+K
,
Ctrl+C
注释

Uncomment selection -
Ctrl+K
,
Ctrl+U
取消注释

4.Outlining.

Fold/Unfold the current code block -
Ctrl+M
,
Ctrl+M


Unfold all -
Ctrl+M
,
Ctrl+L


Stop outlining -
Ctrl+M
,
Ctrl+P


Fold all -
Ctrl+M
,
Ctrl+O
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: