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

Goto Drupal API

by BrianGilbert ALL

Sublime Text 2 plugin to go to drupal api documentation

Details

  • 2014.01.17.23.46.37
  • github.​com
  • github.​com
  • 10 years ago
  • 7 minutes ago
  • 12 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

Sublime Text 2/3 plugin: Goto Drupal API

A command to jump to documentation for the current word.

Supports

  • Drupal 7 API

Submit a patch adding more and I'll include it.

Using

Open the command palette (cmd-shift-p) and choose “Goto Documentation” while your cursor is on a word.

Make a keybind by adding the following to your User/Default (OSX).sublime-keymap:

{ "keys": ["super+shift+a"], "command": "goto_drupalapi" }

(I don't like plugins automatically adding keybinds, okay.)

Installing

First, you need to have git installed and in your $PATH. Afterwards you may need to restart Sublime Text 2 before the plugin will work.

OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/BrianGilbert/Sublime-Text-2-Goto-Drupal-API.git GotoDocumentation

Linux (Ubuntu like distros)

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/BrianGilbert/Sublime-Text-2-Goto-Drupal-API.git GotoDocumentation

Windows 7:

Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"

Windows XP:

Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"