Hi - I saw that some of the workspace capabilities have been added https://clojure-lsp.io/capabilities/. I’m trying to navigate them in Neovim. How does a workspace get created, is it possible to have more than one workspace ? Thanks
Workspace capabilities always existed but they are not necessarily related with what you think, clojure-lsp only supports one workspace/project per process ATM
So at the moment you can’t e.g. rename across projects - where a project is defined by a particular deps.edn/projiect.clj ?
Yes, unless it's a mono-repo and you start clojure-lsp in that mono-repo in a way it knows all submodules, like polylith
ok - understood - yes I know and use/like polylith
I didn’t realise as well that ( at least in Neovim ) there is a separate clojure-lsp process run for each project. Are there any plans to bring multi workspace functionality ?
It's not a priority given it's not easy and most of the time that's not a problem, I know people like me that open 3-4 projects at the same time
ok - yes I agree - I work in the same way some of the time and it does work well. I’m just figuring out how the workspace functionality in Neovim maps to clj-lsp. Thanks for the clarifiication.