Community
    • Login

    Function parameter hint on input - foreground and background colors

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 2 Posters 894 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.
    • Steven HaymesS
      Steven Haymes
      last edited by

      To All,

      Is there away to control the foreground and background color of the little balloons used for “Function parameter hint on input” by way of “Style Configurator…”?

      The settings is enabled with Settings -> Preferences -> Auto-Completion -> Function parameter hint on input. In the case of Python, the parameter hints are coming from: C:\Program Files (x86)\Notepad++\autoCompletion\python.xml and provide balloons with useful hints for Python builtin functions.

      This is a very cool feature that I have not been aware of after using NPP++ for about 6 years 🙄

      Thanks,

      Steve

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Steven Haymes
        last edited by

        @Steven-Haymes

        afaik, no, BUT, as you mentioned you are using python I guess I would be able to offer a different approach, with the same limitation, by using jedi which would allow to have autocompletion/calltips more dynamically by using the python script plugin. If you are interested let me know.
        Something like myclass. would then over the attributes and methods of that class.

        <stolen from @Peterjones>
        For instructions on how to install the Python Script in Notepad++ v7.6.3 and later, see this Guide by @Meta-Chuh (because, unfortunately, Python Script plugin doesn’t currently install using the Plugins Admin interface).
        </stolen>

        1 Reply Last reply Reply Quote 2
        • Steven HaymesS
          Steven Haymes
          last edited by

          Ekopalypse,

          Thanks for the reply. It is my understanding that Python Script is using Python 2.7. I am using 3.7 now. If I am wrong on this, then please let me know. Right now, I am using NppExec with a script “Run Python” as follows:

          cd “$(CURRENT_DIRECTORY)”
          C:\Python37\python.exe “$(FILE_NAME)”

          I have other NppExec scripts for other Python operations like Pylint and such. While I still have Python 2.7 installed, it is there for some legacy software and I hardly use it.

          Steve

          EkopalypseE 1 Reply Last reply Reply Quote 3
          • EkopalypseE
            Ekopalypse @Steven Haymes
            last edited by

            @Steven-Haymes

            It is my understanding that Python Script is using Python 2.7.

            Of course, you are right.
            Sorry for confusion.

            1 Reply Last reply Reply Quote 1
            • Steven HaymesS
              Steven Haymes
              last edited by Steven Haymes

              Python 2.7 will no longer be maintained after January 1, 2020. That is not too long off…

              S

              EkopalypseE 1 Reply Last reply Reply Quote 2
              • EkopalypseE
                Ekopalypse @Steven Haymes
                last edited by

                @Steven-Haymes

                I know, :-) but it seems it is somehow difficult to migrate the existing code to python3.
                Unfortunately my c++ skills aren’t good enough to contribute to pythonscript plugin.

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