Summary: | [1.5] Not all new 1.5 formatter options seem to work | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | markus.kell.r, trevor |
Version: | 3.0 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 77701 |
Description
Martin Aeschlimann
2004-09-10 09:00:35 EDT
As soon as I can get the new code formatter preference page, I will check the new options. All options for space before and after Type arguments also don't do anything. I've encountered this too. My TestEnum formats like this: public enum TestEnum { X { void foo() { } }, Y, Z; } even though I have 'Brace positions' for 'Enum declaration' and 'Enum constant body' set to 'Next line'. Strangely, the preview is formatted correctly: enum MyEnum { UNDEFINED(0) { void foo() { } } } Trevor, what build are you using? (In reply to comment #4) > Trevor, what build are you using? N20050303-0010 Closing as FIXED since I cannot reproduce the problem in comment 4 and problems reported in description have been fixed. The only remaining option with no effect is the space before the '@' in the annotation type. I don't see how it is possible to have such space. We should deprecate this option and remove it post M6. What do you think? Verified in 20050330-0500 |