Provides a new drush command which scans a project and creates a Sublime Text 2 autocompletion file. This allows completion of all Drupal core, contrib and custom functions with tab stop parameter completion.
Requirements
Requires drush to be installed as well as PHP5.
Installation
Place the sublime.drush.inc file in your ~/.drush/ directory.
The command works no matter which version of Drupal you have installed.
Usage
On the command line, navigate into your project's document root and run the drush command with:drush sublime
ordrush sc
The command will create the completions file and Sublime Text 2 should pick it up immediately and start using it for completing your functions.
Status
Basic testing on OS X shows the file is being created fine and autocompletion is working with Drupal functions as well as any contrib or custom functions.
This has not been tested on Linux yet and I'd really like some feedback from Linux users.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Developer, Drush, Third-party Integration, Utility
- Downloads: 240
- Last modified: May 11, 2012
