Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy. This forum is not for asking programming related questions.
I've just (finally ) configured eclipse with phpEclipse. I've got all the plugins and debugger working fine. The only aspect that's troubling me is trying to get code complete (autocomplete / intellisense / etc) to work with pear packages.
My pear directory is at c:/xampp/php/pear and in my Project Defaults i have set an include path to this value. It is working (requires and includes are not throwing any errors) but there is no sign of code completion (set to activate at 200ms, also tried ctrl & space).
I'm running phpEclipse 1.19 on eclipse 3.2.1 on windows XP.
Anyone using pear in phpEclipse? I'd love to know how you do it.
I have never used pear, but I think that you might need the packages inside the project, or at least visible to the project in the PHP perspective. My code completion includes vars from all of the files in the current perspective.
Everah wrote:I have never used pear, but I think that you might need the packages inside the project, or at least visible to the project in the PHP perspective. My code completion includes vars from all of the files in the current perspective.
Thanks for your reply
My code complete does work fine, except it's giving me nothing for files outside of the defined workspace directory structure.
Yes it seems the only solution is to have all my files as part of the project Isn't that a maintenance nightmare? For instance, i have my framework, savant, mdb2, simpletest etc all in my pear directory simply so that all my projects have easy access to it and there's one place to make updates. So i have to copy these packages to a directory within each project? How do you deal with it?
I literally mock my production server setup on my local server so when it is time to push to production, everything is laid out exactly the same. I know it may seem inefficient, but I always know what is in each application by looking at the application structure that way.