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

Api​Gen

by dans98 ST3

ApiGen support for Sublime Text 3.

Details

  • 1.1.1
  • github.​com
  • github.​com
  • 10 years ago
  • 52 minutes ago
  • 10 years ago

Installs

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

ApiGen support for Sublime Text 3

Features

Currently The plugin allows click to run functunallity. Simply right click on any open file, or any filename in the sidebar to access the ApiGen options.

Options

  • Generate - Takes the clicked on file, and uses its path as a starting point to walk back to the filesystem root. The plugin checks each directory along the way for an apigen.neon file. It will halt it's walk if it finds a file, and call ApiGen passing the apigen.neon file path as the (–config) option.
  • Generate Freeform - Works the same as the Generate option, but the user is prompted to provide additonal command line arguments.
  • Selfupdate - Runs the ApiGen (selfupdate) option, to update the apigen.phar file to the latest revision.
  • Version - Runs the ApiGen (-v) version option.
  • Freeform - The user is presented with a prompt, and allowed to pass any arguments to ApiGen they wish.

Instalation

Requirements

  • You must meet the requirements of, and have ApiGen instilled on your machine.

Steps

  1. Install the plugin using Package Control
    1. From the main menu of Sublime Text go to Preferences
    2. Choose Package Control
    3. Choose Install Package
    4. Type ApiGen
  2. Configure the plugin
    1. From the main menu of Sublime Text go to Preferences
    2. Choose Package Settings
    3. Choose ApiGen
    4. Choose Settings - User
    5. Set the setting to the approrite value for your machine.
      • phpBin - The location of the php executable on your machine.
      • pharPath - The location of apigen on your machine.
      • configFileName - The name of the config file to search for. The default is apigen.neon.
      • additionalGenerateArgs - Additional command line arguments, to be appended to the end of the Generate command.

Author

Sublime ApiGen was created & is maintained by Daniel Sherman.

License

Sublime ApiGen is open source software licensed under the BSD 3-Clause license.