Question

Followed this tutorial on getting autocomplete for CI to work with Eclipse http://taggedzi.com/articles/display/autocomplete-eclipse-codeigniter-2 - Worked fine.

Then tried to do this tutorial http://blog.pisyek.com/2011/03/create-a-simple-blog-using-codeigniter-2-0-part-1/ - Not so fine.

My test application would error at line 8 of the model (part 4). I worked out this was because $this->load was null, along with a set of other variables in the $this object.

I removed the added lines from the first tutorial and then my application worked fine, but I had no autocomplete.

How can I have both a working application and autocomplete for CI and Eclipse?

Was it helpful?

Solution

Seems that the right solution is in this tutorial.

Just need to put on some fake files within your project path. It doesn't say anything for the model but should be the same, probably except your models.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top