Issue 19 in constants-to-enum-eclipse-plugin: Wizard should suggest enum name

1 view
Skip to first unread message

codesite...@google.com

unread,
Aug 29, 2009, 1:07:50 PM8/29/09
to convert_constant...@googlegroups.com
Status: Accepted
Owner: b.muskalla
Labels: Type-Enhancement Priority-Medium

New issue 19 by b.muskalla: Wizard should suggest enum name
http://code.google.com/p/constants-to-enum-eclipse-plugin/issues/detail?id=19

In case we have a defined set of fields with a common prefix, the wizard
should suggest a name for the new enum type.
It should also care about correct camel case conversion.

eg. COLOR_RED, COLOR_BLUE => Color as enum and Red+Blue
eg. SYSTEM_COLOR_RED, SYSTEM_COLOR_BLUE => SystemColor as enum and Red+Blue

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Aug 31, 2009, 8:30:36 PM8/31/09
to convert_constant...@googlegroups.com

Comment #1 on issue 19 by raffi.t.khatchadourian: Wizard should suggest
enum name
http://code.google.com/p/constants-to-enum-eclipse-plugin/issues/detail?id=19

You can even go further and build in some sort of ontology :).

For example, APPLE, ORANGE, PEAR => Fruit as enum

That may be going a bit far, however. ;)

Reply all
Reply to author
Forward
0 new messages