Eclipse autocomplete is not working for PHP-project

前端 未结 9 2223
眼角桃花
眼角桃花 2021-02-18 23:17

My Eclipse doesn\'t use auto-complete... My colleague get a whole list of suggestions by just typing some letters and I get nothing...

The Eclipse version I use is:

9条回答
  •  感动是毒
    2021-02-18 23:52

    Generally this can be activated by enabling Content Assist. It can be found on Window-Preference->PHP->Editor->Content Assist

    1. Setup your php_include_path. Go to the properties of the project. Then PHP Include Path.
    2. If you have any external library add it there too (I use Zend and Kohana).

提交回复
热议问题