GithubHelp home page GithubHelp logo

gerardroche / sublime-goto-php-manual Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 37 KB

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

Home Page: https://blog.gerardroche.com

License: GNU General Public License v3.0

Python 100.00%
documentation php sublime-text

sublime-goto-php-manual's Introduction

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.

sublime-goto-php-manual's People

Contributors

gerardroche avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.