Development

SymfonyAndPDT (diff)

You must first sign up to be able to contribute.

Changes between Version 12 and Version 13 of SymfonyAndPDT

Show
Ignore:
Author:
naholyr (IP: 88.175.133.75)
Timestamp:
04/13/08 18:06:42 (10 years ago)
Comment:

Add tip about Code completion and Propel

Legend:

Unmodified
Added
Removed
Modified
  • SymfonyAndPDT

    v12 v13  
    3838 
    3939=== Method 2: Create virtual folder that points to Symfony libraries === 
     40 
    4041If you want to navigate and explore Symfony code during development (for example, navigate from {{{sfWebRequest}}} to {{{sfRequest}}} class via Ctrl-clicking class name), you may add {{{"/route/to/PEAR/symfony"}}} directory as a virtual folder instead of adding it as a library. 
    4142 
    9899''Window->Preferences->General->Appearance->Colors and Fonts->Basic->Text Font'' 
    99100 
     101=== Tip : Code completion & Propel === 
     102 
     103When you type `$object = MyClassPeer::doSelectOne($criteria); $object->` you would like to view the list of `MyClass` methods, but nothing happens ? 
     104 
     105This is normal, with default configuration, classes generated by Propel do not have doc-comments, so Eclipse cannot guess the return-type, and cannot offer code completion. 
     106 
     107To enable doc-comments in Propel-generated classes, just edit `config/propel.ini` and find the following line (or add it to the end if you cannot find it) : 
     108{{{ 
     109  propel.builder.addComments = false 
     110}}} 
     111 
     112And change its value to "true". 
     113 
    100114== Screencaps == 
    101115