Re: Generating an overview of function signatures

From: Date: Thu, 08 Sep 2011 10:16:46 +0000
Subject: Re: Generating an overview of function signatures
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969383194@lists.php.net to get a copy of this message
On Thu, Sep 8, 2011 at 12:02, Roel Vanhout <roel.vanhout@gmail.com> wrote: > On Thu, Sep 8, 2011 at 11:51 AM, Hannes Magnusson > <hannes.magnusson@gmail.com> wrote: >> On Thu, Sep 8, 2011 at 11:38, Roel Vanhout <roel.vanhout@gmail.com> wrote: >>> I need this to easily get 'tooltips' of php function signatures in >>> vim, so that I don't have to go online just to look up the order of >>> arguments each time. >> $ pear install doc.php.net/pman >> and then in vim set keywordprg=pman >> and then place the cursor over a function and hit "K" (shift-k). > > Yeah but that doesn't work well on Windows, well with Cygwin and stuff > like that it could but that's such a pain - I'm looking for a more > low-key approach (in addition to the keywordprg lookup which I have > set to open the respective page in firefox), because I find that more > than half of my doc lookups are just to check a prototype anyway. > > (Trivia: about 11 years ago I wrote a regex-based man-page generator > for the php docs, which in those days were much smaller and simpler - > that hideous script hung around in the php source tree until at least > 2005 or so when I last checked. I used those man pages for years but > now that I'm more on Windows they don't do me much good anymore. But > it's good that nowadays there are 'proper' manpages and I guess and > hope that my contraption is deleted from the php source tree ;) ). We don't delete stuff: http://svn.php.net/viewvc/phpdoc/doc-base/trunk/scripts/make_man.php?view=log -Hannes

« previous php.doc (#969383194) next »