标签归档:诀窍

Visual Studio 2008 每日提示(三十)

本篇包括tip301-tip310 http://www.watch-life.net/visual-stud […]


本篇包括tip301-tip310 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-30.html #301、缓存符号到本地磁盘 原文链接:You can cache symbols locally to disk 操作步骤: 菜单:工具+选项+调试+符号 在任何时候使用符号服务器,意味着不是我的机器载入符号,想UNC共享一样。我可以做两件事: 1、关闭对话框时候,取消选中加载符号- 宁愿等到需要的的时候加载符号。 2、指定复制符号文件在磁盘中的缓存位置。 ...... [阅读全文]

Visual Studio 2008 每日提示系列索引

Sara Ford 是微软资深的测试人员。作为Visual Studio产品组测试员,从2007年7月23日开 […]


Sara Ford 是微软资深的测试人员。作为Visual Studio产品组测试员,从2007年7月23日开始,她把对日常对Visual Studio一些点滴的测试心得,以及使用技巧、诀窍等等一一整理,记录到博客里,做成Visual Studio 2008 Tip of the Day。Sara Ford是一位非常细心(当然这是作为测试人员非常重要品格)的测试员,这一年多的时间她记录近400个tip,有些你也许很熟悉了,有些你恐怕用Visual Studio 2008很久都没察觉到的功能。同时,她还把博客的文章整理成了书,书名为:《Visual Studio Tips》,你可以通...... [阅读全文]

Visual Studio 2008 每日提示(二十九)

本篇包括tip291-tip300 http://www.watch-life.net/visual-stud […]


本篇包括tip291-tip300 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-29.html #291、启动时没有用户代码发出警告 原文链接:What warning message is suppressed by the Warn If No User Code On Launch option 操作步骤: 菜单:工具+选项+调试+常规,在“启动仅我的代码”项下面,选中“启动时若没有用户代码发出警告”。 比如在解决方案里有两个项目,一个控制台程序,它被优化过且是设置为启动,...... [阅读全文]

Visual Studio 2008 每日提示(二十八)

本篇包括tip271-tip290 http://www.watch-life.net/visual-stud […]


本篇包括tip271-tip290 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-28.html 注:作者的tip编号发生错误,同#277 直接跳到了#288 ,中间一大截都没有(#278-#287),具体是什么原因,不得而知了。为了保持和原文章的一致,也沿用跳转的编号。 #271、启用地址级调试的设置的作用是什么? 原文链接:What the Enable Address-Level Debugging option does 操作步骤: 菜单:工具+选项+调试+常规,有个"启用地址级调试"项,如果启用该项,将会得到另外三个调试工具:“反汇编”窗口、“寄存器”窗口...... [阅读全文]

Visual Studio 2008 每日提示(二十七)

本篇包括tip261-tip270 http://www.watch-life.net/visual-stud […]


本篇包括tip261-tip270 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-27.html #261、按Ctrl+Alt+B打开断点窗口 原文链接:You can press Ctrl+Alt+B to open the Breakpoint Window 操作步骤: 你可以通过菜单:调试+窗口+断点,打开断点窗口 也可以按快捷键Ctrl+Alt+B打开断点窗口。 ...... [阅读全文]

Visual Studio 2008 每日提示(二十六)

本篇包括tip251-tip260 http://www.watch-life.net/visual-stud […]


本篇包括tip251-tip260 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-26.html #251、在文件中保存扩展名的映射 原文链接:You can save your file extension mappings to a file 操作步骤: 在tip97中,讲述了“如何自己定义的文件类型指定语法高亮” 如果指定的文件类型很多的,想保存在一个文件里,可以使用“导入和导出设置”的是时候选中...... [阅读全文]

Visual Studio 2008 每日提示(二十五)

本篇包括tip241-tip250 http://www.watch-life.net/visual-stud […]


本篇包括tip241-tip250 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-25.html #241、在调试状态用立即窗口做计算器或调试面板 原文链接:You can use the immediate window as a glorified calculator or side-debugger within your debugger 操作步骤: 1、在调试状态,可以利用立即窗口做一个计算,如下图所示,输入:i=1+1,显示结果为2 2、在控制台程序中,通过在立即窗口输入Console.WriteLine,在控制台窗...... [阅读全文]

Visual Studio 2008 每日提示(二十四)

本篇包括tip231-tip240 http://www.watch-life.net/visual-stud […]


本篇包括tip231-tip240 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-24.html #231、如何找到最后一次设置的环境保存的位置? 原文链接:Did you know… How to find what development settings you last reset to 操作步骤: 可以如下通过注册表路径: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Profile。 其中有个值“ LastResetSettingsFile”,记录最后一次保存环境配置文件保存的位置 ...... [阅读全文]

Visual Studio 2008 每日提示(二十三)

本篇包括tip221-tip230 http://www.watch-life.net/visual-stud […]


本篇包括tip221-tip230 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-23.html #221、在对象浏览器中按对象和成员排序 原文链接:You can sort objects and members in the Object Browser 操作步骤: 在对象浏览器窗口中的对象窗格和成员窗格的右键菜单,有4个排序的选项:按字母顺序排序、按对象类型排序、按成员访问排序、按成员类型分组。 按字母排序是默认。下图所示是按对象类型排序,先显示类,其次是结构,然后是枚举。 ...... [阅读全文]

Visual Studio 2008 每日提示(二十二)

本篇包括tip211-tip220 http://www.watch-life.net/visual-stud […]


本篇包括tip211-tip220 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-22.html #211、在对象浏览器向前和向后导航 原文链接:The Object Browser has a navigate forward and navigate back 操作步骤: 在对象浏览器的工具栏有向前和向后导航的按钮 或者使用快捷键Alt+-(减号)向后导航和快捷键Shift+Alt+-(减号)向前导航。 评论:按惯例作者会在本篇...... [阅读全文]

Visual Studio 2008 每日提示(二十一)

本篇包括tip191-tip200 http://www.watch-life.net/visual-stud […]


本篇包括tip191-tip200 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-21.html #201、在vs里运行外部工具 原文链接:You can run external tools within Visual Studio 操作步骤: 菜单:工具+外部工具 添加的外部工具,就会在工具菜单里显示 评论:你知道工具菜单...... [阅读全文]

Visual Studio 2008 每日提示(二十)

本篇包括tip191-tip200 http://www.watch-life.net/visual-stud […]


本篇包括tip191-tip200 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-20.html #191、把代码拖拽到工具箱的常规选项卡 原文链接:drag and drop code onto the Toolbox General tab 操作步骤: 在工具箱有个常规选项卡 你可以选中一段代码,拖拽到常规选项卡里面,如下图所示 ...... [阅读全文]

Visual Studio 2008 每日提示(十九)

本篇包括tip181-tip190 http://www.watch-life.net/visual-stud […]


本篇包括tip181-tip190 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-19.html #181、按Ctrl+Shift+F12 在错误列表查看下一个错误记录 原文链接:You can use Ctrl+Shift+F12 to view the next Error listed in the error list 操作步骤: 如题,你可以按Ctrl+Shift+F12在错误列表定位到下一个错误记录。当然也可以输入命令:视图.下一错误。 同时在查看错误的时候,状态栏也会显示错误...... [阅读全文]

Visual Studio 2008 每日提示(十八)

本篇包括tip171-tip180 http://www.watch-life.net/visual-stud […]


本篇包括tip171-tip180 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-18.html #171、在任务列表创建用户任务区分代码 原文链接:You can use the Task List to create User Tasks that are separate from your code 操作步骤: 每个用户任务保存在 .suo 文件里面,它并不保存在代码里面,在.suo 文件里保存了用户的自定义解决方案的配置,同时不会签入源码控制。 创建用户任务的方法,打开菜单“视图+任务列表”,在任务列表窗口的下拉列表框中选择“用户任务”,然后单击“创建...... [阅读全文]

Visual Studio 2008 每日提示(十七)

本篇包括tip161-tip170 http://www.watch-life.net/visual-stud […]


本篇包括tip161-tip170 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-17.html #161、在解决方案里显示(或不显示)编辑器中打开的文件 原文链接:How to have the Solution Explorer always show (or not show) the file currently opened in the Editor 操作步骤: 菜单:工具+选项+环境+常规,选中“在解决方案管理器中显示活动项”则会在解决方案管理器中高亮显示打开的文件,反之不会显示。 ...... [阅读全文]