Page 1 of 1

Disable short opening tags

PostPosted: March 6th, 2016, 8:21 pm
by erikh2
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!

Re: Disable short opening tags

PostPosted: March 8th, 2016, 7:45 am
by Jakub Misek
Hi,

Sorry this is not possible in the current version.

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

Thanks,
Jakub

Re: Disable short opening tags

PostPosted: March 12th, 2018, 1:59 pm
by Jakub Misek
Update: Latest version reads `short_open_tag` from corresponding `php.ini` and either disables them or enables them in code editor