eclipse-jdt / eclipse-jdt/eclipse.jdt.core

[Bug] - No Autocompletion/Import for annotation elements

Open
#2,826 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.