Intellisense when syntax error exists in other line
3 posts
• Page 1 of 1
Intellisense when syntax error exists in other line
When I open a file has syntax errors as follows, I can't use intellisense correctly.
My actions are as follows.
Step1) I open a solution includes a file has syntax errors as above.
Step2) I wait for finishing Intellisense process shown in VS status bar.
Step3) I deleted "->aaa();" from "$a1->aaa();" and inputed "->".
Step4) Intellisense popup is not invoked.
Step5) I comment out syntax errored line "$a3->;" and wait a second.
Step6) I try Step3 again and Intellisense popup is invoked correctly.
I hope Intellisense work well even if syntax error exists in other line.
- Code: Select all
class AAA{
public function aaa(){}
}
$a1 = new AAA;
$a2 = new AAA;
$a3 = new AAA;
$a1->aaa(); // Intellisense doesn't work here.
$a2->aaa();
$a3->; // Syntax error
My actions are as follows.
Step1) I open a solution includes a file has syntax errors as above.
Step2) I wait for finishing Intellisense process shown in VS status bar.
Step3) I deleted "->aaa();" from "$a1->aaa();" and inputed "->".
Step4) Intellisense popup is not invoked.
Step5) I comment out syntax errored line "$a3->;" and wait a second.
Step6) I try Step3 again and Intellisense popup is invoked correctly.
I hope Intellisense work well even if syntax error exists in other line.
- kkoba
- Posts: 25
- Joined: June 22nd, 2013, 11:13 am
Re: Intellisense when syntax error exists in other line
Once there is syntax error, the code cannot be parsed and IntelliSense is not updated.
We will try to workaround this in future, however for now, I don't know how.
Thanks,
We will try to workaround this in future, however for now, I don't know how.
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Intellisense when syntax error exists in other line
Thanks!
I hope the good future!
I hope the good future!
- kkoba
- Posts: 25
- Joined: June 22nd, 2013, 11:13 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 49 guests