PHPDoc Comments in Notepad++?

Travis picture Travis · Feb 3, 2011 · Viewed 9.4k times · Source

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?

Answer

ovnia picture ovnia · Aug 9, 2013

The question is old...but try DoxyIt plugin from plug manager. It works exactly as you need.