Visual Studio TV

Understanding complex code with Code Map

Download this episode

Download Video

Description

This short video introduces Code Map, a new feature for visualizing and navigating complex code without getting lost.

Video available in: Chinese (Simplified) Chinese (Traditional) Czech French German Italian Japanese Korean Polish Portuguese (Brazil) Russian Spanish Turkish

Related MSDN Article: Understanding complex code with Code Map

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • Luke

      Nice feature, I believe it is available in the VS2012 Update 1 CTP 4?

      http://www.microsoft.com/en-us/download/details.aspx?id=34708

      ps. the MSDN link doesn't work (page not found).

    • DabizLegend

      Please, release a patch to address the issues XAML is currently having. Every time I fix one problem, another one arises.

    • MattYet​AnotherUser​Name

      Fail:
      1. I have Visual Studio Ultimate 2012 and the feature is not there.
      2. The link to the alleged MSDN article does not work

    • EstherFan

      Hi everyone,

      Thanks for all your comments. We have a team working on the broken MSDN link.

      To create code maps, you'll also need Visual Studio 2012 Update 1:

      http://www.microsoft.com/visualstudio/eng/visual-studio-update

    • DennisPan

      @DabizLegend: Could you give more detail on the XAML issue you are referring to?

    • vivihung

      @EstherFan:I've installed VS 2012 Update 1. However, I cannot see the code map in the menu by right clicking on any member of my C# project. Did I miss something?

    • Gleno

      Has anyone else noticed that the video references itself as a tutorial introduction? Now I don't want to use this feature because it's just too meta.

    • xpertprogra​mmer

      Thanks. Its a perfect feature...

    • Veena

      A feature where I can draw a block on the designer surface of code map which translates into C# code (Either a method, a variable) will be more interesting and useful.

    • Agros competus

      @EstherFan
      Firstly: Why doesn't this feature work with C++?!
      For crying out loud, stop with this passive aggressiveness already!
      If you are not going to support C++ fully than come out and say so already!
      You host things like GoingNative while on the other hand your own tools are not able to support C++ fully.

      Secondly: You need an entire team to fix one single broken link that should not have been broken to begin with ?!

      I'm guessing you are using Azure or some other microsoft cloud product?

      Been having lots of problems with MSDN lately. Takes ages for it to load. It was slow before but now it is even worse! Like Vista and W8 style!

      I find it strange that i now 4 days later after the release, gets notified of the release from vs2012 updater.

      Please don't tell me you use racial country release time tables.
      Like united states gets it first and the rest of the world gets it a few days later.

      Can any other people (not living in unite states) confirm this?
      Wouldn't be the first time.
      Yes i will complain until the country racism gets removed. Geo-blocking is racism too btw.

      @Gleno
      No, it is douchebaggery but mostly incompetence.
      Consider if a person would refer to itself like that. That would earn that person an a-hole stamp.

    • Omer Raviv

      This seems very interesting indeed. Excellent work and major kudos to the people who developed this. I think it'd be extremely helpful (At least as an option) to mark in a different color or otherwise emphasize the arrows from method to fields, where the method *writes* to the field (Rather than just read from it).

    • Klasik

      @EstherFan:I've installed VS 2012 Update 1. However, I cannot see the code map in the menu by right clicking on any member of my C++ project. Did I miss something too?

    • DennisPan

      @vivihung: Which version of Visual Studio 2012 did you install? Professional, Premium, or Ultimate? The feature is only supported on Ultimate

    • Stukalide

      I can't believe this feature isn't supported for C/C++. Un-be-lievable!

      Good grief, why not?!

    • Madams

      It is a shame this is only available in ultimate. This feature would be worth paying for as a plugin for visual studio professional. Have you ever thought of having an app store for development tool extensions within Visual Studio?

    • DennisPan

      @Klasik: C++ is currently not supported

    • CaRDiaK

      It is a shame this is only available in ultimate. This feature would be worth paying for as a plugin for visual studio professional. Have you ever thought of having an app store for development tool extensions within Visual Studio?

      ^ This

    • Itsho

      Very nice and elegant way to solve a problem.

      please, Can you share the project itself for a better understanding ?
      thank you in advance.

    • tomkirbygre​en

      While C++ lacks the metadata structures that C# 'inherits' from the CLR I do think you could do a better job at visualising C++ code in VS2012 than is currently the case. There are tools that build upon Clang this area that show that given an AST a great deal of insight can be gained and decent visuals rendered. 

    • Miguel

      I think this is a great feature to understand unfamiliar code and to communicate code structure across a team.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.