Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    function hint
    4 貼文 3 Posters 4.6k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Pete NorrisP
      Pete Norris
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • MAPJe71M
        MAPJe71
        最後由 編輯

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

        1 條回覆 最後回覆 回覆 引用 0
        • Pete NorrisP
          Pete Norris
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • DaveyDD
            DaveyD
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 1
            • 第一個貼文
              最後的貼文
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors