Bug 35433 - Simple Feature Request - Code Formatter Enhancement
Summary: Simple Feature Request - Code Formatter Enhancement
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 18:55 EST by Nicholaus Shupe CLA
Modified: 2003-10-14 07:12 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 Nicholaus Shupe CLA 2003-03-20 18:55:20 EST
Eclipse Dev Team,

    For Preferences/Java/Code Formatter, would it be possible to have the
options "Insert space before parenthesis always"?  I personally use the
style:

functionName (params);

instead of

functionName(params);

    I use this style because it spaces things out and keeps space-beginning
parenthesis use consistent with the if, for, and the while constructs, e.g.

for (init; condition; increment) statement

not

for(init; condition; increment)

Cheers,

Nicholaus
Comment 1 Dirk Baeumer CLA 2003-03-21 05:02:13 EST
Formatter is JDT/Core
Comment 2 Philipe Mulet CLA 2003-03-21 05:06:00 EST
Formatter issues will be reconsidered post 2.1
Comment 3 Philipe Mulet CLA 2003-06-12 06:35:50 EDT
Resurrecting for 3.0
Comment 4 Olivier Thomann CLA 2003-06-12 15:59:02 EDT
Reopen for 3.0 consideration.
Comment 5 Olivier Thomann CLA 2003-10-03 10:21:20 EDT
This is addressed in the new formatter.
Fixed and released in HEAD.
Regression test added.
Comment 6 David Audel CLA 2003-10-14 07:12:12 EDT
Verified.