Exposing internal code in eclipse.jdt.ls for extension #3708
-
|
Hi all, I'm trying out What are the JDT LS committers views on making internal code more extensible? Are PRs that open internal code for extension welcome, or should we fork and modify the code instead? To give a concrete example of my changes so far: trancexpress@1c0cc98 Best regards and thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
On principle, it's ok to request the code to be more extensible, but that's usually for the benefit of writing jdt.ls extensions. My understanding of your changes is you basically need to run a 2nd instance of jdt.ls, one tailored for xtext+java. But in this case, users would basically double the memory/cpu usage if both vscode-java and your extension were installed. Did I understand correctly? |
Beta Was this translation helpful? Give feedback.
-
|
Lets continue the discussion with actual code changes: #3719 We will need a few more changes than this, even for our starting prototype. But I've made an initial PR to see how such changes are received. |
Beta Was this translation helpful? Give feedback.
On principle, it's ok to request the code to be more extensible, but that's usually for the benefit of writing jdt.ls extensions. My understanding of your changes is you basically need to run a 2nd instance of jdt.ls, one tailored for xtext+java. But in this case, users would basically double the memory/cpu usage if both vscode-java and your extension were installed. Did I understand correctly?