Bug 89612 - [5.0][content assist] Content Assist for annotation elements should add a '='
Summary: [5.0][content assist] Content Assist for annotation elements should add a '='
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on: 89602
Blocks:
  Show dependency tree
 
Reported: 2005-03-30 12:20 EST by Markus Keller CLA
Modified: 2014-04-23 06:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-03-30 12:20:58 EST
I20050330-0500

public class Try {
    @Tag(/*ContentAssist*/)
    void n() {}
}

@interface Tag {
    String name() default "name";
    String value();
}

- execute content assist where indicated above
-> expected: proposal 'value' inserts 'value='
-> was: inserts just 'value'

BTW: content assist after 'value=' does currently not work (bug 89602).
Comment 1 Dani Megert CLA 2005-03-30 12:23:38 EST
time permitting for M7
Comment 2 Dani Megert CLA 2005-05-25 18:09:28 EDT
Setting to remind until dependent bug has been fixed.
Comment 3 Tom Hofmann CLA 2005-05-31 07:15:43 EDT
reopening
Comment 4 Tom Hofmann CLA 2005-05-31 07:18:03 EDT
We don't get any proposals for an empty prefix, currently (consistent with code
assist behavior in other situations). However, '=' should be included in the
trigger chars for the annotation element reference, which would be an easy fix.

Low priority for 3.1.
Comment 5 Dani Megert CLA 2005-05-31 07:31:08 EDT
not for 3.1
Comment 6 Victor Homyakov CLA 2012-03-05 06:25:48 EST
Bump. Still present in 3.7 - will anybody finally fix it? In my everyday work after most of annotation properties I should manually type ="" (equal sign and double quotes for string value).
Comment 7 Dani Megert CLA 2012-03-12 08:29:41 EDT
(In reply to comment #6)
> Bump. Still present in 3.7 - will anybody finally fix it? In my everyday work
> after most of annotation properties I should manually type ="" (equal sign 
> and double quotes for string value).

We won't work on this bug but accept a high quality patch.