coc-sourcekit icon indicating copy to clipboard operation
coc-sourcekit copied to clipboard

Is it still necessary to download a toolchain?

Open benwoodward opened this issue 5 years ago • 3 comments

sourcekit-lsp seems to be included as part of XCode 11.4. Does this mean downloading a toolchain is no longer necessary ?

benwoodward avatar Jul 04 '20 04:07 benwoodward

The path can be found using xcrun --find sourcekit-lsp and can be used as the command path to write and complete Swift, although couldn't get UIKit support to work

matthewspear avatar Jul 10 '20 01:07 matthewspear

If sourcekit-lsp is provided by Xcode now than you shouldn't have to download a separate toolchain.

Under the hood coc-sourcekit already runs xcrun --toolchain swift --find sourcekit-lsp so it should automatically find the Xcode version if no other toolchains are installed.

klaaspieter avatar Jul 10 '20 13:07 klaaspieter

@benwoodward @Matthewspear if it works, feel free to update the README 😄

klaaspieter avatar Jul 10 '20 13:07 klaaspieter