Function parameter hint on input - foreground and background colors



  • 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



  • @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>



  • 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



  • @Steven-Haymes

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

    Of course, you are right.
    Sorry for confusion.



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

    S



  • @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.


Log in to reply