Bug 98040 - [Java Editor Templates] Templates with multiple lines are inlined when used
Summary: [Java Editor Templates] Templates with multiple lines are inlined when used
Status: RESOLVED DUPLICATE of bug 98037
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 22:58 EDT by Eduardo Rocha CLA
Modified: 2005-06-02 08:23 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 Eduardo Rocha CLA 2005-06-01 22:58:32 EDT
3.1 RC1

1. Go to Preferences > Java > Editor > Templates;
2. Use code formatter is checked;
3. New...
4. Name: obj, Context: java, Pattern:
Object obj = new Object();
Object obj2 = new Object();

When the above template is used, I get:
Object obj = new Object();Object obj2 = new Object();
Comment 1 Olivier Thomann CLA 2005-06-02 08:23:28 EDT

*** This bug has been marked as a duplicate of 98037 ***