Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse autocomplete is not working for PHP-project

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:

Eclipse for PHP Developers

Version: Helios Service Release 2
Build id: 20110301-1815

(c) Copyright Eclipse contributors and others 2000, 2011.  All rights reserved.
Visit http://eclipse.org/ 

And I think I've set all available settings for autocomplete.
I lose a huge amount of time every time I have to search for the correct naming. Is there any module of software I've to install extra to get this autocompletion?

like image 936
Michiel Avatar asked Dec 20 '11 11:12

Michiel


People also ask

How do I turn on autocomplete in eclipse?

Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image. Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.

How do I enable content assist in Eclipse?

To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the 'Enable auto-activation' checkbox.


1 Answers

Ok, found the solution! Apparently I had to "Add PHP support" in the properties window of the project. Thanks for all the help though!

enter image description here

like image 86
Michiel Avatar answered Oct 13 '22 08:10

Michiel