diff --git a/docs/user-defined-ls/sourcekit-lsp.md b/docs/user-defined-ls/sourcekit-lsp.md index 37ae7b63..6722f6d2 100644 --- a/docs/user-defined-ls/sourcekit-lsp.md +++ b/docs/user-defined-ls/sourcekit-lsp.md @@ -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. - \ No newline at end of file + + ![SourceKit-LSP in LSP Console](../images/user-defined-ls/SourceKitLSPInLSPConsole.png) \ No newline at end of file diff --git a/src/main/resources/templates/sourcekit-lsp/README.md b/src/main/resources/templates/sourcekit-lsp/README.md index caebf9a2..bfdba452 100644 --- a/src/main/resources/templates/sourcekit-lsp/README.md +++ b/src/main/resources/templates/sourcekit-lsp/README.md @@ -6,16 +6,9 @@ To enable Swift language support in your IDE, you can integrate [SourceKit-LSP]( 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. -This will populate the command field with a default command `sourcekit-lsp` - -![SourceKit-LSP template](../images/user-defined-ls/SourceKitLSPTemplate.png) +3. **Select SourceKit-LSP as the template** from the available options. + This will populate the command field with a default command `sourcekit-lsp` 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) - \ No newline at end of file +5. **Click OK** to apply the changes. You should now have Swift language support enabled in your IDE. \ No newline at end of file