Bug 43272 - feature request : extend the code formatter to support blanks between method / class name and bracket.
Summary: feature request : extend the code formatter to support blanks between method...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.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-09-18 05:26 EDT by Andreas Wuest CLA
Modified: 2003-10-14 07: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 Andreas Wuest CLA 2003-09-18 05:26:33 EDT
Hi,

i have the following feature request : 
under Window->Preferences->Java->Code Formatter it
is possible to change the way the code is formatted. However it is not
possible to tell eclipse to
insert a space between the method name / class name and the following
opening bracket :

e.g :
StringBuffer sb = new StringBuffer();
sb.toString();

however i want the code to look like :

StringBuffer sb = new StringBuffer ();
sb.toString ();                   ^
           ^               a space character
      a space character

i'd be really nice if you could add that feature.

thanks in advance,

 Andreas
Comment 1 Olivier Thomann CLA 2003-09-18 08:53:25 EDT
This will be available with the new formatter. We hope to be able to integrate
it for M4.
Comment 2 Olivier Thomann CLA 2003-10-03 10:41:27 EDT
This is addressed in the new formatter. It won't be the default setting, but as
soon as the preference page is ready, this is doable.
Fixed and released in HEAD.
Regression test added.
Comment 3 David Audel CLA 2003-10-14 07:32:04 EDT
Verified.