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

New feature: Argument hints for method (function) calls

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

        1. idea_parameter_hints.png
          8 kB
          Vladimir Jelovac

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vjelovac Vladimir Jelovac
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: