scip-ruby - A Ruby indexer built with Sorbet
summary
scip-ruby is an open source indexer that uses Sorbet to produce IDE features like Go to definition and Find usages across repos and gems; the implementation is ~2000 lines with ~1500 snapshot tests and runs as an ahead-of-time index uploaded per commit to Sourcegraph. a one-line hack forces Sorbet to emit control‑flow graphs for untyped files and surprisingly makes navigation work across partially adopted codebases. expect scip-ruby to be a Sorbet‑based indexer, force Sorbet to type check untyped files, and to power precise cross‑repo queries.
AI-written summary · about
chapters (11)
- 0:00scip-ruby introduction
- 3:29Indexer role in navigation
- 5:54Building scip-ruby on Sorbet
- 8:00Sorbet internals integration
- 12:56Sorbet control flow graph
- 15:00Precise index emission
- 18:09Simplifying compiler complexity
- 19:10Untyped Ruby handling
- 21:36Snapshot testing
- 22:38Try scip-ruby today
- 24:01Q&A
related talks
21mBlazing-fast Code Indexing for Smarter Ruby Tools
30mIntroducing Sorbet into your Ruby codebase
41mSorbet: A type checker for Ruby 3 you can use today!
48mGradual typing for Ruby at Scale with Sorbet
31mStatic Type Checking in Rails with Sorbet
32mGradual Typing in Ruby - A Three Year...
30mCompiling Ruby to Native Code with Sorbet & LLVM
30mSorbet at Grailed: Typing a Large Rails Codebase to Ship with...
