Introducing Code Map in Visual Studio 2012 Update 1 CTP

Introducing Code Map in Visual Studio 2012 Update 1 CTP

Rate This
  • Comments 9

Another one of the ALM MVPs, Kris Lankford, has written a quick getting started with Code Map in Visual Studio 2012

Thanks Kris and sorry this has taken so long to publish!!!

 

Introducing Code Map for Visual Studio 2012 CTP  By Kris Lankford

As part of the Visual Studio 2012 CTP for September, Visual Studio got a little sexier at helping you discover and visualize your code. The introduction of the Code Map feature helps compliment the variety of other tools that are included with Visual Studio to help you analyze and visualize your projects and solutions. Code Map leverages the dgml format within Visual Studio that is currently used by the Architecture and Modeling tools. This is a nice addition that gets us from point A to point B a little faster.

The great thing about Code Map is that you can gain access to the functionality from directly within your code from the context menu. This Code Map functionality is also context specific based on your cursor. You can evaluate and add items such as methods and variables directly to the Code Map window. As you add items the Code Map surface is updated to show your new item plus any relationships and dependencies that have been introduced in your code. Something that is also very nice is that the Code Map surface is interactive and allows you to use the F12 button (Go To Definition) which can help you navigate your code especially is you are adding items that span multiple files or projects.

image

 

 

 

 

 

 

 

 

 

To get started all you have to do is go out and download the September CTP for Visual Studio 2012 located here. Happy Coding!

code_map

 

 

 

 

 

 

 

 

 

 

 

 

Code Map Window

 

Kris-Lankford_avatar-60x60

About Kris Lankford

Kris Lankford is an ALM Practice Director for InCycle Software which is a Microsoft ALM Gold Competency partner. He supports the ALM community by participating in groups such as the ALM Rangers to provide guidance and best practice for Application Lifecycle Management. When Kris is not working, he enjoys spending time with his family and coaching Little League.

Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
  • Hmmm, I'm not seeing this in VS 2012 Update 1 CTP3.  

    I'm using the Professional edition.  Is this an edition-limited feature?

  • Me too...

    I've vs2012 + CTP3 installed but the contextual menù "Show on code map" do not appear...

    Is this feature included in the professional edition?

  • I'm assuming this is an Ultimate thing only?  

  • Hello Warren,

    Yes you are correct this is only available for Visual Studio 2012 Premium and Ultimate.  

    I should do a better job of calling out which features map to which editions -but in general the features on the ALM blog will be targeting the customers using VS Premium and Ultimate with some notable exceptions like TFS Preview and the VS Test Runner.

  • Thanks for the clarification, Charles.  

  • Just downloaded and installed VS 2012 Update 1. (I have VS 2012 Premium)

    But I can't see this feature on the right click menu in my VB.NET .NET 4.0 class library project.

    Thanks,

    Miek G

  • I cannot see it in Visual Studio 2012 Premium after installing Update 1. Is is actually just Ultimate only?

  • Hello,

    Turns out I was incorrect about being able to create code maps in Visual Studio Premium.  You can only create Code Maps in Visual Studio Ultimate.

    Thanks

    Chuck

  • It is sad that Code Map is not available for Premium. The understanding is that all coding and day-to-day debugging related features will be available in Premium. Very disappointing.

Page 1 of 1 (9 items)