Blog of Terry

Visual Studio 2010 New Features -- Overview

最近(10月31日),微软发布了Visual Studio 2010 的CTP(Community Technology Preview)版本(Download from Micronsoft),微软是这样定义它的:

Microsoft Visual Studio 2010 and the .NET Framework 4.0 are the next generation development tools and platform for Windows Vista, the 2007 Office System, and the Web.

(Visual Studio 2010以及.NET Framework 4.0是为Windows Vista, Office 2007系统和Web应用程序设计的下一代开发工具与平台)

下面我们就从编码的角度(Code-Focused)来看看这个所谓的下一代开发平台有些什么令人振奋的新特性:

  1. Quick Search(快捷键:CTRL+,,可以根据方法或者属性的首字母查询,比如输入GU,就能搜索出GetUser相关的方法,如下图:)


  2. Highlight references(高亮显示被选中对象的所有引用, CTRL+SHIFT+↑移动到上一个引用,CTRL+SHIFT+↓移动到下一个引用)


  3. Generate from usage (直接使用一个未定义的对象,VS2010会自动为你生成该对象,包括类,接口,属性,方法)


  4. Call hierarchy(显示一个方法的调用层次:调用了谁以及被谁调用了)


    注:只有当选中要查看的构造函数、方法、属性等的时候View Call Hierarchy选项才可见


  5. Rich formatting of code
  6. Overlays of contextual information
  7. Enhanced JavaScript tooling(在VS2010中写javascript脚本更方便了)


  8. HTML snippets(HTML片段:超越智能提示的一个新功能,自动为你生成HTML代码,比如输入<scr再按两次TAB键就会自动为你生成<script type="text/javascript"></scrpt>)
  9. New MVC and Dynamic Data tooling
  10. Integrated Web Deployment
  11. Tooling for the next version of Office
  12. ClickOnce Enhancements for Office
  13. Create solutions with multiple addins and documents
  14. Ability to deploy and update custom actions
  15. Improved document and template deployment
  16. Publish Office client customizations to SharePoint

这里只是对VS2010新特性的一个汇总,很多特性还没来得及试用,接下来的文章里再对其个别介绍

 

参考网站:Channel9.msdn.com, Micronsoft.com

 

posted on 2008-11-22 03:03  wd_Terry  阅读(2019)  评论(12编辑  收藏  举报

导航