)",
complete: true,
apiStatus: deprecated (This is old!),
priority: NORMAL,
@@ -38,7 +38,7 @@
priority: NORMAL,
source: {
matchedName: "html/attributes/disabled",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest1.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest1.gold.txt
index d8be389d4b40..48b1dc0a1652 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest1.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest1.gold.txt
@@ -2,7 +2,7 @@
{
matchedName: "html/elements/",
name: "my-element",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
has-pattern: true,
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest2.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest2.gold.txt
index 52285ec6065c..6a51d8a32d8b 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest2.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/deprecated",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
apiStatus: deprecated,
priority: NORMAL,
@@ -14,7 +14,7 @@
},
{
matchedName: "html/attributes/deprecatedWithMessage",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
apiStatus: deprecated (This is old!),
priority: NORMAL,
@@ -27,7 +27,7 @@
},
{
matchedName: "html/attributes/disabled",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest4.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest4.gold.txt
index 22c5472d514c..d0b98c0b5e0e 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest4.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest4.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "js/events/disabled-changed",
- origin: "basic@null ()",
+ origin: "basic ()",
type: "Event",
complete: true,
priority: NORMAL,
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest5.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest5.gold.txt
index f3fa36626518..6e6550670587 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest5.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest5.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "css/properties/--my-element-background-color",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
description: "The background color of the element.",
priority: NORMAL,
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest6.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest6.gold.txt
index c99312d7eb7e..167e2e3bd0a6 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest6.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest6.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "css/parts/foo",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
description: "The foo.",
priority: NORMAL,
diff --git a/platform/polySymbols/testData/query/list/basicCustomElementsManifest7.gold.txt b/platform/polySymbols/testData/query/list/basicCustomElementsManifest7.gold.txt
index cd36fd488ef4..a84ac7de6753 100644
--- a/platform/polySymbols/testData/query/list/basicCustomElementsManifest7.gold.txt
+++ b/platform/polySymbols/testData/query/list/basicCustomElementsManifest7.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "js/properties/disabled",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
segments: [
@@ -13,7 +13,7 @@
},
{
matchedName: "js/properties/fire",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/name/basicCustomElementsManifest1.gold.txt b/platform/polySymbols/testData/query/name/basicCustomElementsManifest1.gold.txt
index eb7e21c4798f..779a8a564e65 100644
--- a/platform/polySymbols/testData/query/name/basicCustomElementsManifest1.gold.txt
+++ b/platform/polySymbols/testData/query/name/basicCustomElementsManifest1.gold.txt
@@ -1,16 +1,15 @@
[
{
matchedName: "html/elements/my-EleMeNt",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
- description: "The cool class",
priority: NORMAL,
segments: [
{
name-part: "my-EleMeNt",
symbol: {
matchedName: "custom-elements-manifest/declarations/MyElement",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
description: "The cool class",
priority: NORMAL,
diff --git a/platform/polySymbols/testData/query/name/basicCustomElementsManifest2.gold.txt b/platform/polySymbols/testData/query/name/basicCustomElementsManifest2.gold.txt
index a06a9507f064..0e6af7454274 100644
--- a/platform/polySymbols/testData/query/name/basicCustomElementsManifest2.gold.txt
+++ b/platform/polySymbols/testData/query/name/basicCustomElementsManifest2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/disabled",
- origin: "basic@null ()",
+ origin: "basic ()",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueComponent.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueComponent.gold.txt
index 105ca39da05d..bd696f30137f 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueComponent.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueComponent.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/elements/Foo",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueComponentAttribute.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueComponentAttribute.gold.txt
index 8c247ef65e4b..686ec920903c 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueComponentAttribute.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueComponentAttribute.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-bind:my-input",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: OF_MATCH,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueComponentEvent.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueComponentEvent.gold.txt
index 48373b976c4e..4a9ff785d4f6 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueComponentEvent.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueComponentEvent.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/@event1",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueComponentPatternSlot.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueComponentPatternSlot.gold.txt
index 0a99346dbd79..a58985bd12b2 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueComponentPatternSlot.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueComponentPatternSlot.gold.txt
@@ -3,7 +3,6 @@
matchedName: "html/slots/abaa",
origin: "test-lib@2.0.0-rc.24 (vue)",
complete: true,
- description: "The patterned slot",
priority: NORMAL,
segments: [
{
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueDirective1.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueDirective1.gold.txt
index 4952e9523b9d..9bb9a838b92b 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueDirective1.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueDirective1.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-cool:foo.foo.ba456",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueDirective2.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueDirective2.gold.txt
index ad37022d850a..d3801c70875d 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueDirective2.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueDirective2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-cool.foo.ba456",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueDirective3.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueDirective3.gold.txt
index 82940ba5fb91..b155c6ba9c09 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueDirective3.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueDirective3.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-cool:foo",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueDirective4.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueDirective4.gold.txt
index 0e6a7f8c7bb8..ab3ba6e546eb 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueDirective4.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueDirective4.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-cool",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/legacyDocVueDirective5.gold.txt b/platform/polySymbols/testData/query/name/legacyDocVueDirective5.gold.txt
index 2381933005a3..7efb7dae1eb9 100644
--- a/platform/polySymbols/testData/query/name/legacyDocVueDirective5.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyDocVueDirective5.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-cool.bc455",
- origin: "vue@3.0.0 (vue)",
+ origin: "test-lib@2.0.0-rc.24 (vue)",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/legacyVuetifyComponentProps2.gold.txt b/platform/polySymbols/testData/query/name/legacyVuetifyComponentProps2.gold.txt
index dc09240bea15..f81ddae85680 100644
--- a/platform/polySymbols/testData/query/name/legacyVuetifyComponentProps2.gold.txt
+++ b/platform/polySymbols/testData/query/name/legacyVuetifyComponentProps2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/allowOverflow",
- origin: "vue@3.0.0 (vue)",
+ origin: "vuetify@1.3.2 (vue)",
attrValue: {
type: OF_MATCH,
default: "true",
diff --git a/platform/polySymbols/testData/query/name/mixedFrameworkFiles.gold.txt b/platform/polySymbols/testData/query/name/mixedFrameworkFiles.gold.txt
index 2593993e1694..7182df153f95 100644
--- a/platform/polySymbols/testData/query/name/mixedFrameworkFiles.gold.txt
+++ b/platform/polySymbols/testData/query/name/mixedFrameworkFiles.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/foo-baz",
- origin: "framework-web-types@0.1.0 (@polymer/polymer)",
+ origin: "web-components@1.0.0 (@polymer/polymer)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/nestedPattern1.gold.txt b/platform/polySymbols/testData/query/name/nestedPattern1.gold.txt
index b0e742b096eb..d5eddc789263 100644
--- a/platform/polySymbols/testData/query/name/nestedPattern1.gold.txt
+++ b/platform/polySymbols/testData/query/name/nestedPattern1.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/elements/bar-bar",
- origin: "vue@3.0.0 (vue)",
+ origin: "null (vue)",
complete: true,
priority: NORMAL,
segments: [
@@ -45,7 +45,7 @@
display-name: "Vue component",
symbol: {
matchedName: "html/attributes/bar",
- origin: "null@null (vue)",
+ origin: "null ()",
complete: true,
priority: NORMAL,
segments: [
diff --git a/platform/polySymbols/testData/query/name/ngCustomEventBinding1.gold.txt b/platform/polySymbols/testData/query/name/ngCustomEventBinding1.gold.txt
index b64a411b1c0e..96a5c077086e 100644
--- a/platform/polySymbols/testData/query/name/ngCustomEventBinding1.gold.txt
+++ b/platform/polySymbols/testData/query/name/ngCustomEventBinding1.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/(click.prevent)",
- origin: "css@1.0 ()",
+ origin: "custom@1.0 ()",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/ngCustomEventBinding2.gold.txt b/platform/polySymbols/testData/query/name/ngCustomEventBinding2.gold.txt
index 044e770c04d5..609e91cadc97 100644
--- a/platform/polySymbols/testData/query/name/ngCustomEventBinding2.gold.txt
+++ b/platform/polySymbols/testData/query/name/ngCustomEventBinding2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/(click.prevented)",
- origin: "css@1.0 ()",
+ origin: "events@1.0.0 ()",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/ngCustomEventBinding3.gold.txt b/platform/polySymbols/testData/query/name/ngCustomEventBinding3.gold.txt
index 3708bb8570f7..c9635a825f73 100644
--- a/platform/polySymbols/testData/query/name/ngCustomEventBinding3.gold.txt
+++ b/platform/polySymbols/testData/query/name/ngCustomEventBinding3.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/(click.prevent.stop.prevent)",
- origin: "css@1.0 ()",
+ origin: "custom@1.0 ()",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/ngCustomEventBinding4.gold.txt b/platform/polySymbols/testData/query/name/ngCustomEventBinding4.gold.txt
index bd97abc79db1..79ed56316c45 100644
--- a/platform/polySymbols/testData/query/name/ngCustomEventBinding4.gold.txt
+++ b/platform/polySymbols/testData/query/name/ngCustomEventBinding4.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/(clicked.prevent)",
- origin: "css@1.0 ()",
+ origin: "custom@1.0 ()",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments.gold.txt b/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments.gold.txt
index 925bb15aa554..a76bb423c3df 100644
--- a/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments.gold.txt
+++ b/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-on_old:bar.stop.foo.once",
- origin: "vue@3.0.0 (vue)",
+ origin: "vue@2.5.0a (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments2.gold.txt b/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments2.gold.txt
index c3de6ed392ad..590f67c1df58 100644
--- a/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments2.gold.txt
+++ b/platform/polySymbols/testData/query/name/oldVueDirectiveWithArguments2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-on_old:click.stop",
- origin: "vue@3.0.0 (vue)",
+ origin: "vue@2.5.0a (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/oldVueElement2.gold.txt b/platform/polySymbols/testData/query/name/oldVueElement2.gold.txt
index fde6467bc280..3e657b55f267 100644
--- a/platform/polySymbols/testData/query/name/oldVueElement2.gold.txt
+++ b/platform/polySymbols/testData/query/name/oldVueElement2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/moveClass",
- origin: "vue@3.0.0 (vue)",
+ origin: "vue@2.5.0a (vue)",
attrValue: {
type: OF_MATCH,
},
diff --git a/platform/polySymbols/testData/query/name/referenceComplexNameConversion.gold.txt b/platform/polySymbols/testData/query/name/referenceComplexNameConversion.gold.txt
index f1a119251643..7108459afd73 100644
--- a/platform/polySymbols/testData/query/name/referenceComplexNameConversion.gold.txt
+++ b/platform/polySymbols/testData/query/name/referenceComplexNameConversion.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/foo-FOO-BAR",
- origin: "framework-web-types@0.1.0 ()",
+ origin: "web-components@1.0.0 ()",
attrValue: {
kind: EXPRESSION,
type: STRING,
diff --git a/platform/polySymbols/testData/query/name/referenceNameConversion.gold.txt b/platform/polySymbols/testData/query/name/referenceNameConversion.gold.txt
index 2593993e1694..7182df153f95 100644
--- a/platform/polySymbols/testData/query/name/referenceNameConversion.gold.txt
+++ b/platform/polySymbols/testData/query/name/referenceNameConversion.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/foo-baz",
- origin: "framework-web-types@0.1.0 (@polymer/polymer)",
+ origin: "web-components@1.0.0 (@polymer/polymer)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/vueDirectiveShorthand2.gold.txt b/platform/polySymbols/testData/query/name/vueDirectiveShorthand2.gold.txt
index 3c0b1b6077a6..e4e756a972b5 100644
--- a/platform/polySymbols/testData/query/name/vueDirectiveShorthand2.gold.txt
+++ b/platform/polySymbols/testData/query/name/vueDirectiveShorthand2.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/@click",
- origin: "vue@3.0.0 (vue)",
+ origin: "events@1.0.0 (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/vueDirectiveWith2Events.gold.txt b/platform/polySymbols/testData/query/name/vueDirectiveWith2Events.gold.txt
index eeb2d860bdf5..d8fdd182ea5e 100644
--- a/platform/polySymbols/testData/query/name/vueDirectiveWith2Events.gold.txt
+++ b/platform/polySymbols/testData/query/name/vueDirectiveWith2Events.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-on:2foo",
- origin: "vue@3.0.0 (vue)",
+ origin: "events@1.0.0 (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testData/query/name/vueDirectiveWithArguments4.gold.txt b/platform/polySymbols/testData/query/name/vueDirectiveWithArguments4.gold.txt
index c5a17fae2170..6146bf8b53be 100644
--- a/platform/polySymbols/testData/query/name/vueDirectiveWithArguments4.gold.txt
+++ b/platform/polySymbols/testData/query/name/vueDirectiveWithArguments4.gold.txt
@@ -1,7 +1,7 @@
[
{
matchedName: "html/attributes/v-on:click",
- origin: "vue@3.0.0 (vue)",
+ origin: "events@1.0.0 (vue)",
attrValue: {
kind: EXPRESSION,
type: COMPLEX,
diff --git a/platform/polySymbols/testSrc/com/intellij/polySymbols/query/PolySymbolsMockQueryExecutorTestBase.kt b/platform/polySymbols/testSrc/com/intellij/polySymbols/query/PolySymbolsMockQueryExecutorTestBase.kt
index 5448e81c8504..e84230939d05 100644
--- a/platform/polySymbols/testSrc/com/intellij/polySymbols/query/PolySymbolsMockQueryExecutorTestBase.kt
+++ b/platform/polySymbols/testSrc/com/intellij/polySymbols/query/PolySymbolsMockQueryExecutorTestBase.kt
@@ -9,12 +9,14 @@ import com.intellij.openapi.extensions.DefaultPluginDescriptor
import com.intellij.openapi.extensions.ExtensionPoint
import com.intellij.openapi.extensions.PluginId
import com.intellij.polySymbols.context.impl.PolyContextProviderExtensionPoint
+import com.intellij.polySymbols.documentation.PolySymbolDocumentationCustomizer
+import com.intellij.polySymbols.framework.PolySymbolFramework
import com.intellij.polySymbols.framework.PolySymbolFramework.Companion.KIND_FRAMEWORK
import com.intellij.polySymbols.html.HtmlSymbolMatchCustomizer
import com.intellij.polySymbols.query.impl.CustomElementsManifestMockScopeImpl
import com.intellij.polySymbols.query.impl.PolySymbolMockQueryExecutorFactory
import com.intellij.polySymbols.query.impl.WebTypesMockScopeImpl
-import com.intellij.polySymbols.webTypes.filters.PolySymbolMatchPrefixFilter
+import com.intellij.polySymbols.webTypes.WebTypesSymbolBase
import com.intellij.polySymbols.webTypes.impl.PolySymbolFilterEP
import com.intellij.testFramework.UsefulTestCase
import java.io.File
@@ -32,7 +34,7 @@ abstract class PolySymbolsMockQueryExecutorTestBase : UsefulTestCase() {
application.registerService(ClientDocumentationSettings::class.java, LocalDocumentationSettings())
application.extensionArea.registerExtensionPoint(
"com.intellij.polySymbols.webTypes.filter",
- "com.intellij.polySymbols.webTypes.impl.PolySymbolsFilterEP",
+ "com.intellij.polySymbols.webTypes.impl.PolySymbolFilterEP",
ExtensionPoint.Kind.BEAN_CLASS, true)
application.extensionArea.registerExtensionPoint(
"com.intellij.polySymbols.webTypes.symbolFactory",
@@ -48,19 +50,32 @@ abstract class PolySymbolsMockQueryExecutorTestBase : UsefulTestCase() {
ExtensionPoint.Kind.BEAN_CLASS,
true
)
+ application.extensionArea.registerExtensionPoint(
+ "com.intellij.polySymbols.documentationCustomizer",
+ PolySymbolDocumentationCustomizer::class.java.name,
+ ExtensionPoint.Kind.BEAN_CLASS,
+ true
+ )
application.extensionArea.registerExtensionPoint(
"com.intellij.polySymbols.matchCustomizerFactory",
PolySymbolMatchCustomizerFactory::class.java.name,
ExtensionPoint.Kind.INTERFACE,
true
)
+ application.extensionArea.registerExtensionPoint(
+ "com.intellij.polySymbols.framework",
+ PolySymbolFramework::class.java.name,
+ ExtensionPoint.Kind.BEAN_CLASS,
+ true
+ )
+
val mockPluginDescriptor = DefaultPluginDescriptor(PluginId.getId("mock"),
- PolySymbolMatchPrefixFilter::class.java.classLoader)
+ WebTypesSymbolBase::class.java.classLoader)
application.extensionArea.getExtensionPoint("com.intellij.polySymbols.webTypes.filter")
.registerExtension(
PolySymbolFilterEP().also {
it.name = "match-prefix"
- it.implementation = "com.intellij.polySymbols.webTypes.filters.PolySymbolsMatchPrefixFilter"
+ it.implementation = "com.intellij.polySymbols.webTypes.filters.PolySymbolMatchPrefixFilter"
it.pluginDescriptor = mockPluginDescriptor
},
mockPluginDescriptor, testRootDisposable)