Using SourceKit LSP to Read Code in the Browser
summary
Explains how the Swift language server SourceKit-LSP exposes IDE features (autocomplete, go-to-definition, symbol info) via the Language Server Protocol so editors like VS Code can provide Xcode-like functionality. Describes LSP as an abstraction of editor/IDE services and how SourceKit is used to implement Swift’s LSP so those features can be used in browsers or non‑Xcode editors.
AI-written summary · about
chapters (8)
- 0:00SourceKit LSP in browser
- 6:35What is SourceKit LSP
- 11:51SourceKit LSP with VS Code
- 17:33JSON-RPC with SourceKit LSP
- 24:52Integrating LSP programs
- 33:55Browser extensions for LSP
- 39:30Extending to iOS
- 41:36Closing thoughts
related talks
05mIntroducing SourceKit-LSP
36mBuilding Swift Packages in VSCode
30mImproving the development experience with language servers
44mThe Language Server Protocol Why The Hype
22mEclipse Che and the Language Server Protocol
47mBattle of the Titans: LSP vs PSI (VS Code vs IntelliJ)
40mIntegrating IDEs with Dotty the experimental Scala compiler
44mDeveloping a Language Plugin: LSP versus the Joy of Learning
