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
+11-35Lines changed: 11 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,56 +22,32 @@ 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.
25
+
Before using SourceKit-LSP with Sublime Text, you will need to install the LSP package from Package Control. And you're ready to go if you have `xcrun` in the `$PATH`.
26
26
27
-
You will need the path to the `sourcekit-lsp` executable for the "command" section.
27
+
To configure SourceKit-LSP additionally, open the SourceKit-LSP package's settings by typing in command palette `Preferences: LSP-SourceKit Settings`. The following snippet should be enough to get started with Swift and Objective-C/C++ and the custom path to `sourcekit-lsp` executable.
28
28
29
29
```json
30
30
{
31
-
"clients":
32
-
{
33
-
"SourceKit-LSP":
34
-
{
35
-
"enabled": true,
36
-
"command": [
31
+
"command": [
37
32
"<sourcekit-lsp command>"
38
-
],
39
-
"env": {
40
-
// To override the toolchain, uncomment the following:
41
-
// "SOURCEKIT_TOOLCHAIN_PATH": "<path to toolchain>",
42
-
},
43
-
"languages": [
33
+
],
34
+
"languages": [
44
35
{
45
-
"scopes": ["source.swift"],
46
-
"syntaxes": [
47
-
"Packages/Swift/Syntaxes/Swift.tmLanguage",
48
-
"Packages/Decent Swift Syntax/Swift.sublime-syntax",
0 commit comments