
Swift LSP
Integrates Apple's SourceKit-LSP to bring SourceKit features into Claude Code for Swift and mixed Swift/Objective-C projects. It connects to your workspace, reads compile flags and package manifests, and starts a language server that speaks the project's build settings so completions and diagnostics match what the compiler sees.
It provides context-aware completions, parameter help, signature information, and semantic highlighting. You can jump to definitions, find references, get workspace symbols, and apply code actions like fix-its and organize imports. Diagnostics update as you edit and point to the exact file and line the compiler would report.
The extension watches file changes, indexes modules and packages in the background, and responds to textDocument/hover, textDocument/rename and workspace/symbol requests. It reads Package.swift, Xcode build settings, and SwiftPM layouts so navigation and type-aware suggestions work across targets and test bundles.
For example, when you work on an iOS app with several frameworks and bridging headers, you won't need to open Xcode to check where a type is defined or whether a new change breaks compilation; the server pulls the right flags and shows diagnostics inside Claude Code, saving context switches and time.