ligasgr / intellij-xquery

Plugin to support XQuery in Intellij Idea
Apache License 2.0
35 stars 23 forks source link

XML element not highlighted when entering an element node before `()` #183

Closed rhdunn closed 7 years ago

rhdunn commented 8 years ago

Given:

()

Typing <test before the () to give:

<test
()

the test identifier is not highlighted as an XML element (i.e. maroon). Closing the tag causes a correctly highlighted element to be inserted.

This does not happen given return () to start with, but occurs when incrementally editing an XQuery file. The context I am encountering this is with constructs like let $a := <test -- the above steps to reproduce are just the minimal steps to re-create the behaviour.

rhdunn commented 8 years ago

This also happens with comments -- e.g. (: foo :) -- as well as ().

ligasgr commented 8 years ago

Will be fixed as part of #9 .