ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Php​Dox

by oct8cat ST2

PHPDoc comments generator plugin for Sublime Text 2 editor

Details

  • 2012.09.19.09.26.57
  • github.​com
  • github.​com
  • 10 years ago
  • 27 minutes ago
  • 10 years ago

Installs

  • Total 7K
  • Win 3K
  • Mac 2K
  • Linux 2K
Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

PhpDox

Why?

This plugin allows you to generate valid PHPDoc comments for your PHP code by pressing just one hotkey, automatically resolving most of required tags.

Current version supports:

  • Classes

    • @uses - If the class is extends another class, parent class name will be resolved.
    • @category, @package - Packaging information.
    • @author - author information, such as name and email (resolves from Sublime environment).
    • @link, @license - additional information.
  • Interfaces - same as classes.

  • Class's methods and properties:

    • @var - Property type. array, string and int types currently supported.
    • @param - Method's arguments. Arguments' names and types will be resolved and aligned correctly.
    • @static - static modifier resolving.
    • @access - Access modifer resolving (public, protected, private supported) - defaults to public.
    • @return - Returned value's type and description (Currently hardcoded to mixed type).

Where?

https://github.com/oct8cat/sublime-phpdox

How?

  • Place cursor to a line with class, interface, method or property declaration.
  • Press F5