Back to Plugins

Swift LSP

Language Server Protocol support for Swift development. Real-time type checking, Xcode integration, SwiftUI previews, and intelligent code completion for iOS, macOS, watchOS, and tvOS development.

swiftlspiosmacosofficialxcode

Installation

claude plugins add swift-lsp@claude-plugins-official

Configuration

{
  "enabledPlugins": {
    "swift-lsp@claude-plugins-official": true
  }
}

Commands

/swift-checkType check Swift files and show errors
/swift-formatFormat Swift code with swift-format
/swift-buildBuild Swift package or Xcode project

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions
View source on GitHub