分类目录归档:Visual Studio

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

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 操作步骤: 菜单:工具+外部工具 添加的外部工具,就会在工具菜单里显示 评论:你知道工具菜单...... [阅读全文]

happy 牛 year

今年感觉过得特别的快,一晃,今天就是2008年的最后一天了,还没细细体会和总结这即将过去的一年时光,新年就要到 […]


今年感觉过得特别的快,一晃,今天就是2008年的最后一天了,还没细细体会和总结这即将过去的一年时光,新年就要到来了。翻看年初写的“新年新计划”来做个简单的总结 http://www.watch-life.net/life-thinking/2009-happy-news-year.html 开始准备做一个父亲 这一年恐怕做的一件最大的事就是做父亲了。从2月24日女儿出生以来,辛苦着,快乐,幸福着,看着女儿一天天成长,是件最感自豪的事了。总体还说,初为人父,自我评价基本合格。以后要学习地方还有很多,任重道远...... [阅读全文]

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 操作步骤: 菜单:工具+选项+环境+常规,选中“在解决方案管理器中显示活动项”则会在解决方案管理器中高亮显示打开的文件,反之不会显示。 ...... [阅读全文]

Visual Studio 2008 每日提示(十六)

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


本篇包括tip151-tip160 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-16.html #151、意外关机情况下,保存自动恢复文件 原文链接:Where Visual Studio saves auto-recovered files in the case of an unexpected shutdown 操作步骤: 菜单:工具+环境+自动恢复,选中“保存自动恢复信息的时间间隔”,同时设定“保留自动恢复信息的天数”。 自动恢复文件保存的位置在: ...\My Documents\Visual Studio ...... [阅读全文]

Visual Studio 2008 每日提示(十五)

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


本篇包括tip141-tip150 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-15.html #141、在打开的工具窗口中上下移动定位 原文链接:You can use Alt+F7 and Shift+Alt+F7 to move to the next and previous opened tool windows 操作步骤: 按Alt+F7打开下一个窗口,按Shift+Alt+F7打开上一个窗口。 评论:对习惯键盘操作的人,估计比较喜欢这样功能。...... [阅读全文]

Visual Studio 2008 每日提示(十四)

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


本篇包括tip131-tip140 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-14.html #131、你为什么会把窗体设置成为浮动(模式) 原文链接:Why you would want to make a Tool Window Floating 如果你想把工具窗体放在一个特定的区域,而不幸的是停靠目标显示了,这时候,如果设置窗口为浮动的,该窗体j将不会获得停靠目标,不会任何把任何工具窗体口作为停靠目标,不会把IDE的9个停靠位置多为停靠目标。 评论:使用浮动窗口你可以自由停放窗口。 #132、从一组窗口中仅仅中止一个窗口的停靠(状态) 原文链接...... [阅读全文]

Visual Studio 2008 每日提示(十三)

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


本篇包括tip121-tip130 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-13.html   #121、如何设置vs启动时(工作区)加载内容 原文链接:How to customize what Visual Studio opens to 操作步骤: 菜单:工具+选项+环境+启动,在“启动时”下拉框 中根据需要选择以下几项: 1、打开主页 2、加载最近加载的解决方案 3、显示“打开项目”对话框 4、显示“新建项目”对话框 5、显示空化境 6、显示起始页 ...... [阅读全文]

Visual Studio 2008 每日提示(十二)

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


本篇包括tip111-tip120 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-12.html #111、定义最近使用的列表中显示项的数目 原文链接:How to customize the number of items shown in the recent files lists 操作步骤: 菜单:工具+选项+环境,在“最近的文件”中的“最近使用的列表中显示项”输入数字,比如6 则会在菜单+最近的文...... [阅读全文]

Visual Studio 2008 每日提示(十一)

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


本篇包括tip101-tip110 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-11.html #101、块缩进和智能缩进的差异 原文链接:what's the difference between smart indenting and block indenting 操作步骤: 缩进的设置,菜单:工具+选项+文本编辑器+所有语言+制表符,在“缩进”选项下有三个选项:无、块缩进、智能缩进。或者在各个语言的制表符也可以设置缩进方式。 块缩进和智能缩进的区别: 块缩进是上一行和下一行对齐,比如输入 foo(),然后回车,只会在第一行产生缩进,下一个新行光标就转到行首。 智能缩进所使...... [阅读全文]

Visual Studio 2008 每日提示(十)

本篇包括tip91-tip100 http://www.watch-life.net/visual-studi […]


本篇包括tip91-tip100 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-10.html #91、查找组合框的一些有趣的用法 原文链接:How to have fun with the Find Combo Box 操作步骤: 按Ctrl+D 转到查找组合框 1、输入一个数字,按 Ctrl+G,就会转到数字所在行,同时不弹出“转到行”的对话框。 2、输入文件名(项目内的文件),按Ctrl+Shift+G ,将会打开这个文件。 3、输入一个函数名,按F9,将会在函数上加一个断点。 4、输入一个查找的文字,按F1,将会在帮助查找该文字。 5、...... [阅读全文]

Visual Studio 2008 每日提示(九)

本篇包括tip80-tip91 http://www.watch-life.net/visual-studio […]


本篇包括tip80-tip91 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-9.html #81、如何在所有的文件里进行替换 原文链接:How to do a replace all in files 操作步骤: 1、按Ctrl+Shift+H打开“在文件中替换”窗口 2、在“结果选项”中选中“全部修改后保持已修改的文件的打开状态”。如果不选中的话,在所有文件中替换后,将会有关提示替换确认无法撤销。 评论...... [阅读全文]

Visual Studio 2008 每日提示(八)

本篇包括tip71-tip80 http://www.watch-life.net/visual-studio […]


本篇包括tip71-tip80 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-8.html #071、给所有快速查询的结果标记上书签 原文链接:Did you know... You can bookmark all of your Quick Find results 操作步骤: 在“快速查找”窗口单击“全部创建标签”按钮,就是在所有匹配的文本所在行,标记上书签 如下图所示,在当前代码块查询字符“true”,所有包行“true”的位置都标记了书签 ...... [阅读全文]