Collapse to definitions works as Expand all

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

Re: Collapse to definitions works as Expand all

Postby BladeMF » November 12th, 2013, 1:09 pm

Jakub Misek wrote:PHP opening/closing tags should not have outlining.

It was disabled because it does not work at all in combination with HTML editor.

The problem is that it IS outlining them. What should I do to make it stop?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: Collapse to definitions works as Expand all

Postby Jakub Misek » November 12th, 2013, 1:13 pm

Does it outline <?php ?> in all php files?
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: Collapse to definitions works as Expand all

Postby BladeMF » November 12th, 2013, 1:30 pm

Jakub Misek wrote:Does it outline <?php ?> in all php files?

If a function has <?php ?> inside, it doesn't outline the function itself, just the tags.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: Collapse to definitions works as Expand all

Postby Jakub Misek » November 12th, 2013, 1:35 pm

BladeMF wrote:
Jakub Misek wrote:Does it outline <?php ?> in all php files?

If a function has <?php ?> inside, it doesn't outline the function itself, just the tags.
Ah, right. Sadly this is limitation of Visual Studio, which cannot show region in contained language (PHP) containing a primary language (HTML). We'll discuss this with Microsoft whether they can fix it in the next update of VS.

Meantime the only solution we can provide is to disable support for new HTML editor (Tools | Options | PHP Tools | Advanced).

We'll update our documentation with known limitations.

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: Collapse to definitions works as Expand all

Postby BladeMF » November 12th, 2013, 1:36 pm

Right, the problem is gone. Thanks.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Previous

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 209 guests

User Control Panel

Login

Who is online

In total there are 209 users online :: 0 registered, 0 hidden and 209 guests (based on users active over the past 5 minutes)
Most users ever online was 480 on April 27th, 2024, 5:51 am

Users browsing this forum: No registered users and 209 guests