Sign in to follow this  
Marcel Stäheli

PHP Tools for Visual Studio does not recognize processwire

Recommended Posts

We recently got the Visual Studio 2017 plugin PHP Tools for Visual Studio by Devense for php development.

Unfortunately the plugin does not recognize processwire. I imported all website files into the PHP-Project so there is no file missing. But files are not being prepended, variables like $page are undefined. The plugin works fine with regular PHP code.

I'm not sure where the error lies. Do I have to configure PW specifically or are the two simply incompatible?

Has anybody experience with this plugin?

Share this post


Link to post
Share on other sites

It now displays the function information (phpdocs) correctly. But I still get errors when debugging that the functions are undefined.

 

Thanks for that link though, I didn't know about that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.