Hi!
Thanks for php-extras. I've been using it for work coding after being away from PHP for a while and it's making things much more pleasant.
This patch is a simple hack which improves the Eldoc support (IMO) by continuing to show the argument hints when point is within a function argument list. It works very simply: if the first call to `(gethash ...)' returns nil, then Emacs tries to go up one level of parens (when possible) and look up whatever symbol it finds there instead.
It might not be too hard to get it to highlight the current argument as well, but I've been too lazy to work that out so far ;-)
Hi! Thanks for php-extras. I've been using it for work coding after being away from PHP for a while and it's making things much more pleasant.
This patch is a simple hack which improves the Eldoc support (IMO) by continuing to show the argument hints when point is within a function argument list. It works very simply: if the first call to `(gethash ...)' returns nil, then Emacs tries to go up one level of parens (when possible) and look up whatever symbol it finds there instead.
It might not be too hard to get it to highlight the current argument as well, but I've been too lazy to work that out so far ;-)