mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
89e756a16f
Listeners for topic "com.intellij.openapi.project.ProjectManagerListener" don't work inside <projectListeners>, only <applicationListeners>.
20 lines
869 B
XML
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>
|