Closed coreyoconnor closed 5 years ago
This is the first I've seen of lsp-next, but it looks right.
It's been a while since I've hacked on this, but maybe we don't need that sbt:root
after https://github.com/emacs-lsp/lsp-mode/issues/319? My projectile root is going to be my sbt:root in every case except one really irritating repo whose structure I wouldn't want to inflict on everyone else. :smile:
FWIW Metals now respects the rootUri
parameter in the initialize request and the working directory of the process has no impact.
Oof. I should really get a handle on the projectile root mechanism. I agree, at least I'm fairly sure, the sbt:root
will be my projectile root in every case. I'll drop that bit. As well as the working directory of process changes.
I don't see a release schedule for lsp next. Is it worth gating it's use using featurep
? Otherwise I'll update this to only support lsp-next
I haven't tried lsp-mode
in a bit. Is there any downside to supporting the standard release and lsp-next via featurep
while that transition completes?
Worked into #14. Thanks for the initial PR!
Currently only the bare necessary to get lsp-scala running with lsp next. This uses lsp workspaces (derived from projectile) instead of sbt:find-root. I did not see a good place to integrate that. Still needed?
See also: https://github.com/emacs-lsp/lsp-mode/issues/479