Skip to content

mohamedmansour/code-treemap-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Treemap Search Visualizer

When refactoring large code bases, it is easier for code reviews when we submit multiple pull requests. By visualizing it as a treemap, it would be easy to navigate different directories to figure out which ones we can combine in the same PR by looking at the # of files.

How to use

Generate the treemap for all files that contain these keywords:

python treemap.py absl::optional absl::nullopt absl::make_optional third_party/abseil-cpp/absl/types/optional.h

Open up index.html or serve it:

python -m http.server

Treemap example

Screenshot

Nice to have feature requests:

  • Path search to drill down to that folder quickly.
  • Copy the navigational path once we drill down.
  • Automatically figure out which folders to pick to reach some objective like 300 files.

About

Chromium treemap search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published