Closed ligasgr closed 5 years ago
https://github.com/rhdunn/xquery-intellij-plugin/issues/30 mentions support for finding usages. For a simple scenario like:
let $x := '' return $x
navigation to declaration place works fine but finding usage on $x in first line doesn't do anything. Same for:
declare variable $x := ''; $x
For scenario with function like below:
declare default function namespace 'http://www.w3.org/2005/xquery-local-functions'; declare function x() {'a'}; x()
Find usages on function declaration gives results for completely unrelated usages of global and local variables with name $x.
This was caused by various issues in the references and resolution logic, and possibly other factors. The cases listed above are now working correctly.
https://github.com/rhdunn/xquery-intellij-plugin/issues/30 mentions support for finding usages. For a simple scenario like:
navigation to declaration place works fine but finding usage on $x in first line doesn't do anything. Same for:
For scenario with function like below:
Find usages on function declaration gives results for completely unrelated usages of global and local variables with name $x.