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.9k Views 3 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors