Community
Participate
Working Groups
Hi! Maybe you can add a sort feature for methods/variables of a class in code formatter? OK, is not possible for 2.0, but I'd like to have it in 2.1 :) My Suggestion: code formatter should be sort class things (methods, vars) like in outline view. I like this sorting (static vars first then static methods, then vars and then methods, each group alphabeticaly). Cu, Gunnar
Nice idea but as you already said this will not make it inot 2.0 Deferrring...
Reopen bug and moving to JDT Core since they own the formatter
Unsure this belongs to formatting, as it may change the source in a non- compatible way. Think of innerclasses which are numbered in declaration order X$1, X$2, ... Formatting is not changing the semantics of a program, simply the layout. Would rather need to be a separate operation, which can easily be achieved in term of JavaModel APIs.
*** This bug has been marked as a duplicate of 14597 ***