Bug 92515 - new switch in code formatting: single-line blocks on same line
Summary: new switch in code formatting: single-line blocks on same line
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.1.3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 11:58 EDT by Gernot Hüller CLA
Modified: 2005-04-25 13:07 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 Gernot Hüller CLA 2005-04-24 11:58:57 EDT
a brief suggestion for code formatting:
add a switch for "single-line blocks on same line", examples
        if (obj==null) return;
versus (the way it is done now):
        if (obj==null)
            return;

Just thought I'd tell you....

PS Code Formatting is one of the greatest features in Eclipse, I use it as 
often as I save files.
Comment 1 Frederic Fusier CLA 2005-04-25 09:16:05 EDT
Again, enhancements are not implemented in maintenance streams.
You'll also find this functionality available since 3.0.
Please take time to have a look at Code Formatter in 3.0.2 version, you'll see
that it has been *greatly* improved since 2.1.3...
Comment 2 Gernot Hüller CLA 2005-04-25 13:07:35 EDT
thank you so much for telling me so quickly...
I'm using WSAD really so I'll wait but hoping not too long