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

Code-completion for a dependency/plugin's 'version' element only proposes locally available versions #583

Open
HannesWell opened this issue Aug 24, 2024 · 0 comments

Comments

@HannesWell
Copy link

When activating the Content-Assist in a pom.xml at the version element of a dependency and plugin it looks like only locally available version are proposed instead of all version available in the available repositories (e.g. Maven-Central).

The Maven-Resolver offers a simple API to obtain all available versions in a range, e.g. [0,) for all:
https://github.com/apache/maven-resolver/blob/d6177759dd22df3c7b59722ae92a25f9bb3d43f4/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/FindAvailableVersions.java#L46-L58

I don't know how lemminx-maven has implemented its proposals, but if one can guide me to the right location I can have a look at this.

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

No branches or pull requests

1 participant