Plugin context menu not visible when starting from run config with IJ Build #IU-212.4746.92
Hi
Since version Build #IU-212.4746.92 the plugin context menu entry is not shown any more when starting from run config in IDE.
plugin.xml:
<idea-plugin>
<id>com.your.company.unique.plugin.id</id>
<name>Untitled</name>
<version>1.0</version>
<vendor email="no-reply@email.com" url="http://www.company.com">Worldline</vendor>
<description>Blablablablablablablablablablablablablablablabla</description>
<change-notes>none</change-notes>
<!-- please see https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html for description -->
<idea-version since-build="173.0"/>
<!-- please see https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html
on how to target different products -->
<depends>com.intellij.modules.platform</depends>
<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
</extensions>
<actions>
<group>
<add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
<action class="Action" id="Untitled" text="SomeText" description="Untitled" icon="AllIcons.Vcs.Branch"/>
</group>
</actions>
</idea-plugin>
There is also a strange error message in the log:
2021-11-12 08:12:12,623 [ 38028] WARN - nSystem.impl.ActionToolbarImpl - Please do not use ActionPlaces.UNKNOWN or the empty place. Any string unique enough to deduce the toolbar location will do.
java.lang.Throwable: toolbar creation trace
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.<init>(ActionToolbarImpl.java:112)
The context menu entry was shown with earlier versions (2020.3 and before).
I'm using SDK IntelliJ IDEA IU-212.4746.92 with zulu 11.0.11.
To be mentioned: It's only not shown in IDE run mode. It's visible when the plugin is packaged and deployed (via jar include).
Is this a known issue? Do I have to change something in my setup?
Cheers
Stefan
Please sign in to leave a comment.
Is this Devkit-based setup? Most probably known issue https://youtrack.jetbrains.com/issue/IDEA-276310
Please consider migrating to Gradle-based setup https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html#adding-gradle-support-to-an-existing-devkit-based-intellij-platform-plugin
Seems to be fixed with 2021.3.1