support for multiple JDT LS in a single emacs process
jdt ls supports multi-root workspaces, however sometimes it is desirable to have multiple workspaces each running its own language servers. Running multiple emacs instances and setting distinct value for lsp-session-file and lsp-workspace-directory seems to work, but it would be great if a single emacs process to work with multiple workspaces.
filing per discussion here:
FYI I am working on synchronizing the lsp-mode folders with treemacs projects - https://github.com/emacs-lsp/lsp-treemacs/tree/sync . In treemacs you can have workspace (which is a set of projects). When enabled the sync mode will monitor when treemacs workspace has changed and it will add/remove the new folders which will kind of cover the switch workspace scenario.
Hi! Could I check if there are any updates on this?
ATM there is lsp-load-vscode-workspace which can be used to simulate workspace change.