Download & Extend

Sublime Text 2 autocompletion drush command

Sublime Text 2 with Drupal autocompletions.

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
or
drush 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

Version Downloads Date Links
7.x-1.x-dev tar.gz (8.64 KB) | zip (9.03 KB) 2012-May-11 Notes

Project Information


Maintainers for Sublime Text 2 autocompletion drush command

  • tanc - 6 commits
    last: 2 weeks ago, first: 21 weeks ago

Issues for Sublime Text 2 autocompletion drush command

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here