php手册为eclipse [英] php manual for eclipse

查看:176
本文介绍了php手册为eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

eclipse的php手册



我下载了eclipse for php - Eclipse PDT 3.0.x All In Ones - http://www.eclipse.org / pdt / downloads /,并添加php手动chm文件。



点击[这里](http://www.eclipse.org/pdt/downloads/这个文本



但是,仍然使用php功能手册没有出现在eclipse与shift + f2或上下文菜单。



请让我知道如何启用上下文帮助。

解决方案

请注意,打开PHP手册 (Shift-F2)仅适用于手册中的PHP 函数(例如ini_set(),error_log())。对于语言结构,它会静默失败(例如echo,isset,empty)。有一个待定的eclipse错误(#269222 )。 / p>

您还可以通过PHP函数视图(Window | Show View | PHP函数)显示从手册网站读取的所有PHP函数的列表。 / p>

根据PDT PHP手册集成文档,PHP手册通过PHP手册首选项页面( Window | Preferences | PHP | PHP Manual Preferences )。 CHM文件,远程站点URL或本地目录可以使用。



在我的设置中,英文在线PHP手册网站URL( http://www.php.net/manual/en )默认配置,所以我不需要改变任何东西。 / p>

如果它仍然不起作用,并且您也没有在PHP函数视图中显示任何功能,您的项目配置文件可能会损坏 - 检查答案 Eclipse PDT +代码完成不起作用


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.

解决方案

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 a 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.

这篇关于php手册为eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆