https://github.com/swiftlang/vscode-swift
Visual Studio Code Extension for Swift
https://github.com/swiftlang/vscode-swift
swift vscode vscode-extension
Last synced: 15 days ago
JSON representation
Visual Studio Code Extension for Swift
- Host: GitHub
- URL: https://github.com/swiftlang/vscode-swift
- Owner: swiftlang
- License: apache-2.0
- Created: 2021-11-23T10:47:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T14:44:10.000Z (17 days ago)
- Last Synced: 2025-04-11T14:52:59.436Z (17 days ago)
- Topics: swift, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode
- Size: 3.99 MB
- Stars: 882
- Watchers: 22
- Forks: 68
- Open Issues: 94
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Swift for Visual Studio Code
This extension adds language support for Swift to Visual Studio Code, providing a seamless experience for developing Swift applications on all supported platforms. It supports:
* Code completion
* Jump to definition, peek definition, find all references, symbol search
* Error annotations and apply suggestions from errors
* Automatic generation of launch configurations for debugging with [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)
* Automatic task creation
* Package dependency view
* Test Explorer view# Documentation
The official documentation for this extension is available at [vscode-swift](https://www.swift.org/vscode/documentation/vscode)
This extension uses [SourceKit LSP](https://github.com/apple/sourcekit-lsp) for the [language server](https://microsoft.github.io/language-server-protocol/overviews/lsp/overview/), which powers code completion. It also has a dependency on [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap) for debugging.
To propose new features, you can post on the [swift.org forums](https://forums.swift.org) in the [VS Code Swift Extension category](https://forums.swift.org/c/related-projects/vscode-swift-extension/). If you run into something that doesn't work the way you'd expect, you can [file an issue in the GitHub repository](https://github.com/swiftlang/vscode-swift/issues/new).
## Contributing
The Swift for Visual Studio Code extension is based on an extension originally created by the [Swift Server Working Group](https://www.swift.org/sswg/). It is now maintained as part of the [swiftlang organization](https://github.com/swiftlang/), and the original extension is deprecated. Contributions, including code, tests, and documentation, are welcome. For more details, refer to [CONTRIBUTING.md](CONTRIBUTING.md).
To provide clarity on the expectations for our members, Swift has adopted the code of conduct outlined in the [Contributor Covenant](https://www.contributor-covenant.org). This widely recognized document effectively encapsulates our values. For more information, please refer to the [Code of Conduct](https://swift.org/code-of-conduct/).