Left on the Web

Zend Studio & Symfony

There is a little trick that Peter told me yesterday to get a better support for the code hinting/tooltips and code completion in Zend Studio when using Symfony with Propel.

There is a little trick that Peter told me yesterday to get a better support for the code hinting/tooltips and code completion in Zend Studio when using Symfony with Propel: In config/propel.ini, near the bottom of the file, you will find the setting:
propel.builder.addComments
This is set to false by default. What this basically means is that no phpDoc comments are added to your Base models. If you change this setting to true, and re-build your model, all of a sudden, when using for instance the retrieveByPK() method, the returned value all of a sudden also has all the code hinting/tooltips and code completion that is so great about Zend Studio.
Add comment

Comments

gravatar ameen: Cool , I will try it this evening . but it is cool trick
© 2004 - 2009 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Ma.gnolia, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.2.3