diff --git a/plugins/devkit/devkit-core/src/dom/ExtensionOrderConverter.java b/plugins/devkit/devkit-core/src/dom/ExtensionOrderConverter.java index 75d28d4cd4c3..f733a2273c53 100644 --- a/plugins/devkit/devkit-core/src/dom/ExtensionOrderConverter.java +++ b/plugins/devkit/devkit-core/src/dom/ExtensionOrderConverter.java @@ -1,4 +1,4 @@ -// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.devkit.dom; import com.intellij.codeInsight.completion.CompletionUtil; @@ -125,7 +125,7 @@ public class ExtensionOrderConverter implements CustomReferenceConverter return (trimKeyword ? LoadingOrder.BEFORE_STR.trim() : LoadingOrder.BEFORE_STR).equalsIgnoreCase(str) || (trimKeyword ? LoadingOrder.AFTER_STR.trim(): LoadingOrder.AFTER_STR).equalsIgnoreCase(str) || LoadingOrder.BEFORE_STR_OLD.equalsIgnoreCase(str) || - LoadingOrder.BEFORE_STR_OLD.equalsIgnoreCase(str); + LoadingOrder.AFTER_STR_OLD.equalsIgnoreCase(str); } diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/orderAttributeHighlighting.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/orderAttributeHighlighting.xml index 4ff97d7c9330..cde36947f42a 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/orderAttributeHighlighting.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/orderAttributeHighlighting.xml @@ -14,5 +14,12 @@ wrongId"/> wrongId"/> + + wrongId"/> + wrongId"/> + wrongId"/> + wrongId"/> + + wrongKeyword id6"/> \ No newline at end of file