Is extension `` of `WorkspaceFolder` still available?

The page LSP Extensions ( sourcekit-lsp/Contributor Documentation/LSP Extensions.md at main · swiftlang/sourcekit-lsp · GitHub ) mentions property buildSetup.

I tried to use it in an LSP client, but couldn’t make it work.

Later, I found a commit which removed the property ( Allow configuring of SourceKit-LSP’s options using configuration files by ahoppen · Pull Request #1524 · swiftlang/sourcekit-lsp · GitHub ) and the documentation.

But since the documentation is still available, I’m unsure what’s the current state.

Is this LSP extension still supported in the latest version of sourcekit-lsp?

Thanks!

It’s not supported - you can instead use a workspace level .sourcekit-lsp/config.json ( sourcekit-lsp/Documentation/Configuration File.md at main · swiftlang/sourcekit-lsp · GitHub ).

Looks like it was accidentally added back into the documentation in removed OpenGeneratedInterfaceRequest by AppAppWorks · Pull Request #1532 · swiftlang/sourcekit-lsp · GitHub , I’ll put up a PR to remove that now - thanks for noticing!

EDIT: Removing in Remove documentation for `WorkspaceFolder` by bnbarham · Pull Request #2298 · swiftlang/sourcekit-lsp · GitHub

1 Like