php – Autocomplete via java doc on sublime

Question:

I don't know if I'll be able to express myself correctly, but let's go. In Java, when we comment the code, we use the pattern

/**
* @author Nome do Autor; 
* @method Nome do Método;
*/

From there, in an IDE like the sublime, we can enjoy the auto-complete feature from this information. Does anyone know how to configure or which plugin to install for this feature to be used in sublime text?

Answer:

There is a plugin called DocBlock with support for PHPDoc.

It automatically adds a comment that starts with /** and has a * at the beginning of each line. Any line within a documentation block that does not start with a * will be ignored.

/** 
 * @author Nome do Autor
 * @method Nome do Método;
 */
function foo ()
{
}
Scroll to Top