PhpStorm 2016.2

Is possible to make PhpStorm highlight the closing "tag" when using PHP's alternate syntax for control structures?
If we write:

<?php if($x==5) { ?>
<div></div>
<?php } ?>

If i put the cursor next to or before the opening/closing brace, PhpStorm will automatically highlight the matching opening/closing brace.
Now, if we write the same code but this time using PHP's alternate syntax for control structures, we end up with something like this:

<? if ($x==5): ?>
<div></div>
<? endif; ?>

In this case, PhpStorm will not highlight either the opening "if" or the closing "endif;".
Is there a way to make it highlight it?
5 comments
Comment actions Permalink

For me this is my biggest complaint with PHP storm.  I have a license I basically never use because of this.  

When you write Wordpress themes almost EVERYTHING is in PHP's alternative syntax.

1
Comment actions Permalink

Currently, there's no such a feature. Please vote: https://youtrack.jetbrains.com/issue/WI-14517

0
Comment actions Permalink

@John, https://youtrack.jetbrains.com/issue/WI-14517 is fixed now. What's exactly not working for you?

0
Comment actions Permalink

Dmitry Tronin, We can't call it "fixed".

1. Highlighting is not complete
2. If you have several levels, this does not work correctly

 

 

0

Please sign in to leave a comment.