WordPress, project files and intellisense

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

WordPress, project files and intellisense

Postby motiejus » April 7th, 2014, 2:02 pm

Hi,

We are heavily using PHP Tools for Visual Studio for WordPress solutions and intellisense makes it even better. Although every wordpress project is usualy hosted on TFS as well. The problem is, if I exclude /wp-admin and /wp-includes from the PHP project (because we don't want to pollute TFS with generic code), I will loose intellisense as well. Is there a way around this?

Thanks
motiejus
 
Posts: 2
Joined: April 7th, 2014, 1:55 pm

Re: WordPress, project files and intellisense

Postby Miloslav Beno » April 7th, 2014, 2:16 pm

Hi!

Thanks for the question. Currently the best way would be just to create a project with Wordpress which you'd reference from your project (the references for PHP projects just serves for Intellisense). So your project would have Intellisense from Wordpress available without need to have actual files in the project.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 49 guests

User Control Panel

Login

Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 49 guests