I very much enjoy working in Notepad++, but I haven’t yet found a plugin to automatically do PHPDoc style comments. Other PHP IDE’s (Eclipse, NetBeans, ZendStudio) include this feature, and it’s quite handy.
Basically what I want is, if on the line above a function definition or class definition I type in:
/**
It automatically populates the PHPdoc format (something like the following for a function):
/**
*
* @param $first_argument
* @param $second_argument
* @return
*/
Then when I type in additional lines to the comment, it starts each line with an asterisk.
Is there a NP++ plugin that accomplishes this, or a way to tweak NP++ to make it work?
While Notepad++’s syntax highlighter recognizes doc comments, it does not actually parse them and generate the corresponding autocomplete code for you, nor does it have any snippet features that allow you to insert doc comments on the fly.