Bug 153880 - [templates] Polish template variable work
Summary: [templates] Polish template variable work
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 05:04 EDT by Dani Megert CLA
Modified: 2006-10-31 09:24 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2006-08-15 05:04:45 EDT
3.3 M1

This bug collects the polish items for the template variable support:

- improve the variable names:
    name -> newName
    elem -> elemType
    arg -> argType
    var -> localVar

- add 'var' variable which also honors fields

- allow empty argument list

- make sure that same variable parameter names mean the same thing (e.g.
  'reference' does not)

- update doc and additional info:
  *) adjust the additional info and the online help. The online help can be more
  descriptive and contain (more) examples.
  *) doc of 'enumType' should mention in first sentence to what it applies (like 
  done in the additional info)
  *) mention that 'localVar' also includes parameters since local variables 
  normally do not cover parameters (read the JLS if you doubt)
  *) make sure the correct scopes are mentioned in the doc

- [time permitting] add 'field' variable
Comment 1 Dani Megert CLA 2006-10-19 11:34:06 EDT
Fixed all but
> - allow empty argument list

Available in builds > N20061019-010.
Comment 2 Benno Baumgartner CLA 2006-10-31 09:00:15 EST
verifying...
Comment 3 Benno Baumgartner CLA 2006-10-31 09:24:41 EST
verified in I20061031-0656