[remdev + json] IJPL-159355 Introduce json.split shared module for both frontend and monolith IDE plugins

GitOrigin-RevId: 24fa5e237a2bb74a5dd50be268e1c3fa616dc100
This commit is contained in:
Nikita Katkov
2024-08-06 14:43:16 +02:00
committed by intellij-monorepo-bot
parent 0343fc88fb
commit 1059d63e64
5 changed files with 33 additions and 1 deletions

View File

@@ -30,5 +30,6 @@
<orderEntry type="library" name="caffeine" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="library" name="kotlinx-collections-immutable" level="project" />
<orderEntry type="module" module-name="intellij.json.split" exported="" />
</component>
</module>

View File

@@ -13,6 +13,8 @@
<a href="https://json-schema.org/overview/what-is-jsonschema">JSON Schema</a> languages
]]></description>
<!--<xi:include href="/intellij.json.split.xml" xpointer="xpointer(/idea-plugin/*)"/>-->
<actions resource-bundle="messages.JsonBundle">
<action id="JsonCopyPointer" class="com.intellij.json.editor.JsonCopyPointerAction">
<add-to-group group-id="CutCopyPasteGroup" anchor="after" relative-to-action="CopyReference"/>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.util.ui" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.editor" />
</component>
</module>

View File

@@ -0,0 +1,5 @@
<idea-plugin package="com.intellij.json.split">
<module value="intellij.json.split"/>
</idea-plugin>

View File

@@ -26,7 +26,9 @@ object CommunityRepositoryModules {
* Specifies non-trivial layout for all plugins that sources are located in 'community' and 'contrib' repositories
*/
val COMMUNITY_REPOSITORY_PLUGINS: PersistentList<PluginLayout> = persistentListOf(
pluginAuto("intellij.json") {},
pluginAuto("intellij.json") { spec ->
spec.withModule("intellij.json.split", "json-split.jar")
},
pluginAuto("intellij.yaml") { spec ->
spec.withModule("intellij.yaml.editing", "yaml-editing.jar")
},