Bug 153250 - [content assist] Template variables accepting optional arguments should have two proposals
Summary: [content assist] Template variables accepting optional arguments should have ...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 04:53 EDT by Markus Keller CLA
Modified: 2006-08-09 04:56 EDT (History)
1 user (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 2006-08-09 04:53:39 EDT
I20060807-2000

IMO, it's confusing that proposal "var" says "Takes a type name as parameter", but when I insert it, no parameter is added. I suggest to split all variables accepting optional arguments into two proposals, e.g.
- var            => inserts "${var}"
- var(type_name) => inserts "${id:var(type_name)}" and selects "id"
Comment 1 Dani Megert CLA 2006-08-09 04:56:19 EDT
Tom, please comment.