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

DAP: Variable.declarationLocationReference and Variable.valueLocationReference are missing #862

Closed
jansorg opened this issue Jan 7, 2025 · 7 comments · Fixed by #863
Closed
Milestone

Comments

@jansorg
Copy link
Contributor

jansorg commented Jan 7, 2025

The DAP spec defines properties declarationLocationReference and valueLocationReference for type Variable.
https://microsoft.github.io/debug-adapter-protocol//specification.html#Types_Variable

But LSP4J's Variable does not define these properties.

@jonahgraham jonahgraham added this to the 0.24.0 milestone Jan 7, 2025
@jonahgraham
Copy link
Contributor

Hi, @jansorg - the current LSP4J DAP implementation needs updating, it currently on 1.65, but the latest spec is 1.69 and the locationReferences are a new feature in 1.68.

I will look at adding the new versions soon to LSP4J, but not sure exactly when. Contributions are welcome and if you can get a PR in I will prioritize that sooner.

@jansorg
Copy link
Contributor Author

jansorg commented Jan 7, 2025

@jonahgraham Thanks!
I tried to find out where the properties are defined, but was unable to find it. They seem to be autogenerated.
Do you mind to point me where I'd have to update the properties? Then I'll try to make this happen.

@cdietrich
Copy link
Contributor

@jansorg
Copy link
Contributor Author

jansorg commented Jan 7, 2025

#863 should sync the current DAP implementation with the latest spec.
I'll fix the Eclipse ECA thing tomorrow...

@jansorg
Copy link
Contributor Author

jansorg commented Jan 8, 2025

@jonahgraham I've finished the pull request to sync with the DAP 1.69 spec. I'd appreciate if this was shipped with the next release.
I'm not sure why the ECA is still shown as unavailable, I've signed it and the GitHub Actions check seemed to be successful.

@jonahgraham
Copy link
Contributor

@jonahgraham I've finished the pull request to sync with the DAP 1.69 spec.

Wonderful, thanks for doing that work. I will review it and, if ready, will merge soon...

I'd appreciate if this was shipped with the next release.

... once merged it will be in snapshots on maven central. We haven't discussed a next release date, but if you have input on when it would mesh well with your schedule can you comment on #834

@jonahgraham jonahgraham mentioned this issue Jan 8, 2025
35 tasks
@jonahgraham
Copy link
Contributor

once merged it will be in snapshots on maven central

0.24.0-SNAPSHOT should now include this change. LMK if you see anything awry.

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 a pull request may close this issue.

3 participants