sabof / php-eldoc Goto Github PK
View Code? Open in Web Editor NEWeldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them
eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them
A few points of feedback having read through the code:
probe.php
using the command-line php
executable and adjusting the PHP include_path
to point at the project being inspected.;;;###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)
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
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))...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.