Hi, what’s the best way to get support for the old Project Structure API, the new Workspace Model, and their interoperability working in a custom bare-bones IDE?
Currently I have the following dependencies:
The CustomPlugin.iml
file contains:
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
...
<orderEntry type="module" module-name="intellij.dev.noJava.plugin.main" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.bootstrap" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.collaborationTools" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.externalSystem" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.ide.newUiOnboarding" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.kernel" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.kernel.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.lvcs" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.lvcs.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.main" />
<orderEntry type="module" module-name="intellij.platform.monolith.main" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.project" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.project.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.resources" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.starter" />
<orderEntry type="module" module-name="intellij.platform.tips" scope="RUNTIME"/>
...
</component>
</module>
The CustomPlugin.xml
file contains:
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="/META-INF/PlatformLangXmlPlugin.xml"/>
<xi:include href="/META-INF/common-ide-modules.xml"/>
<content>
<module name="intellij.platform.tips"/>
</content>
</idea-plugin>
However, I dearly miss the Project Structure dialog from IntelliJ IDEA. Is there a way to pull it in, without including the entire Java plugin?
Or is the only sensible way to rely on external build system plugins to manage IntelliJ-Platform’s internal project structure model?