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

Use public API for java hover #5375

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Use public API for java hover #5375

merged 1 commit into from
Jun 27, 2023

Conversation

Arthurm1
Copy link
Contributor

Refactored the java hover to only use the public jdk.compiler API. So no --add-exports are needed. At least I think that's true

Just seeing if this is possible really rather than moving to jdk 11 or 17.

Ideally the SCIP plugin would also only use the public API so no --add-exports would be needed for that but no idea on feasibility.

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Good idea!

@tgodzik tgodzik merged commit b13096e into scalameta:main Jun 27, 2023
23 of 24 checks passed
@Arthurm1 Arthurm1 deleted the java_hover branch June 28, 2023 14:04
ckipp01 added a commit to ckipp01/nvim-metals that referenced this pull request Jul 18, 2023
This is no longer needed as of scalameta/metals#5375. You can see more context for this in scalameta/metals#5453 (comment).
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.

2 participants