0

phpdoc snippet like textmate

Htain Lin Shwe il y a 12 ans mis à jour par Robson Peixoto il y a 12 ans 1
in textmate

function myfunction($paramter="") {

}

I type doc (tab) and it will auto geneter like following

/**
 * undocumented function
 *
 * @param string $paramter
 * @return void
 * @author saturngod
 */
function myfunction($paramter="") {

}

I want a same function like this. I check the textmate bundle , php -> post-doc. It is writing by ruby script. Is it possible to make like this in sublime text 2 ?


+3
If you install the plugins DocBlockr you can type /** (tab) and it will do the same thing.