Sublime Forum

PhpDoc support

#1

PhpDoc documenting comments additional support package is now available, through PackageControl or at GitHub.

Currently, it supports unwrapping function declarations into a proper phpdoc template. Documenting keywords for auto-completion are also available (though not as conveniently, as I would want them to be — the built-in php auto-completions get in the way quite a bit, and there is nothing I can do, apparently).

That’s pretty much what one’ll have on top of what is already implemented in ST2.

0 Likes

#2

Nice, though it would be better if it closed off the comment too **/

0 Likes

#3

Do you mean it should end with “/" instead of “*/”? If so, then I went with the standard notation, suggested by phpdoc.org. Snippets, provided by SublimeText, however, indeed end with "/”, but I see no good reason why Jon would do that. Anyway, I’ll include an option to configure the ending mark(probably during the weekend).

0 Likes

#4

Thanks, this is pretty awesome!

0 Likes