Eclipse for PHP Code Assistant无法正常工作 [英] Eclipse for PHP Code Assistant not working

查看:58
本文介绍了Eclipse for PHP Code Assistant无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为PHP开发人员使用Eclipse Luna(4.4.0).代码助手根本不起作用.文本悬停甚至不会显示基本的PHP命令的文档.我也无法通过打开声明"选项浏览函数和类.已安装PDT(3.3.0).

I'm using Eclipse Luna (4.4.0) for PHP Developers. The code assistant doesn't work at all. Text hovers won't show the documentation even for basic PHP commands. I can't navigate through functions and classes via "open declaration" option either. PDT (3.3.0) is installed.

有人知道这个问题吗?

推荐答案

对于使用Eclipse luna创建的新项目,我的代码助手没有问题,但是使用Eclipse先前版本创建的旧项目却有问题

I don't have problems with code assistant for new projects created with eclipse luna, but I have issues with older projects that I have created with previous versions of eclipse.

对于基本PHP命令的代码助手的问题,请检查".buildpath"文件中的buildpath条目,并确保存在以下行:

For problems with code assistant for basic PHP commands, check your buildpath entries in '.buildpath' file, and make sure that following line is present:

<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>

对于您的类的代码助手的问题,您可以尝试在以下功能下删除文件:

For problems with code assistant for you classes, functions you can try to delete files under:

workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2

有关更多信息,请访问 https://www.eclipse.org/forums/index.php/t/489559/.

for more info visit https://www.eclipse.org/forums/index.php/t/489559/.

这篇关于Eclipse for PHP Code Assistant无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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