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

Goto​Php​Manual

by gerardroche ST3

Open PHP manual for keyword under cursor.

Details

Installs

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

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.