views:

667

answers:

2

After I create a couple folders in the /application folder (such as forms and models) and then start adding classes to those folders, how do I make the code auto completion for these classes available in my various other files such as my IndexController.php?

I'm using Zend Studio 6.1 and ZF 1.8.4.

A: 

I know this isn't neccesary AN ANSWER, but have you tried NetBeans?

http://www.netbeans.org/

It's free, auto-fills as it should (it constantly scans the project files), and I like the @todo window (which keeps all your todo comments in a window by file or project) so you can feel better about not coding something in right away.

Jmb-Elite
Thanks, Jmb-Elite. It's actually a NetBeans inspired question. My thinking is that if NetBeans does it, surely Zend Studio must be able to, also, for their own framework projects. Anyway, I use Zend Studio primarily for these projects because it has a nice debugging toolbar for Firefox.
Keith Bentrup
Unfortunately I'm not sure when it comes to Zend Studio as I quickly switched to NetBeans.But when it comes to auto-complete for frameworks, the term IDE (Integrated Development Environment) is used. Zend Studio is supposed to come with the Zend IDE built-in.I would ensure that Zend Studio knows your working with the Zend Framework by creating a new Zend project from the NEW menu. -or check out the preferences under TOOLS. Unfortunately I don't have the application installed any longer; therefore I'm not much help :(
Jmb-Elite
A: 

make sure to set the Zend Framework for the 'PHP Include Path' and use phpdoc style comments to set what the types of the different variables are.

Clayton