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 222
  • Win 123
  • Mac 57
  • Linux 42
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 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21
Windows 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Mac 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 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1
Linux 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 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Goto PHP Manual

A Sublime Text commands that open the PHP Manual for a keyword or symbol.

How to use

Place your cursor on a PHP keyword or symbol and press f1 to open the local PHP manual (if configured), or shift+f1 to open the online PHP manual.

How to setup a local PHP Manual

Download the PHP manual, pick the “many HTML files” tar.gz, and unpack it.

Set the PHP manual path of your unpacked local manual.

Command Palette → Preferences: Settings

"goto_php_manual.path": "~/php-manual/php-chunked-xhtml",

If you use NeoVintageous

Disable the f1 and shift+f1 keys.

Command Palette → Preferences: Settings

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

For more information on configuring NeoVintageous see configuring the NeoVintageous key handler.

If you use GotoDocumentation

If you use GotoDocumentation and also use the f1 key binding, then add a context exclude for the PHP scope so that f1 passes through to Goto PHP Manual.

Command Palette → Preferences → Key Bindings

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

Key Bindings

Key Description
f1 Open local PHP manual with fallback to online PHP manual.
shift+f1 Open online PHP manual.

Settings

Command Palette → 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

Installation

Install GotoPhpManual via Package Control.

License

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