Eclipse PDT - code-hints, references and other goodies

Comparing #2 with #3

Revision #3 was created by mindeh mindeh on Feb 19, 2009, 10:53:25 AM.

fixed a few typos

Content

## 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 they type of object you receive when iterating over an array. Eclipse parses phpDoc comments to find out about function parameter and returned 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:
[...]