mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-68194 XPath: Throwable at CompletionServiceImpl$CompletionResultSetImpl.withPrefixMatcher() on completing variable name with prefix
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class XPathCompletionContributor extends CompletionContributor {
|
||||
|
||||
if (element.getParent() instanceof XPathVariableReference) {
|
||||
final String text = element.getText();
|
||||
prefix = "$" + text.substring(0, text.indexOf(CompletionLists.INTELLIJ_IDEA_RULEZ));
|
||||
prefix = "$" + prefix;
|
||||
}
|
||||
|
||||
if (element.getParent() instanceof XPathNodeTest) {
|
||||
|
||||
Reference in New Issue
Block a user