eclipse PDT: How to enable content/code assist for personal PHP libraries

血红的双手。 提交于 2019-12-23 02:01:56

问题


I am struggeling getting content/code assist to work for PHP libraries (other than Zend) in my Zend Framework project folder:

  • library
    • Doctrine
    • Zend (<-works with code assist...)
    • ZendX

Content assist remains blank when using this libraries...

Any suggestions?

Thanks, Udo


回答1:


Content Assist is available for any compatible resources in the include path.

Right click your project folder. Then Include Path. Then Configure Include Path. A window will appear. Configure any needed resources.

Further Information in the Zend Studio Manual:

  • Adding Elements to a Project Include Path
  • Include Paths
  • Code Assist Concept



回答2:


This may be helpful for some one, I am using eclipse kepler, and I did not find Include_path variable. If you have same probleme as me, right click on the project and select configure then add php support. This will add php include path to your properties option. Then chose php include path and in the libraries folder add zend library location.



来源:https://stackoverflow.com/questions/5039712/eclipse-pdt-how-to-enable-content-code-assist-for-personal-php-libraries

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