- Notifications
You must be signed in to change notification settings - Fork84
Visual Studio Code Extension for Swift
License
swiftlang/vscode-swift
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 withLLDB DAP
- Automatic task creation
- Package dependency view
- Test Explorer view
Note
Most features of the Swift for Visual Studio Code extension only work with projects that build with Swift Package Manager. These projects will have aPackage.swift
file in their root folder. Support for Xcode projects (.xcodeproj
) is limited.
Thegetting started guide andofficial documentation for this extension are available onswift.org.
This extension usesSourceKit LSP for thelanguage server, which powers code completion. It also has a dependency on theLLDB DAP extension to enable debugging.
To propose new features, you can post on theswift.org forums in theVS Code Swift Extension category. If you run into something that doesn't work the way you'd expect, you canfile an issue in the GitHub repository.
The Swift for Visual Studio Code extension is based on an extension originally created by theSwift Server Working Group. It is now maintained as part of theswiftlang organization, and the original extension is deprecated. Contributions, including code, tests, and documentation, are welcome. For more details, refer toCONTRIBUTING.md.
To provide clarity on the expectations for our members, Swift has adopted the code of conduct outlined in theContributor Covenant. This widely recognized document effectively encapsulates our values. For more information, please refer to theCode of Conduct.
About
Visual Studio Code Extension for Swift
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.