LSIF + Go
summary
LSIF stores precomputed code intelligence as newline-separated JSON vertices and edges that let UIs answer hover, go-to-definition, and find-references without running a language server. A Go generator walks the AST using go/ast and go/packages, links references to definitions, and emits the graph. Graphs are multiple orders of magnitude larger than source, Go indexing takes minutes for medium repos, and only TypeScript Java and Go are supported today. Work under way: DB storage, compression, and commit deltas for incremental updates.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:14What is LSIF
- 1:02When is LSIF useful
- 1:21Tradeoffs
- 2:17Running Example
- 3:15JSON Format
- 3:32Command Line Tool
- 3:47Challenges
- 4:59Outro








