Super Completion

Do you often find yourself calling a super method with a large number of parameters? Typing all those arguments one by one is soooooo boring, isn’t it?! Don’t be upset anymore — latest Maia EAP can rescue you. Just use Smart Completion (Ctrl+Shift+Space):

Comments below can no longer be edited.

5 Responses to Super Completion

  1. Avatar

    Stephen Friedrich says:

    September 15, 2009

    Please make it work with delegation, too!

    IMHO it should even work in any case where the called method has the same signature as the current method.

  2. Avatar

    Peter Gromov says:

    September 15, 2009

    Stephen, done!

  3. Avatar

    Eugene Kirpichov says:

    September 25, 2009

    How about supporting the case where the called method has a signature that is a superset of the current method’s signature, possibly with respect to subtyping in parameters? (the user would then be left to fill in the missing arguments) For example, ‘this(..)’ constructor delegation.

  4. Avatar

    Peter Gromov says:

    September 25, 2009


    I think that the current behavior should remain unchanged. As for superset, subtyping and others, we can provide such variants on second smart completion in the same place. It could also fill unknown arguments with formal parameter names, like Eclipse does. We could also run live template for all the parameters. The same could be done when completing method name in a call, though it seems a bit controversial. I’m not sure which subset of these features is really worth implementing. Every variant has its disadvantages.

  5. Avatar

    IL says:

    April 6, 2010

    Can you make it (code complete) auto without press shortcut?
    Visual Studio 2008 do it that way.

    And “quick document lookup”, eclipse shows the doc on the fly.

Discover more