Swift LSP

Plugin

为 Claude Code 接入 SourceKit-LSP,让 agent 在 Swift 代码里跳转定义、查找引用、查看符号等。需先安装 Swift 工具链或 Xcode。Anthropic 官方插件。

anthropics/claude-plugins-official · plugins/swift-lsp40.4k
在 GitHub 查看
README

swift-lsp

Swift language server (SourceKit-LSP) for Claude Code, providing code intelligence for Swift projects.

Supported Extensions

.swift

Installation

SourceKit-LSP is included with the Swift toolchain.

macOS

Install Xcode from the App Store, or install Swift via:

brew install swift

Linux

Download and install Swift from swift.org.

After installation, sourcekit-lsp should be available in your PATH.

More Information