Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit a4d1256

Browse files
fxnvknabel
authored andcommitted
Update instructions for sourcekit-lsp
1 parent 2838266 commit a4d1256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ If you experience any problems during installation, file an issue. All kind of f
4747
### Using sourcekit-lsp
4848

4949
1. Install [SDE](https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment).
50-
2. [Install sourcekit-lsp](https://github.com/apple/sourcekit-lsp#building-sourcekit-lsp).
51-
3. Add the _absolute_ path to your compiled sourcekite binary `sourcekit-lsp.serverPath`, optionally to your toolchain `sourcekit-lsp.toolchainPath` and tell SDE to use sourcekit-lsp `"sde.languageServerMode": "sourcekit-lsp"`.
50+
2. Recent versions of Xcode ship with `sourcekit-lsp`, you can check its path running `xcrun -f sourcekit-lsp`. If not found, please [install sourcekit-lsp](https://github.com/apple/sourcekit-lsp#building-sourcekit-lsp).
51+
3. Set `"swift.languageServerPath": "absolute path to the sourcekit-lsp executable"` and `"sde.languageServerMode": "sourcekit-lsp"`.
5252

5353
### Using Langserver Swift
5454

0 commit comments

Comments
 (0)