Re: Search for the documentation
| From: | Brian Clark | Date: | Fri, 26 Jan 2001 00:55:40 +0000 |
| Subject: | Re: Search for the documentation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36737@lists.php.net to get a copy of this message | ||
Hello Philip,
(PO == "Philip Olson") philip@cornado.com forecasted:
PO> http://www.php.net/tips.php
PO> it will turn your browser into a search machine.
Even better, for people who use EditPlus (sorry, unsure about other
editors) you can do this with just one shortcut from within EditPlus
itself.
Since IE 5 is my primary browser:
Follow the instructions on http://www.php.net/tips.php for
adding the
Quick Search add-on. (I named my shortcut php, but you could use
anything you wanted.)
Then in EditPlus, go to:
Tools -> Configure User Tools
Click on the 'Add Tool >>' button.
Choose 'Program' from the pop-out.
I named mine 'PHP Search'
Command: C:\Program Files\Internet Explorer\Iexplore.exe
Argument: php $(CurWord)
(Where 'php' in the above is the same shortcut name you entered in IE
Quicksearch)
Initial Directory: leave it blank or you'll get the the 'Launch
Window' MS-DOS box along with the browser.
Click 'Apply' then 'OK'
Now, when you need to consult the manual for a specific function (or
heck, any term), just hit Ctrl+[number] where [number] is the shortcut
displayed beside 'PHP Search' in the Tools menu.
For example, if I placed my cursor right before the 'm' in:
@mysql_pconnect($host, $username, $password)
And hit Ctrl+6, it opens IE and takes me straight to:
http://www.php.net/manual/en/function.mysql-pconnect.php
For the 'Argument' line in 'Configure User Tools' you could also use
php $(CurSel) but you'll have to highlight a word before you hit
Ctrl+[number].
If you're not using IE, this should still be pretty easy to configure.
If anyone can't get this to work, let me know off-list. I'll be glad
to help.
-Brian