Paul Kinnucan wrote:
> Hi Michael,
> 
> I'd like to think about your proposal a bit more.
> 

No problem. Then meanwhile I'll try to do the following:

I like the import wizard a lot simply because the missing import is my 
top one on the list of compilation bugs. However, the new import is 
simply appended to the list of imports.

We have a style rule that prescribes a certain sequence for the import 
statements (e.g. java.io... java.util... java.sql... javax... org.w3c... 
etc.). I'll try to teach sorting to the wizard so that it (1) uses such 
a (configurable) priority list and (2) within each group tries to keep 
common prefixes together (i.e. not intermixing javax.swing... with 
javax.ejb... -- there was only a javax... rule mentioned above -- but 
rather insert a new javax.swing... after the last already existing 
javax.swing...).

> BTW, I've entered your changes for template-based
> wizards into the JDEE CVS repository. They will be
> included in the next beta release (this weekend 
> I hope). Thanks for a very valuable contribution.
> 

I've noticed. Thank you.

Regards,

     Michael


Reply via email to