JetBrains_intellij-platform.../src/main/resources/META-INF/plugin.xml
Eduardo Fonseca 89e756a16f
Fix ProjectManagerListener scope (#36)
Listeners for topic "com.intellij.openapi.project.ProjectManagerListener" don't work
inside <projectListeners>, only <applicationListeners>.
2020-09-25 20:50:42 +02:00

20 lines
869 B
XML

<idea-plugin>
<id>org.jetbrains.plugins.template</id>
<name>Template</name>
<vendor>JetBrains</vendor>
<!-- Product and plugin compatibility requirements -->
<!-- https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html -->
<depends>com.intellij.modules.platform</depends>
<extensions defaultExtensionNs="com.intellij">
<applicationService serviceImplementation="org.jetbrains.plugins.template.services.MyApplicationService"/>
<projectService serviceImplementation="org.jetbrains.plugins.template.services.MyProjectService"/>
</extensions>
<applicationListeners>
<listener class="org.jetbrains.plugins.template.listeners.MyProjectManagerListener"
topic="com.intellij.openapi.project.ProjectManagerListener"/>
</applicationListeners>
</idea-plugin>