PHP context sensitive help question [message #543961] |
Thu, 01 July 2010 04:19  |
Eclipse User |
|
|
|
Hi,
First my sincerest apologies for being such a newb. I tried to search the web and these forums for info on my question, but came up blank. I figure I'm not asking the question correctly, so here I am.
I noticed after installing Eclipse PDT that there isn't any context sensitive help for PHP functions. For example, if I highlight set_include_path and press F1 I just get a default 'About PHP Editor' in the Help window. So my question: Is there some kind of installable plugin that would give me this functionality?
Thanks in advance for your time.
--David
|
|
|
Re: PHP context sensitive help question [message #544415 is a reply to message #543961] |
Fri, 02 July 2010 11:34   |
Eclipse User |
|
|
|
Hi David,
F1 is for the Eclipse Help (which you just opened), try F2 instead, it will open the PHP Manual.
But: That does only work on function names - so it won't work with language constructs (like IF, ELSE, FOREACH, EMPTY etc.).
Instead of pressing F2, you can just put the mouse over a function name and wait a little. It should show the help then.
Bonus: If you use PHPDoc comments for your functions, you get help for your code as well.
SHIFT+F2 will open a browser window with the PHP Manual Entry.
[Updated on: Fri, 02 July 2010 11:35] by Moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03587 seconds