Project-Visualizer

command module
v0.0.0-...-89f9b0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 8 Imported by: 0

README

Project-Visualizer

Uses references to map out a graph of the code base, maps are flexible and can be for a single file or folder.

Creating maps requires extracting symbols and their references which a json file will keep track of. The cache will be checked each time a new map is generated to boost preformance, I recommend scanning the whole code base and fill up the cache to prevent long generation time. The cache will each time check if the modification value of the file differs, and if they do, scan the file again.

Dependencies

Supported Languages

Unsupported languages which I want to support in the future

Im uncertain if theres CLI tools such as Gopls, offering simple References and symbols commands.

Supported graph types

Potential new graph types

Potential tools to add

End goal

Create a system which is capable of visualizing any project's code base. Realistically support the more popular languages listed above.

Subgoals
  • Finish the project for just Go code, since Gopls offer a fantastic CLI to extract references for symbols which can also be extracted :)
  • Write readable and structured code
  • Document the process/code
  • Implement various CLI tools for finding references.
  • Optionally write generic code which can find references for any language, but thats not my priority, not sure if its even possible
  • Establish communication with LSP servers for unsupported languages, especially when libraries lack CLI support.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL