问题
php manual for eclipse
I've downloaded eclipse for php - Eclipse PDT 3.0.x All In Ones - at "http://www.eclipse.org/pdt/downloads/" and added php manual chm file.
Click [here](http://www.eclipse.org/pdt/downloads/"this text appears when you mouse over")!
But still the php function manual not appeared at eclipse with shift+f2 or the context menu.
Please let me know how to enable context help.
回答1:
Please note that "Open PHP Manual" (Shift-F2) only works for PHP functions in the manual (e.g. "ini_set()", "error_log()"). For language constructs it fails silently (e.g. "echo", "isset", "empty"). There is a pending eclipse bug on this (#269222).
You can also display the list of all PHP functions read from the manual site(s) via the "PHP functions" view (Window | Show View | PHP functions).
According to the PDT PHP Manual Integration documentation, the PHP manuals are configured via the PHP Manual Preferences page (Window | Preferences | PHP | PHP Manual Preferences
). CHM files, remote site URLs or local directories can be used.
In my setup, the English online PHP manual site URL (http://www.php.net/manual/en) was configured by default, so I did not need to change anything.
If it still does not work and you also get no functions displayed in the "PHP functions" view, your project configuration files might be damaged - check the answers to Eclipse PDT + Code completion not working at all.
来源:https://stackoverflow.com/questions/9612727/php-manual-for-eclipse