ApiGen support for Sublime Text 3
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.
- 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.
- You must meet the requirements of, and have ApiGen instilled on your machine.
- Install the plugin using Package Control
- From the main menu of Sublime Text go to Preferences
- Choose Package Control
- Choose Install Package
- Type ApiGen
- Configure the plugin
- From the main menu of Sublime Text go to Preferences
- Choose Package Settings
- Choose ApiGen
- Choose Settings - User
- 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.
Sublime ApiGen was created & is maintained by Daniel Sherman.
Sublime ApiGen is open source software licensed under the BSD 3-Clause license.