Reputation: 2334
Is there a way to get PHPUnit auto-completion to work in Eclipse PDT without including the libraries in your project?
Upvotes: 3
Views: 2983
Reputation: 1
You need to enable it.
Go to menu: Window -> Preferences
. Then under PHP -> Editor -> Code Assist
. From under auto activation check the enable auto activation
check box (note: 200 ms default is a bit slow). You can adjust the timing.
Upvotes: 0
Reputation:
How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?
Generally speaking in Eclipse, you can add a library or framework to code assist/completion by:
Upvotes: 0
Reputation: 5136
Have you tried putting the PHPUnit code on your project's include path?
Upvotes: 4