eclipse-jdt / eclipse-jdt/eclipse.jdt.core
[Bug] - No Autocompletion/Import for annotation elements
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
Autocompleteion does not work for annotation elements where key of element is not defined.
Steps:
- Load this project into eclipse,
[demo.zip](https://github.com/user-attachments/files/16635802/demo.zip)
- Open PointService.java class
- Try to autocomplete **Constants** at line 9, which is defined in test/another/Constants.java
Expected behaviour
- It should autocomplete and import **Contstans**.
Workaround
- If you put **value =** in front of **Constants****@RequestMapping(value = Constants)** it works as expected
Contributor guide
Assessment
This issue has not been assessed yet.