#1468: Code Completion support with PDT and PHPDocumentors @property and @method
---------------------+------------------------------------------------------
  Reporter:  enrico  |       Owner:  jwage                
      Type:  defect  |      Status:  new                  
  Priority:  minor   |   Milestone:  1.1.0                
 Component:  Other   |     Version:                       
Resolution:          |    Keywords:                       
  Has_test:  0       |    Mystatus:  Pending Core Response
 Has_patch:  0       |  
---------------------+------------------------------------------------------
Old description:

> A huge and in my opinion very important difference between doctrine and
> propel is the support of code completion. The lack of code completion can
> be a no-go criteria for big projects/teams.
>
> With [http://blog.enricostahn.com/archives/120-Code-Completion-for-PHPs-
> magic-methods-and-properties.html Roy Ganor's bugfix] for
> [http://www.eclipse.org/pdt/ Eclipse PDT] it supports now
> [http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.property.pkg.html
> PHPDocumentors @property and @method tag]. The generation of PHPDoc-Tags
> should be added to the builder process (Schema, DB, etc.) so that we get
> code completion support into doctrine.
>
> Hints?
>
> Regards
>
> Enrico Stahn

New description:

 A huge and in my opinion very important difference between doctrine and
 propel is the support of code completion. The lack of code completion can
 be a no-go criteria for big projects/teams.

 With [http://blog.enricostahn.com/archives/120-Code-Completion-for-PHPs-
 magic-methods-and-properties.html Roy Ganor's bugfix] for
 [http://www.eclipse.org/pdt/ Eclipse PDT] it supports now
 
[http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.property.pkg.html
 PHPDocumentors @property and @method tag]. The generation of PHPDoc-Tags
 should be added to the builder process (Schema, DB, etc.) so that we get
 code completion support into doctrine.

 Example:
 {{{
 /**
  * @property string $name
  * @property string $loginname
  * @property string $password
  * @property Phonenumber $Phonenumber
  */
 class User extends Doctrine_Record
 {
     public function setTableDefinition()
     {
         $this->hasColumn('name', 'string', 50);
         $this->hasColumn('loginname', 'string', 20);
         $this->hasColumn('password', 'string', 16);
     }

     public function setUp()
     {
         $this->hasMany('Phonenumber', array('local' => 'id', 'foreign' =>
 'user_id'));
     }
 }
 }}}

 Hints?

 Regards

 Enrico Stahn

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1468#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to