Following (but not limited) languagues are supported:
Python,
C/C++,
Java.
Interface
![](https://i-blog.csdnimg.cn/blog_migrate/f9bc65411d9a807a7849816a5c1324e0.png)
Features
1.Find callers/callees of a function.
All key shortcuts below can be used in both Sublime Text and the visualization window.
Press Alt+G to show the function/variable/class under the cursor in CodeAtlas.
Press Alt+V to show callees of current function.
Press Alt+C to show callers of current function.
![1_findCallerCallee.gif](https://i-blog.csdnimg.cn/blog_migrate/98c32c2fb7b1e937bf89a4e1bb67179b.gif)
Each function is represented as a green disc in the atlas. Size of the disc indicates lines of the function. The fan shape on the left of the disc indicates number of callers, and the one on the right indicates number of callees. In the figure below, there are much more callers of the function "isinstance" then that of "selectOneItem". The fan shape can warn you not to show too much callers/callees, which will totally change the figure.
The numbers on the gray lines indicate call order.
![](https://i-blog.csdnimg.cn/blog_migrate/fc0992b325679fe9ae73c5e080ad7c1d.png)
2. Find Members of a class.
Press Alt+M the find members of a class.
![2_findMembers.gif](https://i-blog.csdnimg.cn/blog_migrate/b2d4a4d94699174b0f7a15926eeaff03.gif)
Each member variable is represented as a pink disc in the atlas.
![](https://i-blog.csdnimg.cn/blog_migrate/635eb5b8f6ff54386757b3474aa99390.png)
Each class is represented as a blue disc. Also,
Size of the disc indicates lines of the class.
![](https://i-blog.csdnimg.cn/blog_migrate/7df72f998799e5f233e65a8bbc9dfb61.png)
3. Find references of a variable/function.
Press Alt+U the find all references.
![3_findRef.gif](https://i-blog.csdnimg.cn/blog_migrate/073c222f87f37ee5d813bcd5f84b6d12.gif)
4. Explore call graph.
Press Alt + ↑/↓/←/→ to explore through the graph.
You can select a nearby node(function/class/variable) or edge(function call/variable definition/function definitio) by pressing
Alt + ↑/↓/←/→. The most likely node/edge will be selected and Sublime Editor will jump to corresponding code.
![4_exploreCallgraph2.gif](https://i-blog.csdnimg.cn/blog_migrate/1ca8228fe0e23f8785085810d7027cc2.gif)
5. Delete an unused function/class/variable
Press Alt+Delete to delete current selected
function/class/variable.
![5_delete.gif](https://i-blog.csdnimg.cn/blog_migrate/524a78e5f322b7b13fe857faa14e7759.gif)
6. Find all call paths between two nodes.
In the visualization window, using mouse middle button to drag function A to B, then all call paths from function A to B will be shown.
![6_callpath.gif](https://i-blog.csdnimg.cn/blog_migrate/94450dcdff2da9c60d54cae988eafb0c.gif)
7. Use mouse to select/drag/zoom in the visualization window directly.
![7_select.gif](https://i-blog.csdnimg.cn/blog_migrate/fc1369a6316467bb6f866f43a03be39b.gif)
Setup
1. Install Understand (home page
https://scitools.com)
2. Install Sublime Text (home page
http://www.sublimetext.com/
)
3. In Sublime Text, press Preferences->Browse Packages go to package folder.
![](https://i-blog.csdnimg.cn/blog_migrate/db02ef00ca423b8e3f38fcbdee9faaf5.png)
4. Unzip and place the plugin in the package folder.
![](https://i-blog.csdnimg.cn/blog_migrate/64c76983990127f7536584384b49c98e.png)
5. Replace Packages/CodeAtlas/CodeViewPy/understand.pyd with the one in the Understand folder(usually in SciTools/bin/pc-win32/python/understand.pyd)
![](https://i-blog.csdnimg.cn/blog_migrate/4b4e3dc55faf69a986dd771d92e9404a.png)
6. Open Understand and create a database for your project.
![](https://i-blog.csdnimg.cn/blog_migrate/23fed9f2be456a72fc2cc53051157694.png)
![](https://i-blog.csdnimg.cn/blog_migrate/17d7b1a060549c1aac97d99e294f93d7.png)
7. After finish the new project wizard, a database file will be generated.
![](https://i-blog.csdnimg.cn/blog_migrate/d36b94e3dec622f28edd00a1d5b3878a.png)
8. Close Understand and restart Sublime Text, then press "Start Atlas" in the context menu. Then the visualization window will be shown.
![](https://i-blog.csdnimg.cn/blog_migrate/55a1a6f37d9e5eb2c5ccdd45f38fbd92.png)
9. Press Open DB in the visualization window, then find the *.udb file generated before.
![](https://i-blog.csdnimg.cn/blog_migrate/f7f07ad7eec478b1b1da7eb091867108.png)
10. Now you can use the key shortcuts above to explore the code!