Home Explore Blog CI



zed

1st chunk of `docs/src/languages/swift.md`
a712a991041cf4b6bc6cb409f87231dea9174bc08cdde17b00000001000002f6
# Swift

Swift language support in Zed is provided by the community-maintained [Swift extension](https://github.com/zed-extensions/swift).
Report issues to: [https://github.com/zed-extensions/swift/issues](https://github.com/zed-extensions/swift/issues)

- Tree-sitter: [alex-pinkus/tree-sitter-swift](https://github.com/alex-pinkus/tree-sitter-swift)
- Language Server: [swiftlang/sourcekit-lsp](https://github.com/swiftlang/sourcekit-lsp)

## Configuration

You can modify the behavior of SourceKit LSP by creating a `.sourcekit-lsp/config.json` under your home directory or in your project root. See [SourceKit-LSP configuration file](https://github.com/swiftlang/sourcekit-lsp/blob/main/Documentation/Configuration%20File.md) for complete documentation.

Title: Swift Language Support in Zed
Summary
Zed supports the Swift language through a community-maintained extension. Issues should be reported to the extension's GitHub repository. The extension uses tree-sitter-swift and sourcekit-lsp. The behavior of SourceKit LSP can be configured using a config.json file in the home directory or project root.