Jump between paired tags in php-file

I have file test.php:
if (true) {
    print 1;

When I press ctrl+[ on opened brace, caret moves on closed brace. But if caret is on tag <div>, nothing happens. I expect caret will move to closed tag </div> (http://www.jetbrains.com/editors/html_xhtml_css_editor.jsp , section Matching tag highlighting). When I rename file to test.html, navigation with ctrl+[ and ctrl+] between tags works perfect. What is wrong?

Comment actions Permalink

Hi there,

What is wrong?

A bug in PhpStorm?

Not exactly your case, but seems similar/related: http://youtrack.jetbrains.com/issue/WI-20474

I think I saw more appropriate ticket, but cannot find it at the moment.

Feel free to submit your particular case as separate ticket to Issue Tracker. If devs think it is the same as aforementioned ticket they will just merge them/mark as duplicate.
Comment actions Permalink

Yes, it's same bug. Thanks, I voted for it.


Please sign in to leave a comment.