Skip to content

swiftlang/vscode-swift

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Mar 18, 2025
Apr 4, 2025
Apr 4, 2025
Mar 10, 2025
Apr 1, 2025
Apr 4, 2025
May 13, 2024
Apr 4, 2025
Apr 4, 2025
Apr 1, 2025
Dec 17, 2024
Apr 1, 2025
Jan 3, 2024
Oct 22, 2024
Mar 18, 2025
Feb 19, 2025
Oct 10, 2024
Dec 12, 2024
Feb 26, 2025
Jan 9, 2025
Mar 20, 2025
Mar 31, 2025
Jun 11, 2024
Dec 8, 2021
Oct 25, 2024
Apr 1, 2025
Dec 9, 2021
Apr 2, 2025
Apr 1, 2025
Dec 17, 2024
Dec 17, 2024

Repository files navigation

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
  • Automatic task creation
  • Package dependency view
  • Test Explorer view

Documentation

The official documentation for this extension is available at vscode-swift

This extension uses SourceKit LSP for the language server, which powers code completion. It also has a dependency on LLDB DAP for debugging.

To propose new features, you can post on the swift.org forums in the VS Code Swift Extension category. If you run into something that doesn't work the way you'd expect, you can file an issue in the GitHub repository.

Contributing

The Swift for Visual Studio Code extension is based on an extension originally created by the Swift Server Working Group. It is now maintained as part of the swiftlang organization, and the original extension is deprecated. Contributions, including code, tests, and documentation, are welcome. For more details, refer to CONTRIBUTING.md.

To provide clarity on the expectations for our members, Swift has adopted the code of conduct outlined in the Contributor Covenant. This widely recognized document effectively encapsulates our values. For more information, please refer to the Code of Conduct.