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
  • 13 years ago
  • 3 hours ago
  • 13 years ago

Installs

  • Total 7K
  • Win 3K
  • Mac 2K
  • Linux 2K
Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17
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