Bug 4362 - Template - should insert import statements
Summary: Template - should insert import statements
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 06:35 EDT by Dirk Baeumer CLA
Modified: 2001-10-25 05:32 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 Dirk Baeumer CLA 2001-10-11 06:35:22 EDT
- add the template as described in
  http://dev.eclipse.org/bugs/show_bug.cgi?id=4358
- insert code:
  List list= null;
  for(list, Object, element)
- activate code assist
- code gets expanded but Iterator isn't know in CU. Corresponding import
  should be created.
Comment 1 Erich Gamma CLA 2001-10-12 05:40:51 EDT
nice to have, defer for now
Comment 2 Claude Knaus CLA 2001-10-25 05:32:49 EDT
the new 'template editor' implementation doesn't allow optional arguments
any more. The import statments are generated automatically when using code
assist.