Document Map Margin in Visual Studio

  • 1 minute to read
  • edit

Earlier this month Charlie Calvert introduced a potential new feature called Document Map Margins (DMM). The idea behind DMM is to make it easier for you to find and track important features in your code by visualizing the entire file. Overall I like the idea of DMM as it can really provide you with good contextual information, particularly for really large files.

While DMM isn’t here now, a very similar tool is. I came across this tool mentioned by ScottHa in this post. What RockScroll does is to extend the Visual Studio scroll bar to show a thumbnail view of your code.

One thing worth noting is that if you have collapsed code sections, RockScroll gets a bit confused and doesn’t accurately reflect your position in the code. It also only works with source code files, not aspx files.