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

Update instructions for sourcekit-lsp #70

Closed fxn closed 4 years ago

fxn commented 4 years ago

I had to Google around to find these simple couple of settings work for modern installations. I am just learning Swift, not sure about the deletion of the tool chain bit. In any case, you do not need that SourceKit-LS extension anymore, right?

vknabel commented 4 years ago

Hi @fxn! Thanks for the great documentation improvements!

What do you mean with not sure about the deletion of the tool chain bit? Maybe I can help.

fxn commented 4 years ago

Oh! The original docs had this sentence:

optionally to your toolchain sourcekit-lsp.toolchainPath

I don't have that plugin and don't know if there is an equivalent recommendation that is worthwhile to keep. With those two settings this seems to be working fine.

Thanks for maintaining this extension, works like a charm!

vknabel commented 4 years ago

Oh I see. A toolchain contains Swift clang and a few other tools. So this is only relevant, when having multiple Swift versions installed. Thanks!