CodeAtlasVsix
CodeAtlasVsix copied to clipboard
A graph-based code navigation plugin for Visual Studio
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.
-
My blog: http://www.cnblogs.com/dydx/p/6299927.html
-
Some videos: https://www.youtube.com/watch?v=FScdHyxdNFw&list=PLN16zMWJLkHLgHhTJUIkwp5chgnFz9_NH
-
Installation package: https://sourceforge.net/projects/codeatlasvsix/
-
Visual studio Marketplace: https://marketplace.visualstudio.com/items?itemName=YaobinOuyang.CodeAtlas
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
- Download the vsix package or compile one yourself.

- Open and install the package.

- The package is installed.

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

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

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

- 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.

- 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.