ligasgr / intellij-xquery

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

module used only in % constructs gets flagged as unused #131

Closed rhdunn closed 9 years ago

rhdunn commented 9 years ago

If I have an import declaration:

import module namespace x = "..." at "...";

and only use it in declarations like:

declare %x:annotation('foo') function bar() {
    ()
};

the import statement gets flagged as unused -- it appears grayed out.