Bug 6268 - Code formatting
Summary: Code formatting
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-23 13:30 EST by Judson Lester CLA
Modified: 2003-10-14 08: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 Judson Lester CLA 2001-11-23 13:30:47 EST
My preferred style is not an available configuration of the editor.  (Braces
aligned with the code they contain, not the structure they are subordinate to). 
It would also be nice if an emacs-like behavior with indenting were available. 
Additionally, it seems that generated code doesn't conform to indentation and
line position preferences defined for the editor (although I've said that
opening braces are on their own line, generated code puts them on the same line
as the function or class declaration.)
Comment 1 Johan Walles CLA 2001-11-23 15:36:30 EST
How about splitting this into three separate bugs?
Comment 2 Philipe Mulet CLA 2001-11-26 11:23:11 EST
Formatter will be revisited deeply in the middle term, but unlikely before 2.0.
Now if external contributors are willing to help, this might change.
Comment 3 Sidney Monteiro CLA 2001-12-06 18:20:50 EST
I also prefer (Braces aligned with the code they contain, not the structure 
they are subordinate to) and it IS a big deal for most of my developers!
We tend to deal in other developer's code and the formatter really works 
against us now.
Comment 4 Philipe Mulet CLA 2002-07-25 06:30:42 EDT
Resurrecting formatter issues in 2.1 stream.
Comment 5 Philipe Mulet CLA 2002-07-25 06:32:34 EDT
Clearing resolution
Comment 6 Olivier Thomann CLA 2003-01-15 13:22:33 EST
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new 
implementation is still in the works. Therefore we cannot include it for 2.1. 
Not enough testing and we need to polish the preferences. This will be address 
for 2.2 as stated in the JDT/Core plan.
Comment 7 Philipe Mulet CLA 2003-06-12 06:35:46 EDT
Resurrecting for 3.0
Comment 8 Philipe Mulet CLA 2003-06-13 04:36:29 EDT
Reopening
Comment 9 Olivier Thomann CLA 2003-10-03 11:50:19 EDT
This is addressed with the new code formatter. Unfortunately all options won't
be expose immediately in the UI.
Fixed and released in HEAD.
Comment 10 David Audel CLA 2003-10-14 07:34:36 EDT
Verified.