New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conceptual overview missing #287
Comments
I actually don't quite understand the difference between workspace and client myself. It seems there's one server process per workspace, and one client per buffer, but then there's more than one buffer per workspace, so that doesn't make much sense. How about merging the two structures into a single structure? |
I am coming to the conclusion that they should be merged, as I think a workspace always has exactly one client. |
Except I think we do need both. The The So if you open up two different haskell projects (as determined by the |
That is what #289 would do.
This makes a lot of sense, but doesn't seem to match the code at all. It looks like right now we have one client per buffer (because
|
I am happy with either of those approaches. |
I think your suggestion is cleaner because it clearly separates the portions relating to a single server process from the "workspace factory" code. I'll send a PR. |
One workspace can have multiple clients for different languages. See #335 The current usage of |
The documentation was extended in 7c55ba5 (e. g. https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-mode.el#L610) please reopen if you think that it is not enough. |
Replace known issue with dialyzer cpu usage
Co-authored-by: John Herrlin <john.herrlin@fortnox.se>
The concepts "workspace" and "client" are fundamental for
lsp-mode
, but not well documented. There should be precise and exhaustive documentation about the fundamental abstractions that these types provide, their relationship with buffers and server processes, etc.The text was updated successfully, but these errors were encountered: