-
Notifications
You must be signed in to change notification settings - Fork 913
Update LSP4J to 0.24.0 and Xtend/Xtext to 2.32.0 #9098
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
Update LSP4J to 0.24.0 and Xtend/Xtext to 2.32.0 #9098
Conversation
|
Sorry for the repeated commits, first time trying to contribue to NetBeans trying to get a hang around |
|
no worries. its an iterative process. Updating dependencies can be tricky in NB. Lets see what CI says. I only took a quick look but 2.32.0 makes sense to me since it is what 0.24.0 would resolve to, e.g: Bytecode level seems to be JDK 11 which is fine too. The gson lib wrapper likely needs updating too (that would be a separate commit since it is an independent module). regarding paperwork: Feel free to squash everything (LSP related) to one commit and force push. The resulting commit must have a valid email address, you can verify it by looking at the generated patch https://github.com/apache/netbeans/pull/9098.patch. Once reviewed, we would merge the branch as-is so the commit(s) should also have a descriptive message (e.g without intermediate status updates like "fixed license name" etc which might be left after squashing). |
e85d1f7 to
aac7f63
Compare
Update dependencies: bump LSP4J to 0.24.0 and Xtext to 2.32.0, replace deprecated API usages. Thus enabling better conformance with the latest LSP and DAP.
aac7f63 to
259d4ba
Compare
|
Thanks for the suggestions, did the following:-
What I did not do:-
and Am not exactly sure what exactly are the issues as the entire IDE itself is building on my end and all the tests are passing without any errors. An answer from Copilot tells me the following:-
A 'netbeans-vscode' repository using my changes to the 'netbeans' submodule is also building the extension just fine; and the 'ant test-lsp-server' and 'ant test-vscode-ext' tests pass without any errors. |
|
Not sure if I can fix the Tests, but I can fix my email commit headers with a fresh PR, since for some reason it's still stuck on my older one. Closing this PR. |
|
new PR is ok too of course but force pushing the branch with amended commit would also work. |
Bump org.eclipse.lsp4j (0.13.0→0.24.0) and org.eclipse.xtend/xtext (2.24.0→2.32.0). Update external binaries, license files and project metadata; adapt small API changes (Preconditions import and prepareRename → Either3).
Click to collapse/expand PR instructions
By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -
Please make sure (eg.
git log) that all commits have a valid name and email address for you in the Author field.If you're a first time contributor, see the Contributing guidelines for more information.
If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.
PR approval and merge checklist:
If this PR targets the delivery branch: don't merge. (full wiki article)