Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.29 KB

sourcekit-lsp.md

File metadata and controls

20 lines (12 loc) · 1.29 KB

To enable Swift language support in your IDE, you can integrate SourceKit-LSP by following these steps:

  1. Install Swift. Please see the Getting Started Guide on Swift.org for details on how to install Swift on your system. This installation will install the 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.

  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

  1. Optional: You may also customize the mappings section according to your preferences.

    SourceKit-LSP template mappings

  2. Click OK to apply the changes. You should now have Swift language support enabled in your IDE.

    SourceKit-LSP in LSP Console