I don't know where people have got the idea that I was suggesting a 'create
class' wizard.  I didn't use the word 'wizard' at any point!

My point is, as has been covered already in this thread, that IDEA is
deficient in being able to create new classes or interfaces derived from
existing ones.  Having an option to 'create derived class' or 'implement
interface' from the source/project views should definitely be included.

My idea was that if I create a class called 'DefaultAction' when I have an
interface called 'Action', IDEA asks me if I want to implement Action,
based on the name.  That's it.  No multi-stage dialogs, no "it looks like
you're implementing an interface" Microsoft-esque nastiness.  It doesn't
even fill in method stubs -- that's what Ctrl+I is for.

Vlad Kinik says that 'we need just five additional keystrokes' -- five?
That's far too many, and besides doesn't include the mouse clicks to move
to the class declaration and back to the code.  Like Jonas Kvarnstr�m says,
we need as little distraction from one's "mental focus" as possible, and
moving around in code for reasons like this is a pain.  I have a class, I
need a subclass -- creating it should be as simple as choosing a menu
option, or (with my suggestion) typing its name and accepting IDEA's guess.

And additionally, I don't think there's anything wrong with stealing
*useful* features from other IDEs, "bloated" or otherwise.  I'm sure these
other IDEs are stealing from IDEA and even from this mailing list (hi to
all the Eclipse folks listening in :)

Cheers,
Ben.



To: [EMAIL PROTECTED]
cc:
From: "Vlad Kinik" <[EMAIL PROTECTED]>
Subject: Re: [Eap-features] Re: Suggest "implements X" or "extends X" when
creating class or interface



Frankly, I do not see actual issue in this discussion. Try to type:
class Foo <ctrl-space> and IDEA (Ariadna 605 at least) pops up list with
"extends" and "implements" keywords (*1)... Now type "e" <TAB> to get:
class Foo extends  and hit <ctrl-space> again to get list of classes...
Start typing desired class name... Hit <TAB> and <CTRL-O> when ready...
As you can see we need just five additional  keystrokes to get full issue
resolved. How would proposed wizard make things better?

(*1) IDEA could be a little bit smarter and not offer
"abstract"/"public"/"final" at this point. The best solution would be to
offer these choices, but apply them correctly (e.g move public to the fron
of class declaration)

>From: Hani Suleiman <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>Subject: Re: [Eap-features] Re: Suggest "implements X" or "extends X" when
>creating class or interface
>Date: Mon, 25 Feb 2002 04:41:13 -0500
>
>Orr...the jbuilder people need to decide if what they really want is
>jbuilder, not IDEA.
>
>-1 to adding features to IDEA just because some other bloated IDE has
them.
>
>On 24/2/02 7:27 pm, "Shane Petroff" <[EMAIL PROTECTED]> wrote:
>
> > Graham Lea wrote:
> >
> >> -1
> >>
> >> Is it really that hard to type "extends Something"
> >
> > While I happen to agree with most of the anti wizard sentiment, this is
>a
> > frequent complaint from JBuilder converts. Perhaps supporting both
>styles is a
> > good marketing tact. (Sales are easier to make if you have more ticks
on
>the
> > pointy haired check list)
> >
> > --
> > Shane
> >
> >
> >
> > _______________________________________________
> > Eap-features mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-features
>
>
>
>_______________________________________________
>Eap-features mailing list
>[EMAIL PROTECTED]
>http://www.intellij.com/mailman/listinfo/eap-features




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


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

Reply via email to