CodeIgniter with Eclipse PDT, is pure integration possible?

I am trying to install codeigniter with eclipse but am getting project errors. From what I understand, this should be as simple as creating a new project in eclipse and pointing to the codeigniter root directory. This downloads the codeigniter files correctly, but eclipse reports a few errors. Looking at the files, it seems that the errors come from html files and / or files that print html. For example, footer.php is displayed as having an error because there is a closing tag, but no opening tag. Any suggestions on how to overcome this? At this point, there will be too much to complete or debug the code to ask, eh?

UPDATE: so from what I am compiling from the answer below (and searching on the Internet) is that when using codeigniter with eclipse you can only use code completion / editing functions? I also noticed that I get a NoClassDefFoundError when I try to open some of the .php files in the eclipse project tree for editing. Of course, I have to miss something, and is there a way to achieve tighter integration with codeigniter and eclipse? (I would rather stick with eclipse as opposed to switching ides). Or maybe this is a problem with my eclipse / pdt installation?

UPDATE 2: I just downloaded the latest version of eclipse (galileo) and it seems to fix all these problems! except debugging of course ...

+5
source share
4 answers

you can achieve tighter integration by initializing the main Ci classes in the CI_Base constructor, which will also allow you to get automatic completion for the main classes, check these links:

+3
source

you will get a lot of html errors because html was broken into pieces and is not a complete document just ignore them what I do (there are settings somewhere that control what errors are checked against in eclipse)

I still use php / html / js code completion and it works fine even with errors

svn, , eclipse.

+2

Aptana.

, , . eclipse, , .

0

, XDebug Netbeans IDE. Eclipse, Netbeans - - , , - ...

0

All Articles