GotoPhpManual
Open PHP manual for keyword under cursor.
Details
Installs
- Total 268
- Win 149
- Mac 65
- Linux 54
| Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 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 | 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 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
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.