Naming and purpose of org.eclipse.cdt.lsp.editor.ui plug-in #56
ghentschke
started this conversation in
General
Replies: 2 comments 14 replies
-
Currently I'am working on a PR to separate/refactor the code according to my purpose above. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is how it looks from my side, 4 bundles seem to be a good compromise between necessity and perfectionism:
Having org.eclipse.cdt.lsp as a prefix and (for example) the mapping for segments like
we will get the following list of bundles:
WDYT @ghentschke @ddscharfe ? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'am not satisfied with the current plug-in name. I think
org.eclipse.cdt.lsp.default
/org.eclipse.cdt.lsp.default.server
or something like this would be more appropriate since it should IMO reflect the purpose of the plug-in.IMO it should contain all stuff for a default language server definition in CDT which is (currently) clangd. This server definition is enabled by a project property setting. Other IDE vendors may provide their own server definitions depending on their specific toolchain with
enabledWhen
based on a specific project nature or whatever. They can override the default server definition by setting a higher priority in the server definition extension point.The
org.eclipse.cdt.lsp
should contain the logic used to configure LSP4E and manage which editor to use for a given C/C++ source file depending on the enable expression provided by the server provider. It also provides stuff which LSP4E cannot, because it needs a language specific implementation (e.g. content provider for the C data model). So this plugin contains everything which is independent of the provided server.Beta Was this translation helpful? Give feedback.
All reactions