Intellisense on foreach DOMNodeList not works.

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

Intellisense on foreach DOMNodeList not works.

Postby kkoba » June 23rd, 2013, 9:21 am

I use PHP Tools for Visual Studio 2010 PERSONAL LICENSE 1.7.4340.

When I make DOMNodeList instance and use it in foreach, Intellisense seems not to work well on each its element.

Is there a way to solve the problem?

Code: Select all
$links = new DOMNodeList;
foreach($links as $link){ // $link receives DOMNode.
   $link-> // Intellisense not works.
}
kkoba
 
Posts: 25
Joined: June 22nd, 2013, 11:13 am

Re: Intellisense on foreach DOMNodeList not works.

Postby Jakub Misek » June 23rd, 2013, 10:32 am

Thank you for the code sample. We will have to 'teach' IntelliSense to foreach properly in one of the next releases. I'll keep you informed in this thread.

If you would have anything else, please feel free to let us know.

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: Intellisense on foreach DOMNodeList not works.

Postby kkoba » June 23rd, 2013, 1:10 pm

Thanks, I look forward to the future release!
kkoba
 
Posts: 25
Joined: June 22nd, 2013, 11:13 am

Re: Intellisense on foreach DOMNodeList not works.

Postby Jakub Misek » June 27th, 2013, 6:21 pm

foreach IntelliSense of DOMNodeList has been implemented and will be available in upcoming release.

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: Intellisense on foreach DOMNodeList not works.

Postby kkoba » July 28th, 2013, 9:38 am

I got new version and it works well!
Thanks!
kkoba
 
Posts: 25
Joined: June 22nd, 2013, 11:13 am

Re: Intellisense on foreach DOMNodeList not works.

Postby Jakub Misek » July 28th, 2013, 2:11 pm

Great! I'm glad it works for 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 55 guests

cron

User Control Panel

Login

Who is online

In total there are 55 users online :: 0 registered, 0 hidden and 55 guests (based on users active over the past 5 minutes)
Most users ever online was 281 on March 29th, 2024, 5:53 am

Users browsing this forum: No registered users and 55 guests