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

Only give relevant quick fixes w.r.t. "Remove unused ..." #59

Closed
anthonyvdotbe opened this issue Oct 29, 2023 · 1 comment · Fixed by #160
Closed

Only give relevant quick fixes w.r.t. "Remove unused ..." #59

anthonyvdotbe opened this issue Oct 29, 2023 · 1 comment · Fixed by #160
Assignees
Labels
Apache-Netbeans bug Something isn't working
Milestone

Comments

@anthonyvdotbe
Copy link

See the image below. I did quick fix (Ctrl + .) on the variable x in the method run.

  • quick fixes should be unique, there are several occurrences of Remove all unused imports and Remove unused import
  • quick fixes should be useful: the occurrences of Remove unused import don't tell me which import
  • quick fixes should apply to the yellow underlined element, so I'd expect only a single warning in this case: Remove unused "x"

image

@Achal1607
Copy link
Member

Raised PR on netbeans: apache/netbeans#7353

@Achal1607 Achal1607 added bug Something isn't working In-Progress For the issues being worked on and removed enhancement New feature or request labels May 5, 2024
@Achal1607 Achal1607 added this to the JVSC-22.0.1 milestone May 5, 2024
@Achal1607 Achal1607 self-assigned this May 15, 2024
@Achal1607 Achal1607 added patch-ready-YTD The code has been merged in the branch/fix ready, release yet to happen and removed In-Progress For the issues being worked on labels May 17, 2024
@Achal1607 Achal1607 linked a pull request May 17, 2024 that will close this issue
@Achal1607 Achal1607 removed the patch-ready-YTD The code has been merged in the branch/fix ready, release yet to happen label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apache-Netbeans bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants