PHP function descriptions as I type in Notepad++

前端 未结 3 1362
故里飘歌
故里飘歌 2021-02-18 21:22

Is there a plugin for Notepad++ which would allow me to see functions including parameters/returns as I type?

For example, if i type \"implode(\", I\'d see:



        
相关标签:
3条回答
  • 2021-02-18 21:54

    maybe, plugin Auto completion for custom PHP classes (ACCPC) is what you're mean.

    basic info:
    Show an overview over your classes' attributes & methods in a nice popup!

    A popup window appears after typing the "->" or "::" behind a class or an instantiated object variable which displays all attributes and methods of it's class.

    more information:
    http://sourceforge.net/projects/accpc/


    maybe this answer can helpful too:
    Get parameter hints from Editing the API XML file
    https://stackoverflow.com/a/12609240/2427906

    0 讨论(0)
  • 2021-02-18 22:02

    You don't need a plugin! 5.0 and above have this already.

    Go to Settings -> Preferences, then go to the Backup/Auto-Completion tab, and you'll find it at the bottom! Check the box for function parameters hint as well.

    You'll get exactly what you've asked for, as long as it knows the file is PHP.

    0 讨论(0)
  • 2021-02-18 22:14

    You can read about it in Notepad++'s documentation site found here

    http://npp-community.tuxfamily.org/

    The auto complete section can be found here

    http://npp-community.tuxfamily.org/documentation/notepad-user-manual//editing/auto-completion

    0 讨论(0)
提交回复
热议问题