Disable short opening tags

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

Disable short opening tags

Postby erikh2 » March 6th, 2016, 8:21 pm

Hello!
is there any way to disable short opening tags to be recognized as php code start?

I create xml documents using php and this drive me crazy. So every time i use an <? for the xml code, the ide thinks the codeblock contains php code and marks everything as error and literall kills Intellisense.

Sure, i could echo everything that contains a <? phrase but i don´t relly want to do that.

Could anyone please help me with this?

Thanks!
erikh2
 
Posts: 1
Joined: March 6th, 2016, 8:07 pm

Re: Disable short opening tags

Postby Jakub Misek » March 8th, 2016, 7:45 am

Hi,

Sorry this is not possible in the current version.

I'll let you know once it will be supported.

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

Re: Disable short opening tags

Postby Jakub Misek » March 12th, 2018, 1:59 pm

Update: Latest version reads `short_open_tag` from corresponding `php.ini` and either disables them or enables them in code editor
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2072
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

cron

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 4 guests
Phalanger