lsif-go
codequery
lsif-go | codequery | |
---|---|---|
6 | 4 | |
114 | 671 | |
- | - | |
10.0 | 7.8 | |
8 months ago | 9 days ago | |
Go | C++ | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lsif-go
-
srctx: A golang library for automatically evaluating the function level impacts of Git Diff
curl -L https://github.com/sourcegraph/lsif-go/releases/download/v1.9.3/src_linux_amd64 -o /usr/local/bin/lsif-go chmod +x /usr/local/bin/lsif-go lsif-go -v
-
Codegraph – static code analyzator / code diagramer
Very nice. For those interested, you can get similar information using SourceGraph and LSIF in a standardized, language agnostic form: https://lsif.dev/. It still generally requires build information for each project/language, unfortunately.
- srctx: a LSIF parser for understanding what happened in every lines of your code
- Steve Yegge Joins as Head of Engineering of Sourcegraph
-
“Zoom Out”: The missing feature of IDEs
Doing it as a comment would be pretty awful. But anyway I guess the author is looking for https://lsif.dev/
-
Byfrost Indexer working with Go
If you want an example of using go compiler frontend for static analysis, checkout https://github.com/sourcegraph/lsif-go, this powers our precise code navigation indexing for Go and solves your issue of not having type information when using tree-sitter (the code is a bit hard to follow because a lot of work went into making it as fast as possible, but feel free to find your way to our Discord where we could answer questions). Dont try to reimplement type checking, its all there waiting to be used ; )
codequery
- Codequery – index/query/search source code
-
Codegraph – static code analyzator / code diagramer
README for codequery[0]outlines an overview of tool set to go from source code to graph. (although, not as a generate live updates per editor changes)
[0] : https://github.com/ruben2020/codequery
- Graphical view of large code base.
-
Cscope: A developer's tool for browsing source code
An Oldie but a Goldie.
Related "CodeQuery"(https://github.com/ruben2020/codequery) which uses both cscope and ctags databases (i use both for C/C++ code from within vim) and provides a GUI frontend.
Combine with "Doxygen" and "GNU cflow" (https://www.gnu.org/software/cflow/) and you get a very good view of the static structure of any codebase.
To get a Runtime view i prefer the call graph emitted by the profiler gprof.
What are some alternatives?
scip - SCIP Code Intelligence Protocol
cscope_maps.nvim - For old school code navigation. Adds cscope support to Neovim 0.9+.
codegraph - CodeGraph - Tool that create a graph of code to show dependencies between code entities (methods, classes and etc).
Sourcetrail - Sourcetrail - free and open-source interactive source explorer
difftastic - a structural diff that understands syntax 🟥🟩
blink - GUI of live indexed grep for source code. Fuzzy suggestion in auto complete. Files locator, search and replace. Index management for multiple projects.
emerge - Emerge is a browser-based interactive codebase and dependency visualization tool for many different programming languages. It supports some basic code quality and graph metrics and provides a simple and intuitive way to explore and analyze a codebase by using graph structures.
community - Issue tracker for the community team at Sourcegraph
ghidra - Ghidra is a software reverse engineering (SRE) framework
IDE-Block - GitHub Block providing IDE-like features to help you read code.