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

Commit

Permalink
Added alternative language server
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Oct 29, 2018
1 parent 2bec714 commit e14697f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@

If you experience any problems during installation, file an issue or write me an [email](mailto:[email protected]). All kind of feedback helps especially when trying to automate this.

## Alternative Language Server

SDE allows you to use an alternative Language Server like [RLovelett/langserver-swift](https://github.com/RLovelett/langserver-swift) or Apple's [offically announced LSP](https://forums.swift.org/t/new-lsp-language-service-supporting-swift-and-c-family-languages-for-any-editor-and-platform/17024).

If you prefer using an alternative language server, set set `sde.languageServerMode` to `langserver` and let `swift.languageServerPath` point to your installed language server.

## Debugging

SDE has a built-in Swift debugger which has been deprecated. Instead use [LLDB Debugger](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) which powers more features and is more stable.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"properties": {
"swift.languageServerPath": {
"type": "string",
"default": "/usr/local/bin/LanguageServer",
"default": "/usr/local/bin/langserver-swift",
"description": "The fully qualified path to the Swift Language Server executable."
},
"swift.path.sourcekite": {
Expand Down

0 comments on commit e14697f

Please sign in to comment.