Swift GSoC 2026 delivers DocC, concurrency and syntax tooling
Brief
Swift’s 2026 GSoC showcase reports three completed projects aimed at documentation editing, concurrency diagnostics and code tooling.
DocC support in SourceKit-LSP
- SourceKit-LSP now supports go-to-definition for DocC symbol links in comments, Markdown and tutorials, clickable links in DocC previews, and syntax highlighting for DocC Markdown and tutorial files.
- The features work in any editor that supports LSP, including VS Code and Vim.
Concurrency task tracking
- A high-performance, always-on registry lets the Swift runtime track tasks in a process; lldb and tools such as swift-inspect can read it to help investigate task activity.
- In a stress test spawning more than 600,000 tasks, tracking added about 0.015 seconds to a 0.37-second run.
Qualified lookup in swift-syntax
- The SwiftLexicalLookup module gained qualified name lookup, helping macros, linters and code generators resolve names in context without implementing lookup themselves.
Generated by AI from the original article. Check the source for full details.