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

Goto​Php​Manual

by gerardroche ST3

A Sublime Text plugin for jumping to tags in the PHP Manual.

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Goto PHP Manual

A Sublime Text plugin for jumping to the PHP Manual for the current symbol.

Put your cursor on a php symbol and press f1 or shift+f1 to open the php manual in your browser.

Handy if you need the php manual when working offline.

Installation

Install GotoPhpManual via Package Control.

Setup

Local PHP Manual

To use a local php manual, download the manual, the “Many HTML files” tarball, unpack it somewhere, and set the location:

"goto_php_manual.path": "~/manuals/php",

If you use the GotoDocumentation plugin and use f1 for it, then add a context exclude for PHP scope: Menu → Preferences → Key Bindings:

{
    "keys": ["f1"],
    "command": "goto_documentation",
    "context": [
        {
            "key": "selector",
            "operator": "equal",
            "operand": "-embedding.php",
            "match_all": true
        }
    ]
},

If you use NeoVintageous, disable the f1 and shift+f1 keys.

Menu → Preferences → Settings

"vintageous_handle_keys": {
    "<f1>": false,
    "<S-f1>": false,
},

Read configuring the NeoVintageous sublime vim key handler for a short guide on configuring the vim key handler in sublime.

Key Bindings

Key Description
f1 Goto local manual or remote manual.
shift+f1 Goto remote manual

Settings

Menu → Preferences → Settings

Setting Description Type Default
goto_php_manual.path Path to local php manual. string null
goto_php_manual.keymaps Enable keymaps. bool true

License

Released under the GPL-3.0-or-later License.