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

"Extract all values..." uses wrong key on identical values #1559

Closed
Bananeweizen opened this issue Sep 21, 2023 · 3 comments
Closed

"Extract all values..." uses wrong key on identical values #1559

Bananeweizen opened this issue Sep 21, 2023 · 3 comments

Comments

@Bananeweizen
Copy link
Contributor

This is part of the improvements video: https://www.youtube.com/watch?v=bUnx9_jF-ig

Note the identical version numbers before the refactoring:
grafik
After the refactoring both version numbers wrongly use the same key "...failsafe...", even on the surefire plugin:
grafik

@Bananeweizen Bananeweizen changed the title Extract all vaLUuses wrong key on identical values "Extract all values..." uses wrong key on identical values Sep 21, 2023
@laeubi
Copy link
Member

laeubi commented Sep 22, 2023

@Bananeweizen this is a feature of lemminx-maven I'm not sure if it is intentional but you might get better feeedback there.

@mickaelistria
Copy link
Contributor

I think it's fine to see such behavior for "Extract all values..." (as opposed to "Extract property" which would only take the current selection). Some typical cases for this feature are JUnit, Spring, Maven itself which often comes with various dependencies to explicit, all using the same version. This feature is meant to cover such case and to introduce 1 property to rule them all.

@Bananeweizen
Copy link
Contributor Author

Okay, and thanks @laeubi for the clarification. I was already wondering when I created the issue if I'm in the right project, but I didn't remember lemminx that moment.

@Bananeweizen Bananeweizen closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2023
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

3 participants