[Feature Request][LSP] Configuration of workspaceFolders

I’m currently writing a language server plugin in order to add monorepo and multi-root workspace support. The desired (and recommended?) approach is to run a language server client for each root in the repository.

Unfortunately it seems while Nova supports workspaceFolders in its LSP server (LanguageClient - Nova) I am unable to configure the workspaceFolders param passed to the LSP client. This causes issues with running multiple LSP servers in projects; as well as issues with LSP servers that expect the workspaceFolders roots passed to them to abide by certain protocols.

This is likely something we would add support for in the core app, as it’s somewhat predicated on Nova’s own projects supporting multiple disparate folders.

1 Like