分类目录归档:Visual Studio

有关Visual Studio2005、Visual Studio2008、Visual Studio2010的文章

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

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


本篇包括tip341-tip350 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-34.html #341、导出模板不选择“在资源管理器显示” 原文链接:What unchecking the display an explorer window on the Export Templates Wizard does 操作步骤: 在导出模板向导的第二页,有个选项“在输出文件文件夹上不显示资源管理器窗口” 如果不选中该项,将不会弹出资源管理器窗口 ...... [阅读全文]

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

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


本篇包括tip331-tip340 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-33.html #331、让在文件标签里后移的文件标签保留到最近使用的位置 原文链接:You can keep recently-used files from falling off the File Tab Channel 操作步骤: 注意使用这个功能需要修改注册表。在注册表HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0下新建一个DWORD UseMRUDocOrdering = 1。不需要重启ide就可以生效。 假定在IDE里有几个打开的文件,如下图所示 点击 Class1.vb 标...... [阅读全文]

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

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


本篇包括tip321-tip330 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-32.html #321、使用xml可视化工具 原文链接:You can use the XML Visualizer to view XML 操作步骤: 例如,在一段代码段文件里,你有一些有趣的字符串其中包含xml。 你可以选择文本可视化工具,不过看起来不是很舒服 如果你选择xml可视化工具,可以看见xml属性高亮显示 ...... [阅读全文]

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

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


本篇包括tip311-tip320 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-31.html #311、按Shift+F11跳出函数 原文链接:You can press Shift+F11 to step out of a function 操作步骤: 在调试状态,断点停留在一个函数的内部 可以按Shift+F11从函数的任何位置跳出函数。 评论:用Shift+F1...... [阅读全文]

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 开发php程序

过年了,想趁的这段长假期间,抽空研究一下wordpress源码。以前编辑php代码,都是用editplus,e […]


过年了,想趁的这段长假期间,抽空研究一下wordpress源码。以前编辑php代码,都是用editplus,editplus小巧,支持php高亮语法,编写小的php程序还是很不错,不过研究源码最需要是可以调试、跟踪源码,这点显然editplus就做不到了。在开发工具中,我用的最多的就是Visual Studio的,有没有办法可以用Visual Studio 来编译调试php呢?google了一下,嗯,发现了一个工具:vs.php,下载试用一下,感觉不错。 vs.php 是Visual Studio的插件 分三个版本: VS.Php for Visual Studio 2008 、VS.Php for Visual Studio 2005和VS.Php Standalone...... [阅读全文]

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+-(减号)向前导航。 评论:按惯例作者会在本篇...... [阅读全文]