mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-185506: structure view modules as content ones
GitOrigin-RevId: 35d7101b8f71f2d963aecae897563cd4eb8b3f5c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f536a54bc6
commit
34c72f2cdf
@@ -48,7 +48,6 @@ private val PLATFORM_API_MODULES = java.util.List.of(
|
||||
"intellij.platform.execution",
|
||||
"intellij.xml",
|
||||
"intellij.xml.psi",
|
||||
"intellij.xml.structureView",
|
||||
"intellij.platform.kernel",
|
||||
)
|
||||
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
<xi:include href="/META-INF/XmlPsi.xml"/>
|
||||
|
||||
<extensionPoints>
|
||||
<extensionPoint name="xmlStructureViewElementProvider" interface="com.intellij.ide.structureView.xml.XmlStructureViewElementProvider" dynamic="true"/>
|
||||
|
||||
<extensionPoint name="xmlStructureViewBuilderProvider" interface="com.intellij.ide.structureView.xml.XmlStructureViewBuilderProvider" dynamic="true"/>
|
||||
|
||||
<extensionPoint name="xml.xmlTagRuleProvider" interface="com.intellij.xml.XmlTagRuleProvider" dynamic="true"/>
|
||||
<extensionPoint name="embeddedTokenTypesProvider" interface="com.intellij.lexer.EmbeddedTokenTypesProvider" dynamic="true"/>
|
||||
<extensionPoint name="embeddedTokenHighlighter" interface="com.intellij.ide.highlighter.EmbeddedTokenHighlighter" dynamic="true"/>
|
||||
@@ -48,10 +44,6 @@
|
||||
|
||||
<syntax.elementTypeConverter language="XML" implementationClass="com.intellij.psi.xml.XmlElementTypeConverterExtension"/>
|
||||
|
||||
<lang.psiStructureViewFactory language="DTD" implementationClass="com.intellij.lang.dtd.DtdStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="XML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="HTML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="XHTML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
|
||||
<syntaxHighlighter key="IDEA_PROJECT" implementationClass="com.intellij.ide.highlighter.XmlFileHighlighter"/>
|
||||
<syntaxHighlighter key="IDEA_MODULE" implementationClass="com.intellij.ide.highlighter.XmlFileHighlighter"/>
|
||||
@@ -60,8 +52,6 @@
|
||||
<colorSettingsPage implementation="com.intellij.openapi.options.colors.pages.XMLColorsPage"/>
|
||||
<colorSettingsPage implementation="com.intellij.openapi.options.colors.pages.HTMLColorsPage"/>
|
||||
|
||||
<xmlStructureViewBuilderProvider implementation="com.intellij.lang.html.structureView.HtmlStructureViewBuilderProvider"/>
|
||||
|
||||
<polySymbols.enableInLanguage language="HtmlCompatible"/>
|
||||
|
||||
<polySymbols.inspectionToolMapping symbolNamespace="html" symbolKind="attributes" problemKind="UnknownSymbol"
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<content>
|
||||
<module name="intellij.xml.dom" loading="embedded"/>
|
||||
<module name="intellij.xml.dom.impl" loading="embedded"/>
|
||||
<module name="intellij.xml.structureView" loading="embedded"/>
|
||||
<module name="intellij.xml.structureView.impl" loading="embedded"/>
|
||||
<module name="intellij.relaxng"/>
|
||||
</content>
|
||||
</idea-plugin>
|
||||
@@ -3,6 +3,7 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<idea-plugin>
|
||||
<dependencies>
|
||||
<module name="intellij.platform.backend"/>
|
||||
</dependencies>
|
||||
|
||||
<extensionPoints>
|
||||
<extensionPoint name="xmlStructureViewBuilderProvider"
|
||||
interface="com.intellij.ide.structureView.xml.XmlStructureViewBuilderProvider"
|
||||
dynamic="true"/>
|
||||
|
||||
<extensionPoint name="xmlStructureViewElementProvider"
|
||||
interface="com.intellij.ide.structureView.xml.XmlStructureViewElementProvider"
|
||||
dynamic="true"/>
|
||||
</extensionPoints>
|
||||
</idea-plugin>
|
||||
@@ -1,5 +1,11 @@
|
||||
### auto-generated section `build intellij.xml.structureView.impl` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "structureView-impl_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "structureView-impl",
|
||||
@@ -16,6 +22,7 @@ jvm_library(
|
||||
"//platform/util:util-ui",
|
||||
"//xml/xml-parser:parser",
|
||||
"//platform/lang-impl",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":structureView-impl_resources"]
|
||||
)
|
||||
### auto-generated section `build intellij.xml.structureView.impl` end
|
||||
@@ -3,6 +3,7 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<idea-plugin>
|
||||
<dependencies>
|
||||
<module name="intellij.xml.structureView"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<lang.psiStructureViewFactory language="DTD" implementationClass="com.intellij.lang.dtd.DtdStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="XML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="HTML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
<lang.psiStructureViewFactory language="XHTML" implementationClass="com.intellij.lang.xml.XmlStructureViewBuilderFactory"/>
|
||||
|
||||
<xmlStructureViewBuilderProvider implementation="com.intellij.lang.html.structureView.HtmlStructureViewBuilderProvider"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user