Hi,
Maybe I am missing a point -- doesn't Ctrl-F12 do what you want?

About the methods that belong together:
OK, I understand that methods may be sorted in a logical order, grouping together 
methods
that belong together -- but for that we have classes: as seen theorically, if you have
two methods in the same class that don't belong together, you need two classes.

Bye.
Andrea Vicentini



----- Original Message ----- 
From: "Erik Hanson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 8:48 PM
Subject: Re: Re[2]: [Eap-features] align class variables


> "Dmitry Jemerov" <[EMAIL PROTECTED]> wrote:
> >   Could someone please explain, what's the point in ordering functions
> > in alphabetical order? I always try to order them in _logical_ order,
> > so that by reading a file from top to bottom, one could get a fairly
> > good understanding of how the code works. Alphabetic ordering would
> > place together functions that do not have any logical relationship,
> > but just happen to start from the same letter.
> 
> I'll tell you why I order my methods alphabetically: it makes finding methods
> easier.
> 
> I got so used to the function popup menu on CodeWarrior for the Mac that when
> I started doing Java development and used editors that didn't have that
> feature, I had to resort to putting my methods in alphabetical order to find
> them easily.
> 
> IMHO, no editor has come close to CodeWarrior's function popup menu, which was
> so simple and easy and perfect. It seems like such a simple thing, but so far,
> IDEA has been the only editor to even come close, and it's still got a ways to
> go.
> 
> Here's how it worked: there was a little tiny square in the bottom left corner
> of each window (one window per file). Its icon was "{}". You clicked on it,
> and it showed you all of the classes and functions in the file. If you held
> down the command key while clicking, it sorted them in alphabetical order. You
> could even define #pragma preprocessor directives to add separator lines and
> comments. So this:
> 
>   #pragma --- public stuff
>   int aMethod() { blah(); }
>   int myMethod() { blah(); }
> 
>   #pragma --- private stuff
>   private int anotherMethod() { blah(); }
> 
> would show up like this in the popup menu:
> 
>   --- public stuff
>   MyClass.aMethod()
>   MyClass.myMethod()
>   --- private stuff
>   MyClass.anotherMethod()
> 
> It was so simple and easy. My head almost exploded when I had to switch from
> CodeWarrior to VisualCafe which had a function menu that was horribly designed
> and never seemed to work right.
> 
> CodeWarrior seems like it was written (in the past, at least) by people who
> wanted to write a great IDE. VisualCafe and others seem like they are written
> by people who just want a paycheck. Luckilly, IDEA seems like it is written by
> people who want to write a great IDE.
> 
> Anyway, I still alphabetize my methods sometimes because old habits die hard.
> 
> 
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to