Bug 99631 - [assist][5.0] Unnecessary proposals on annotation completion
Summary: [assist][5.0] Unnecessary proposals on annotation completion
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 09:21 EDT by Tobias Widmer CLA
Modified: 2007-08-03 05:41 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (16.90 KB, patch)
2007-06-27 11:13 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2005-06-13 09:21:41 EDT
3.1 RC2

Steps to reproduce:

@B<Ctrl+Space>
public class Test {}

-> The keyword proposals byte and boolean show up
-> A list of annotations starting with 'B' would be more helpful
Comment 1 Tom Hofmann CLA 2005-06-13 09:33:03 EDT
Proposals are computed by core.
Comment 2 Olivier Thomann CLA 2006-10-06 15:13:18 EDT
Reproduce in latest.
Comment 3 Olivier Thomann CLA 2006-10-06 15:14:28 EDT
Code assist after @ shows only annotation types, but @B still show byte and other unrelated completion. I would expect no completion if no annotation type name starts with B.
Comment 4 David Audel CLA 2007-06-27 11:13:40 EDT
Created attachment 72611 [details]
Proposed fix
Comment 5 David Audel CLA 2007-06-27 11:17:07 EDT
Released for 3.4M1

Test added:
  CompletionTests#testType1() -> testType7()
  CompletionTests_1_5#test0336()
Comment 6 Frederic Fusier CLA 2007-08-03 05:41:19 EDT
Verified for 3.4M1 using build I20070802-0800.