0

phpdoc snippet like textmate

Htain Lin Shwe 8 years ago • updated by Robson Peixoto 7 years ago 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.