| Summary: | [content assist] Option to add ".class" qualifier when auto-completing Class<?> annotated attribute | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Paul Benedict <pbenedict> |
| Component: | Core | Assignee: | JDT Core Triaged <jdt-core-triaged> |
| Status: | NEW --- | QA Contact: | Ayushman Jain <amj87.iitr> |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | amj87.iitr, daniel_megert, remy.suen |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Paul Benedict
>If an annotation's attribute is a Class<?> type, and I use auto-complete to
>select a class, the ".class"
You can type a '.' to make the proposal pop-up open again which suggests '.class', right?
> You can type a '.' to make the proposal pop-up open again which suggests
> '.class', right?
Of course. Just to be clear, this ticket is to save the extra two clicks. It's really not necessary when I am choosing a class for a Class<?> type.
(In reply to comment #2) > > You can type a '.' to make the proposal pop-up open again which suggests > > '.class', right? > > Of course. Just to be clear, this ticket is to save the extra two clicks. It's > really not necessary when I am choosing a class for a Class<?> type. OK, just wanted to make sure. Automatically adding ".class" when the user selects the type is not something I want to add an option for. What I could imagine is that JDT Core detects this scenario and then proposes both, the type and the class object. |