|
1 |
| -## Setting up |
| 1 | +## Installing Swift |
2 | 2 |
|
3 | 3 | The [supported platforms](https://swift.org/platform-support/) for running Swift on the server and the [ready-built tools packages](https://swift.org/download/) are all hosted on swift.org together with installation instructions. There you also can find the [language reference documentation](https://swift.org/documentation/).
|
4 | 4 |
|
5 |
| -## IDE and Swift-aware editor alternatives |
| 5 | +## IDEs/Editors with Swift Support |
6 | 6 |
|
7 |
| -There are a few different options for doing the actual coding with completions etc depending on what platform you are using, a non-exhastive list: |
| 7 | +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. |
8 | 8 |
|
9 |
| -[Atom IDE support](https://atom.io/packages/ide-swift) |
| 9 | +* [Atom IDE support](https://atom.io/packages/ide-swift) |
10 | 10 |
|
11 |
| -[CLion](https://www.jetbrains.com/help/clion/swift.html) |
| 11 | +* [CLion](https://www.jetbrains.com/help/clion/swift.html) |
12 | 12 |
|
13 |
| -[Emacs plugin](https://github.com/swift-emacs/swift-mode) |
| 13 | +* [Emacs plugin](https://github.com/swift-emacs/swift-mode) |
14 | 14 |
|
15 |
| -[VIM plugin](https://github.com/keith/swift.vim) |
| 15 | +* [VIM plugin](https://github.com/keith/swift.vim) |
16 | 16 |
|
17 |
| -[Visual Studio Code](https://code.visualstudio.com) |
| 17 | +* [Visual Studio Code](https://code.visualstudio.com) |
| 18 | + * [Optional code completion plugin](https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment) |
18 | 19 |
|
19 |
| -[Visual Studio Code optional code completion plugin](https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment) |
| 20 | +* [Xcode](https://developer.apple.com/xcode/ide/) |
20 | 21 |
|
21 |
| -[Xcode](https://developer.apple.com/xcode/ide/) |
| 22 | +## Language Server Protocol (LSP) Support |
22 | 23 |
|
23 |
| -## Support for other editors using LSP |
| 24 | +The [SourceKit-LSP project](https://github.com/apple/sourcekit-lsp) provides a Swift implementation of the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/), which provides features such as code completion and jump-to-definition in supported editors. |
24 | 25 |
|
25 |
| -Additionally, the [SourceKit-LSP project](https://github.com/apple/sourcekit-lsp) has both an [extensive list of editors that supports it](https://github.com/apple/sourcekit-lsp/tree/main/Editors) and instructions on how to get completion in your favourite editor. |
| 26 | +The project has both an [extensive list of editors that support it](https://github.com/apple/sourcekit-lsp/tree/main/Editors) and setup instructions for those editors, including many of those listed above. |
26 | 27 |
|
27 | 28 | _Do you know about another IDE or IDE plugin that is missing? Please submit a PR to add them here!_
|
0 commit comments