Revision #3 has been created by mindeh on Feb 19, 2009, 10:53:25 AM with the memo:
fixed a few typos
« previous (#2) next (#4) »
Changes
Title
unchanged
Eclipse PDT - code-hints, references and other goodies
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
## Intro
Since PHP is dynamically typed language, the way IDE may help you is limited.
It will hint you on methods, fields and class constants, but won't know the
y type of object you receive when iterating over an array.
Eclipse parses phpDoc comments to find out about function parameter and return
ed value types,
for descriptions and so on.
To make best use of it be sure to add phpDocs in you
'rer code:[...]
## Howto
To get code-hints you basically need to have Yii (or any other framework/library) on you'rer build path.
There are 2 ways to achieve this:[...]
### Yii outside project's source
Here you'll need to add yii (or any other framework/library) to you'rer include path.
1. Create project
2. Go to Project > Properties > PHP Include Path
3. You've got Projects tab, Libraries tab, Order (and Source in PDT 2.0).
4. Now use your own judgement:[...]