GithubHelp home page GithubHelp logo

sabof / php-eldoc Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 6.0 216 KB

eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them

Emacs Lisp 99.22% PHP 0.78%

php-eldoc's People

Contributors

sabof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

php-eldoc's Issues

Feedback on ELPA packaging

A few points of feedback having read through the code:

  1. Perhaps it would even be possible to invoke probe.php using the command-line php executable and adjusting the PHP include_path to point at the project being inspected.
  2. You should also include some ;;;###autoload cookies, at least for php-eldoc-enable, and I'd also suggest autoloading the setup hook:
;;;###autoload
(add-hook 'php-mode 'php-eldoc-enable)
  1. ac-sources is not buffer-local, so you shouldn't add ac-source-php-eldoc to it every time php-eldoc-enable is called; either make ac-sources buffer-local, or just add the source once at global scope. (Making the var buffer local would be preferable IMO.)

Hope that helps!

-Steve

Symbol's value as variable is void: auto-complete-mode

I get the above error when running php-eldoc-enable. It appears to arise from this code:

  (when (and (fboundp 'auto-complete-mode)
             auto-complete-mode)...

This seems to fix it:

  (when (and (fboundp 'auto-complete-mode)
             (auto-complete-mode))...

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.