Hi,

I use the External Javadoc [SHIFT] + [F1] command all the time (why did you
remove it from the context menu in the editor, by the way??) but it has a
shortcoming that I would love to see dealt with.

In the following example:

String str = "Hello";

If I place the cursor on the class name 'String' the External Javadoc works
fine. Often, though, I find myself deep inside a method and want to do an
External Javadoc on a variable but don't want to scroll to the place where
the variable was declared in order to place my cursor and run the command.
It would be nice if idea looked at the type of the current/selected variable
and if Javadoc is available for it's type it should open the External
Javadoc, rather than make me have to find the variable's class name
somewhere in the code, first.

So in the example above it would allow me to place my cursor on the 'str'
variable wherever it is used and run the External Javadoc command and bring
up the String Javadoc because that is the type of the variable.

I don't know what implications this might have in terms of determining the
type of a variable, so please comment as you feel appropriate. I know I can
just [CTRL] + click on 'str' to take me to it's declaration line and then
move the cursor to the word 'String' and then do a [SHIFT] + [F1] to bring
up External Javadoc, but that is far too much work for me to do!! ;-)

thanks
 - scott


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

Reply via email to