generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: minor fix for SourceToolkit-LSP doc
Signed-off-by: azerr <[email protected]>
- Loading branch information
1 parent
26defaf
commit a7d451d
Showing
2 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
To enable Swift language support in your IDE, you can integrate [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) by following these steps: | ||
|
||
1. Install Swift. Please see the [Getting Started Guide on Swift.org](https://www.swift.org/getting-started/) for details on how to install Swift on your system. | ||
This installation will install the [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) language server. | ||
This installation will install the [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) language server. | ||
|
||
2. **Open the New Language Server Dialog**. This can usually be found under the IDE settings related to Language Server Protocol (LSP). | ||
For more information, refer to the [New Language Server Dialog documentation](../UserDefinedLanguageServer.md#new-language-server-dialog). | ||
2. **Open the New Language Server Dialog**. This can usually be found under the IDE settings related to Language Server Protocol (LSP). | ||
For more information, refer to the [New Language Server Dialog documentation](../UserDefinedLanguageServer.md#new-language-server-dialog). | ||
|
||
3**Select SourceKit-LSP as the template** from the available options. | ||
3. **Select SourceKit-LSP as the template** from the available options. | ||
This will populate the command field with a default command `sourcekit-lsp` | ||
|
||
![SourceKit-LSP template](../images/user-defined-ls/SourceKitLSPTemplate.png) | ||
|
||
4. **Optional**: You may also customize the mappings section according to your preferences. | ||
|
||
![SourceKit-LSP template mappings](../images/user-defined-ls/SourceKitLSPTemplateMappings.png) | ||
|
||
5. **Click OK** to apply the changes. You should now have Swift language support enabled in your IDE. | ||
|
||
|
||
![SourceKit-LSP in LSP Console](../images/user-defined-ls/SourceKitLSPInLSPConsole.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters