Skip to content
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

Upgrade to latest lsp4j #1629

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Upgrade to latest lsp4j #1629

wants to merge 4 commits into from

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Feb 19, 2024

No description provided.

dependabot bot and others added 2 commits February 14, 2024 19:44
Bumps `lsp4j.version` from 0.20.1 to 0.22.0.

Updates `org.eclipse.lsp4j:org.eclipse.lsp4j` from 0.20.1 to 0.22.0
- [Release notes](https://github.com/eclipse-lsp4j/lsp4j/releases)
- [Changelog](https://github.com/eclipse-lsp4j/lsp4j/blob/main/CHANGELOG.md)
- [Commits](eclipse-lsp4j/lsp4j@v0.20.1...v0.22.0)

Updates `org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc` from 0.20.1 to 0.22.0
- [Release notes](https://github.com/eclipse-lsp4j/lsp4j/releases)
- [Changelog](https://github.com/eclipse-lsp4j/lsp4j/blob/main/CHANGELOG.md)
- [Commits](eclipse-lsp4j/lsp4j@v0.20.1...v0.22.0)

---
updated-dependencies:
- dependency-name: org.eclipse.lsp4j:org.eclipse.lsp4j
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Previously org.eclipse.lsp4j transitively required org.eclipse.xtend.lib
but this is no longer the case, this adds it back here, but as lsp4j can
work without it lemminx should also consider to drop this requirement.

Also the API for WorkspaceFolder has changed here, so a test needs to be
adjusted here.
@mickaelistria
Copy link
Contributor

Such a change needs further coordination as it might break extensions.

Signed-off-by: Sebastian Zarnekow <[email protected]>
@angelozerr
Copy link
Contributor

Upgrading lsp4j is too a problem for vscide xml because it will require for user to upgrade their java version becayse today jzva8 is only required.

Hopefully we havr binary support but I think it will require some fix to support binary correctly vecause I suppose lsp4j provides nzw classes that we beed to declare in reflect json file.

Remove xtend.lib dependency
@laeubi
Copy link
Member Author

laeubi commented Feb 19, 2024

@mickaelistria @angelozerr

I tried to split up at laest the removal ox xtext now:

this should make things easier to upgrade later on.

Another problem is that lsp4j changed a constructor in a non backward compatible way, if lsp4 could add a legacy one at laest it will work to easily upgrade if decided to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants