Installing Swift and using with IDEs
Installing Swift
The supported platforms for running Swift on the server and the ready-built tools packages are all hosted here on swift.org together with installation instructions. There’s also the language reference documentation section for viewing more information about Swift.
IDEs/Editors with Swift Support
A number of editors you may already be familiar with have support for writing Swift code. Here we provide a non-exhaustive list of such editors and relevant plugins/extensions, sorted alphabetically.
- Atom IDE support
- Atomic Blonde a SourceKit based syntax highlighter for Atom.
- Visual Studio Code
- Xcode
Language Server Protocol (LSP) Support
The SourceKit-LSP project provides a Swift implementation of the Language Server Protocol, which provides features such as code completion and jump-to-definition in supported editors.
The project has both an extensive list of editors that support it and setup instructions for those editors, including many of those listed above.
Do you know about another IDE or IDE plugin that is missing? Please submit a PR to add them here!