Bug 92515

Summary: new switch in code formatting: single-line blocks on same line
Product: [Eclipse Project] JDT Reporter: Gernot Hüller <g.hueller>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1.2   
Target Milestone: 2.1.3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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