PDT autocomplete broken in Eclpise

无人久伴 提交于 2020-01-15 06:29:12

问题


Suddenly I can't use autocomplete in my Eclipse PHP projects. When I press alt+/ I jsut hear a dummy sound. Which settings should I check?


回答1:


Try this. Right-click your top level folder in PHP Explorer. Select the "Configure" menu item then "Add PHP Support".




回答2:


Does you PHP Language Library include a link to your local PHP install? Sometimes I've found my project gets corrupted, and that PHP gets stripped from that include.




回答3:


In this situation, simply reloading Eclipse helped.




回答4:


For me, simply choosing 'Project > Clean' restores auto/code completion. (Eclipse 3.7.0 Indigo with PDT 3.0)




回答5:


For me I needed to re-create my workspace (was using a workspace from an older version of PDT). Copying then importing the projects into the new workspace still worked.



来源:https://stackoverflow.com/questions/1827066/pdt-autocomplete-broken-in-eclpise

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!