vknabel / vscode-swift-development-environment

New home of Swift Development Environment for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment
Apache License 2.0
175 stars 14 forks source link

Experiment: try to install sourcekite and sourcekit-lsp automatically #92

Closed vknabel closed 2 years ago

vknabel commented 3 years ago

This is a often and for a long time requested feature which fits sourcekite and sourcekit-lsp.

For each specific Swift version, the correct sourcekit-lsp branch must be picked. On version changes, it must be recompiled. Once installed sourcekite does not have the same problem, instead the installation requires more work.

In both cases a bash-script would be great.

A while back, I wrote a script which might help here. vknabel/mirror-sh A naive approach would just be mirror-swiftpm https://github.com/apple/sourcekit-lsp.git swift-5.2-branch sourcekit-lsp or mirror-swiftpm https://github.com/vknabel/sourcekite.git master sourcekite.

But: