Include directory outside of project root for IntelliSense?

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Include directory outside of project root for IntelliSense?

Postby fantasticjamieburns » December 13th, 2012, 11:39 am

How can I include a directory outside of the project root for IntelliSense?

In particular I want to include the PEAR classes.
fantasticjamieburns
 
Posts: 44
Joined: September 10th, 2012, 10:33 am

Re: Include directory outside of project root for IntelliSen

Postby Jakub Misek » December 13th, 2012, 11:50 am

Hi,

IntelliSense works with your current project and projects referenced by current project (see Solution Explorer / Your Project / References).

So for now you can create a project for PEAR classes (File -> New -> Project from Existing Code), add it to your solution, and add a reference to this new project from your current project.

Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Include directory outside of project root for IntelliSen

Postby fantasticjamieburns » December 13th, 2012, 11:59 am

Great thanks - I have the various PHPUnit assert methods to hand now :)
fantasticjamieburns
 
Posts: 44
Joined: September 10th, 2012, 10:33 am


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 46 guests

cron

User Control Panel

Login

Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 46 guests