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
{{ message }}
This repository was archived by the owner on Jun 22, 2024. It is now read-only.
|`sourcekit-lsp.serverPath`|`string`|| The path of the sourcekit-lsp executable\nIn SDE: defaults to the toolchain's sourcekit-lsp. |
68
-
|`sourcekit-lsp.toolchainPath`|`string`|| The path of the swift toolchain.\nIn SDE: defaults to Xcode's default toolchain. |
67
+
|`sourcekit-lsp.serverPath`|`string`|| The path of the sourcekit-lsp executable. In SDE: defaults to the toolchain's sourcekit-lsp. |
68
+
|`sourcekit-lsp.toolchainPath`|`string`|| The path of the swift toolchain. In SDE: defaults to Xcode's default toolchain. |
69
69
|`swift.languageServerPath`|`string`|`/usr/local/bin/langserver-swift`|[DEPRECATED] The fully qualified path to the Swift Language Server executable. |
70
70
|`swift.path.sourcekite`|`string`|| The fully path to the sourcekite(SDE's LS backend). |
71
71
|`swift.path.swift_driver_bin`|`string`|`/usr/bin/swift`| The fully path to the swift driver binary. |
@@ -206,6 +206,21 @@ Since Xcode 11.4, you may use its built-in support for sourcekit-lsp
206
206
207
207
Go to vscode `OUTPUT` window, then select `SPM`. The `OUTPUT` window will tell you what's wrong.
208
208
209
+
### I'd like to have a different build paths than usually. How can I achieve that?
210
+
211
+
You can compile your app using a command like `swift build --build-path "./.build-macos"` on macOS and `swift build --build-path "./.build-linux"` on Linux, e.g. from within a docker container, you just need to add the appropriate building parameter:
212
+
213
+
```
214
+
// .vscode/settings.json
215
+
{
216
+
"sde.swiftBuildingParams": [
217
+
"build",
218
+
"--build-path",
219
+
"./.build-macos"
220
+
]
221
+
}
222
+
```
223
+
209
224
### Other questions?
210
225
211
226
If so, file an [issue](https://github.com/vknabel/vscode-swift-development-environment/issues), please :)
0 commit comments