Conversation
mickaelistria
commented
Jan 24, 2023
- Bump versions & adopt new APIs (eg remap globPatterns to String)
- Remove custom text hierarchy commands; use LSP standards
- Remove custom inlayHints, use standard
- Declare null notebook service
188bc01 to
9b636d7
Compare
9b636d7 to
13b6268
Compare
|
We can proceed with the migration. @CsCherrYY Would be good to confirm this handles everything in #2033 . |
|
@CsCherrYY If this helps, I can try to remove from that patch the parts about TypeHierarchy. Feel free to request it if needed. |
|
as for type hierarchy part, if we decide to move the implementation to LSP, we should also replace the client implementation: redhat-developer/vscode-java#2376 and it's precondition: redhat-developer/vscode-java#2377 @rgrunber I will rebase redhat-developer/vscode-java#2377 recently so that you can proceed the review process :) |
13b6268 to
12b1ee2
Compare
|
I have removed the migration to newer Typehierarchy from this PR. |
|
@mickaelistria should we update gson to 2.10.1? |
In this patch, I've removed direct reference to gson version so it just resolves the right one transitively from LSP4J requirements. So I don't think more changes are necessary. |
95980c7 to
1b0473c
Compare
* use flag proposed in eclipse-jdtls/eclipse.jdt.ls#2423 to prevent undesired "echo" of changes, markers, logs * Added requirements to m2e and buildship to workaround eclipse-jdtls/eclipse.jdt.ls#2429 * Updated TP to newer versions * Updated Tycho version * Currently added jdt-ls in same build as submodules to be able to used the "good" branch, compatible with Eclipse IDE, ie including ** eclipse-jdtls/eclipse.jdt.ls#2423 and ** eclipse-jdtls/eclipse.jdt.ls#2417
|
I don't think the failure is related. Can someone check this and confirm/infirm my impression? |
|
I ran the tests on the |
|
test this please |
|
I ran |
LSP/LSP4J doesn't maintain those API anymore, so let's include them into JDT-LS source code to allow moving JDT-LS to newer LSP/LSP4J version while still keeping current typeHierarchy commands.
1b0473c to
39cec55
Compare
rgrunber
left a comment
There was a problem hiding this comment.
Change looks good to me. Tried it out with redhat-developer/vscode-java#2377 and didn't find any problems. Once the issues there get resolved, I think we can merge this (although I tried, and this even seemed to work with the older client version).
| @JsonNotification("language/progressReport") | ||
| void sendProgressReport(ProgressReport report); | ||
|
|
||
| // TODO : remove this method when LSP4J will provide InlayHint support. See |
There was a problem hiding this comment.
I would just remove the same comment at https://github.com/eclipse/eclipse.jdt.ls/pull/2417/files#diff-28f5ba61a1d80eab1f3636300e9f9719268850930cb2609f7833d9502d5e4a4bR216-R217 of this file. That method gets to stay as it's a helper.
|
re-test this please. |
* Bump versions & adopt new APIs (eg remap globPatterns to String) * Remove custom inlayHints, use standard * Declare null notebook service
39cec55 to
9d93838
Compare
|
Thanks! |