Community
Participate
Working Groups
20040910 I updated the UI to include the new code formatter options (bug 72046) Not all optins seems to work correctly: - white spaces in enum types - white spaces in annotation types - space after wildcard question mark - new lines in enum (it has also parsing problems in new lines preview) - line wrapping with enums
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?
I meant problem reported in comment 3.
Verified in 20050330-0500