Incorrect error reporting

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

Incorrect error reporting

Postby jnothstine » November 12th, 2013, 7:47 am

I am using a trial version of PHP Tools in Visual Studio 2013. When I first created a project I had problems with errors being reported that were not really errors. I deleted the project and re-created it using existing code (Which I had done incorrectly the first time) and things were working correctly for me. I updated to the new version of PHP Tools and now I am seeing the same problem again. I am sure it is not related to the new version as I saw the problem before. I tried deleting my Visual Studio project files and creating new ones but that made no difference. I uninstalled and re-installed PHP Tools, deleted and recreated my Visual Studio project files and that still made no difference. PHP Tools is reporting several errors that it was not reporting before.

Even comments are reported as errors. In the example below, the first /** and * at the beginning of every line is reported as an error. These were reported when things were working correctly for me.

Code: Select all
<?php

/**
 * @file
 * Default theme implementation to present all user profile data.
 *
 * This template is used when viewing a registered member's profile page,
 * e.g., example.com/user/123. 123 being the users ID.
 *


Is there a way I can fix this so items that aren't really errors don't get reported?

I have uploaded a screen shot of one of my files so you can see what it looks like.

Thanks,

Jerry.
You do not have the required permissions to view the files attached to this post.
jnothstine
 
Posts: 2
Joined: November 12th, 2013, 7:34 am

Re: Incorrect error reporting

Postby Jakub Misek » November 12th, 2013, 12:57 pm

Thank you for the feedback! May I ask if you take a look in Error List window, what is the description of the error?

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: Incorrect error reporting

Postby jnothstine » November 14th, 2013, 8:01 am

I completely deleted my project directory and my project. I checked out my code and re-created my Visual Studio project and now the errors don't show up any more. If I see them again, I will add more information.

I guess for now you can close this report.
jnothstine
 
Posts: 2
Joined: November 12th, 2013, 7:34 am

Re: Incorrect error reporting

Postby Jakub Misek » November 18th, 2013, 3:35 pm

Hi, this seems to be related to another extension you probably have. I'm guessing ReSharper?
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: Incorrect error reporting

Postby Jakub Misek » January 7th, 2014, 1:53 pm

Hi,

we have workaround for compatibility with ReSharper - please feel free to download and try at http://www.devsense.com/products/php-to ... ad/preview

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


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 87 guests

User Control Panel

Login

Who is online

In total there are 87 users online :: 0 registered, 0 hidden and 87 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 87 guests