Bug 94111 - [assist] provide parameter hints for template instantiations
Summary: [assist] provide parameter hints for template instantiations
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 09:29 EDT by David Audel CLA
Modified: 2005-05-12 14:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2005-05-09 09:29:36 EDT
Map<|> for type
@Target(|) for annotation

at | we should show parameter hints in the same way as we do it for method calls
(ctrl-shift-space).
Comment 1 David Audel CLA 2005-05-09 09:40:00 EDT
Fixed and test added
  CompletionTests_1_5#test0192 -> test0201

Code Assist provide the enclosing type reference when cursor is inside a type
argument and the completion token is empty.

p.q.X<<complete here>> // p.q.X<T,U> is proposed.
p.q.X<Object, <complete here>>; //p.q.X<T,U> is proposed

Code Assist provide the enclosing annotation reference when completion is inside
an annotation argument and the completion token is empty.

@Annot(<complete here>) // p.Annot is proposed.
@Annot(foo1=0, <complete here>) // p.Annot is proposed.
Comment 2 Olivier Thomann CLA 2005-05-12 14:24:36 EDT
Verified in I20050510-0010 + JDT/Core v_556