Community
Participate
Working Groups
Build ID: 20080221-1602 Steps To Reproduce: It would be handy if the javadoc view showed the javadoc for the current method call when the cursor was in the argument list. eg, System.arraycopy(params, 0, target, 0, target.length); a------b---------c-----d----------------------------- When the cursor is in: a - Show javadoc for System (if present) (Current behaviour) b - Show javadoc for System.arraycopy() (Current behaviour) c - Show javadoc for params, assuming that params is a field (current behaviour) d - REQUESTED BEHAVIOUR: show javadoc for System.arraycopy() - assuming that target is inappropriate for javadoc. [d] is my request: if the arguments aren't appropriate for javadoc, then show the javadoc for the method call. Reasoning: The javadoc view seems to be the only way to add text while seeing the javadoc for some method. It's annoying that I can't see the javadoc for arguments when I'm typing them. Bonus points: The javadoc view should highlight the current @param when I'm modifying that parameter. =)
Good idea. To solve this we need to query the AST for the calling method. Hint: Ctrl+Shift+Space will at least give you the parameter name.