Bug 77701 - 'enum' declaration entry should not appear in 'Line wrapping' page of code formatter dialog preferences
Summary: 'enum' declaration entry should not appear in 'Line wrapping' page of code fo...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 73658
Blocks:
  Show dependency tree
 
Reported: 2004-11-03 12:35 EST by Frederic Fusier CLA
Modified: 2004-11-05 05:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2004-11-03 12:35:05 EST
JDT/Core code formatter does not support alignements for enums.
So, it should not exist any entries for 'enum' declaration in code formatter
preferences dialog...
Comment 1 Frederic Fusier CLA 2004-11-03 12:35:43 EST
Add JDT/Core bug dependency...
Comment 2 Frederic Fusier CLA 2004-11-03 12:37:23 EST
Ooops wrong number...
Comment 3 Martin Aeschlimann CLA 2004-11-03 12:58:41 EST
Do you mean the line-wrap settings?
There are
FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT
FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION

they just don't seem to work, I filed bug 73658 for that
Comment 4 Frederic Fusier CLA 2004-11-03 13:14:11 EST
No, the entry in Line wrapping tab for 'enum' declaration I want to be removed
is for "Constant list".
This option does not currently exist in code formatter so should not be
accessible in dialog...
If I've well understood (not sure):
 - FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION stands for second 
   item of this entry: "'implements' cause
 - FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT is for another tab: 
   "White spaces" entry "Enum types"...

Olivier, please correct if I'm wrong, thx
Comment 5 Martin Aeschlimann CLA 2004-11-04 05:20:39 EST
Oh, you are right, the label is wrong, that's bad.

Simple fix for M3
Comment 6 Martin Aeschlimann CLA 2004-11-04 05:26:27 EST
filed bug 77809 for a request of line wrapping for enum constants
Comment 7 Martin Aeschlimann CLA 2004-11-04 05:28:12 EST
released label change for M3
Comment 8 Erol Koç CLA 2004-11-05 05:35:47 EST
OK. Verified in I200411042000