|
|
|
103 days, 6 hours, 7 minutes
ago
Thursday, October 29, 2009 2:39:59 PM
GMT
Wednesday, October 21, 2009 12:57:51 PM
GMT
|
|
weblogs.asp.net --
This is the ninth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. In today’s blog post I’m going to cover some of the new code searching and navigation features that are now built-into VS 2010. Searching and Navigating code Developers need to be able to easily navigate, search and understand the code-base they are working on. In usability studies we’ve done, we typically find that developers spend more time reading, reviewing and searching existing code than actually writing new code. The VS 2010 code editor adds some nice new features that allow you to more productively search and navigate a code-base, and enable you to more easily understand how code is being used within a solution. Searching and Navigating the ASP.NET MVC Source Code For this blog post I’m going to use the ASP.NET MVC framework code-base (which has many thousand lines of code) to help demonstrate some of the new VS 2010 searching and navigation features. If you have VS 2010 Beta 2 installed, you can follow along by downloading and opening the ASP.NET MVC framework source code from here. You should find that the performance of the below features is really fast with this project – despite it being many thousands of lines of code in size. All of the features I’m demonstrating below are also now built-into VS 2010 (and work for all project types and for both VB and C#). VS 2010 “Navigate To” Support Being able to quickly find and navigate code is important with both big and small solutions. Visual Studio 2010 now supports a new (Ctrl+comma) keyboard shortcut (meaning the control key is held down together with the comma key). When you press the (Ctrl+comma) combination, a new VS 2010 “Navigate To” dialog will appear that allows you to quickly search for types, files, variables and members within your solution – and then open and navigate to them: The “Navigate To” dialog provides an fast incremental search UI – with results immediately populating as soon as you st
|
|
tags:
.net, asp.net, Community News, visual studio
|
|
No comments yet, be the first one to post comment.