Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2708

New feature: Argument hints for method (function) calls

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Often when inspecting a method call which consists of multiple arguments we need to go to the definition of that method and find out what that argument is about when dealing with badly named variables or direct scalar assignments.

      IntelJ IDEA added few years ago a nice feature called parameter hints which solves the above issue: https://www.jetbrains.com/help/idea/viewing-reference-information.html#parameter-hints

      Basically how it works is that it adds in front of the argument the original name of that argument which has been defined in the methods definition. By default the hints are shown only for arguments which have direct assignments however this is configurable and can be set to show for all arguments. Also there is an option to enable disable this using a shortcut key combination.

      Example:

      It would be nice to see such feature implemented in NetBeans as well.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            vjelovac Vladimir Jelovac

            Dates

              Created:
              Updated:

              Slack

                Issue deployment