I agree with Lennart, this is a real short coming of IDEA currently. Whenever you 
select "Go to Declaration" of a method that's implemented from an interface, or 
overridden from a super class, you *always* go to the interface or super class 
declaration. That's almost always exactly where you don't want to go. To me, this is 
the one glaring case where IDEA decreases productivity. 

A better way to handle this would be to provide a drop down list of all the 
classes/interfaces that are in scope when you select "Go to Declaration" or "Go to 
Type Declaration" on a method or class. It could operate just like the drop down 
choices you get when SmartType shows all the forms of a constructor or overridden 
method. 

-Stephen

-----Original Message-----
From: mike sick [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [Eap-features] Go to declaration


Lennart,

What happens when there are 2+ implementations of the
interface? It might be nice to have a separate menu
choice like Go To Impl that would bring up all of the
implementing methods and you could choose the one you
wanted. But if there was only one, you'd go there. 

Not sure that's exactly what I want. Just thinking out
loud -- but I would like it to be easier to navigate
in the situation you described.

Mike


--- Lennart Petersson <[EMAIL PROTECTED]>
wrote:
> Using EJB. Have a file where a call a method on the
> remote interface 
> Foo. Using Go to declaration on that method brings
> up the remote 
> interface. It would be nice if it instead would
> bring up the FooBean 
> file instead of Foo file or that i can choose in a
> popup if i like the 
> bean impl or the remote interface.
> 
> By the way - this should be the same whether or not
> it is an EJB, as 
> long as i'm using an interface... Go checking my
> Ariadna 612.... and yes 
> it is the same behaviour with an ordinary interface
> - of course.
> 
> Is it possible then it would be a good IDEA :)
> 
> /Lennart
> 
> 
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
>
http://www.intellij.com/mailman/listinfo/eap-features


=====
---------------------------------------------------
Michael Sick                 H: 919 678 9277
[EMAIL PROTECTED]        W: 919 523 4447
---------------------------------------------------

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.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