• Login
Community
  • Login

Function parameter hint on input - foreground and background colors

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 2 Posters 904 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.
  • S
    Steven Haymes
    last edited by Jul 11, 2019, 6:45 AM

    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

    E 1 Reply Last reply Jul 11, 2019, 10:56 AM Reply Quote 0
    • E
      Ekopalypse @Steven Haymes
      last edited by Jul 11, 2019, 10:56 AM

      @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
      • S
        Steven Haymes
        last edited by Jul 11, 2019, 5:44 PM

        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

        E 1 Reply Last reply Jul 11, 2019, 8:27 PM Reply Quote 3
        • E
          Ekopalypse @Steven Haymes
          last edited by Jul 11, 2019, 8:27 PM

          @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
          • S
            Steven Haymes
            last edited by Steven Haymes Jul 11, 2019, 9:31 PM Jul 11, 2019, 9:30 PM

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

            S

            E 1 Reply Last reply Jul 11, 2019, 9:32 PM Reply Quote 2
            • E
              Ekopalypse @Steven Haymes
              last edited by Jul 11, 2019, 9:32 PM

              @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
              4 out of 6
              • First post
                4/6
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors