Skip to content

alphaDev23/CodeAtlasVsix

 
 

Repository files navigation

CodeAtlasVsix

Call graph visualization plugin of Visual Studio 2010-2015

Code Atlas is a plugin of Visual Studio. It allows one to explore the call graph conveniently. The plugin uses doxygen to parse code.

Supported languages(not limited): C/C++(Tested) Python,Java,C#(Not Tested yet)

Using this plugin one can navigate the code easily.

Overview

  • is a class.
  • is a function.
  • is a variable.
  • Colors for these shapes represent different classes, whose name can be seen at the bottom-left corner.
  • Colors for edges represent different graphs, whose name and key short-cut can be seen at the top-left corner.

Navigate

Move cursor onto function/class/variable name in Visual Studio Text Editor, then press Alt+G to show it on Code Atlas.

Press Alt+J/K/L/I in Visual Studio Text Editor to jump to neighbour items.

Find Callers/Callees

Press Alt+C/V to find callers or callees.

Find Class Hierarchy

Press Alt+B to find base and derived class.

Find Overloaded Functions

Press Alt+O to find overloaded functions.

Find Class Member

Press Alt+M to find one class variable and the largest member function. Press Alt+M several times to see more members.

Find Variable Usage

Press Alt+U to find all functions that use selected variable.

Save / Load Relationship Graph

Press Ctrl+Num to add selected edge to a relationship graph.

Press Alt+Num to show relationship graph listed at the bottom left corner.

Add Comment

Input your comment for functions/classes/variables in Symbol panel.

Setup

  1. Download the vsix package or compile one yourself.

  1. Open and install the package.

  1. The package is installed.

  1. Open Visual Studio, you can see a menu named "Code Atlas". Press "Open Code Atlas Window" to show the window.

  1. Open a solution, then press "Analyse solution" to generate the code database for Code Atlas.

  1. A command-line window appears, and you can see "Wait..." on the viewport. You can continue coding during analysis process.

  1. When analysis is completed, the code database will be opened automatically. Place the cursor on a variable/function/class and press Alt+G , then the symbol will appear in the viewport.

  1. Next time when you open Visual Studio, you don't have to analyse the solution again, just click "Open Analysis Result" and choose a ".atlas" file. The file with a "solution" postfix is the analysis result (code database) for the whole solution.

Revision History

1.0.3

  • Add multiple selection.
  • Add file and directory search.
  • Add interactive custom edge mode.
  • Add custom file extension support.
  • Add horizontal/vertical UI layout.
  • Fix some bugs.

About

A graph-based code navigation plugin for Visual Studio

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • Other 0.1%