You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editors/README.md
+1-52Lines changed: 1 addition & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -22,58 +22,7 @@ The [Swift for Visual Studio Code extension](https://marketplace.visualstudio.co
22
22
23
23
## Sublime Text
24
24
25
-
Before using SourceKit-LSP with Sublime Text, you will need to install the LSP package from Package Control. To configure SourceKit-LSP, open the LSP package's settings. The following snippet should be enough to get started with Swift.
26
-
27
-
You will need the path to the `sourcekit-lsp` executable for the "command" section.
28
-
29
-
```json
30
-
{
31
-
"clients":
32
-
{
33
-
"SourceKit-LSP":
34
-
{
35
-
"enabled": true,
36
-
"command": [
37
-
"<sourcekit-lsp command>"
38
-
],
39
-
"env": {
40
-
// To override the toolchain, uncomment the following:
41
-
// "SOURCEKIT_TOOLCHAIN_PATH": "<path to toolchain>",
42
-
},
43
-
"languages": [
44
-
{
45
-
"scopes": ["source.swift"],
46
-
"syntaxes": [
47
-
"Packages/Swift/Syntaxes/Swift.tmLanguage",
48
-
"Packages/Decent Swift Syntax/Swift.sublime-syntax",
Before using SourceKit-LSP with Sublime Text, you will need to install the [LSP](https://packagecontrol.io/packages/LSP), [LSP-SourceKit](https://github.com/sublimelsp/LSP-SourceKit) and [Swift-Next](https://github.com/Swift-Next/Swift-Next) packages from Package Control. Then toggle the server on by typing in command palette `LSP: Enable Language Server Globally` or `LSP: Enable Language Server in Project`.
0 commit comments