Community
    • Login

    Is there a setting that displays function hint when I mouse-over the function?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    function hint
    4 Posts 3 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pete NorrisP
      Pete Norris
      last edited by

      Hello Notepad++ forum!

      Question: Is there a setting where Notepad++ will show the function hint when I mouse-over the function?

      There is a setting when you first type a function that gives a hint.

      For example, when I type date_default_timezone_set() and then input the first or left parentheses a popup appears with the following:
      “bool date_default_timezone_set (string timezone_identifier)”

      That setting is found here:
      Settings -> Auto-Completion -> then check “Function parameters hint on input”

      However, once I move the mouse away from the parentheses the hint popup disappears and won’t re-appear when I place the mouse back at the parentheses.

      Thank you in advance.

      PN

      I have got Notepad++ version 6.9.2

      1 Reply Last reply Reply Quote 0
      • MAPJe71M
        MAPJe71
        last edited by

        Did you try removing the parentheses and re-type the left/opening parenthesis?

        1 Reply Last reply Reply Quote 0
        • Pete NorrisP
          Pete Norris
          last edited by

          MAPJe71;

          Thanks for responding to my question.

          That would work but I would have to delete the variable enclosed within the parentheses,

          date_default_timezone_set($SubjectTimeZone)

          I was trying to work my way around that.

          I suppose I could do this:
          date_default_timezone_set() ($SubjectTimeZone)
          (i.e. put a space between the left parentheses and the function then type a new opening/left parentheses)

          That’s a few extra keyboard stokes but it works.

          1 Reply Last reply Reply Quote 0
          • DaveyDD
            DaveyD
            last edited by

            @Pete-Norris,
            Even easier - you can just set a keyboard shortcut to trigger the function parameter hint. It works as long as the cursor is between the parenthesis.
            You can see this in the menus under Edit > Auto Completion > Function Parameters Hint
            Just use the shortcut mapper to create a keyboard shortcut.

            David

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors