您的位置:首页 > 其它

Coding Faster-Getting More Productive with Microsoft Visual Studio: Covers Microsoft Visual Studio 2005, 2008, and 2010

2011-09-16 00:41 696 查看
一本讲述提高生产力工具的小书,厚度倒满厚的。之前也有一本介绍VS 1000个Tips的书(?)

扫了一下,正文竟然和附录是对半开的长度,可见还是满翔实的。

前几章是一些小技巧和基本操作,后面介绍了几款实用的扩展(其实实用不实用还是看个人情况而言的)。

以下是一些觉得好玩的技巧,也不算奇淫巧计

1.VS带参数启动,记录日志

devenv.exe /log [filename]

The [filename] is optional and, if not specified, the ActivityLog.xml file is called by default.

The path is to the log file is:

%APPDATA%\Microsoft\VisualStudio\<version>\ActivityLog.xml

2.box selection

按住alt可以实现box selection之前就知道,没想到VS2010有了zero-length box selection(按键是Shift+Alt+[Up, Down, Left, Right] Arrow),可以直接打多行文本 --->Page241

3 Debug时候的Auto窗口

终于了解他的具体范围了

The Autos window displays variables used in the current statement and the previous statement. (For Visual Basic, it displays variables in the current statement and three statements on either side of the current statement.)”

4.工具栏上的Find Combo Box

原来他是那么多功能,除了普通的Find功能,可以直接键入">"+Command 运行命令,直接键入数字当GoToLine功能用,直接键入方法名按F9当插入断点功能用,当然这些功能是针对当前打开文档的

5AX.138 Make Object ID

作者提到这个idea来自John Robbins的Wintellect,John Robbins出过一本关于Net Debug的书,当时看了受益匪浅

http://blogs.msdn.com/b/jimgries/archive/2005/11/16/493431.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: