eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
QuickFix for annotations import not enough grained
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 28
Description
I want to describe a small bug/enhancement for Quick Fix function.
When we add an annotation for class/method/field we can see in proposes an imports, that a not applicable for given context.
For demonstration I have created [small project](https://github.com/bvfalcon/eclipse-ide-annotation-quickfix-test):
Creating a method and annotating it with `@Test` annotation. We have in classpath two annotations with such name, but they have different `@Target`. For our context applicable only one of these annotations - red arrow. Green arrow is not applicable and cannot be shown in Quick Fix

Screenshot 1

Screenshot 2
Contributor guide
Assessment
This issue has not been assessed yet.