-
Notifications
You must be signed in to change notification settings - Fork 13
[#412] use C/C++ language definition from TM4E language pack #413
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
Conversation
this should fix the lagging multi-line selection via shift+cursor key as well. fixes eclipse-cdt#412
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of not having our own copy. Do we need some dependency on tm4e? Perhaps in the feature.xml so that if a user installs CDT LSP they get tm4e?
I think something like this, but I haven't tested it.
$ git diff
diff --git a/features/org.eclipse.cdt.lsp.feature/feature.xml b/features/org.eclipse.cdt.lsp.feature/feature.xml
index e64f8c7..574b0c3 100644
--- a/features/org.eclipse.cdt.lsp.feature/feature.xml
+++ b/features/org.eclipse.cdt.lsp.feature/feature.xml
@@ -29,6 +29,11 @@
%license
</license>
+ <requires>
+ <import feature="org.eclipse.tm4e.feature"/>
+ <import feature="org.eclipse.tm4e.language_pack.feature" />
+ </requires>
+
<plugin
id="org.eclipse.cdt.lsp"
version="0.0.0"/>
I agree. I thought that TM4E comes already along with CDT ? |
BTW: I think we should add a dependency to lsp4e as well |
Short answer is dependency management in Eclipse ecosystem is "its complicated":
Note that because dependency management in Eclipse ecosystem is complicated, there are lots of errors in it, so this isn't required to change. The Eclipse IDE for C/C++ Developers defines what features are included here so users of the EPP package won't be affected. |
Hm, I think the build job hangs |
this should fix the lagging multi-line selection via shift+cursor key as well.
fixes #412