I am developing my own plugin for PyCharm in the Intellij IDEA developer community.
I changed JREto PyCharm
plugin.xmlFile changed
<idea-plugin version="2">
<id>com.krupa.adrian.plugin</id>
<name>Test plugin</name>
<version>1.0</version>
<vendor email="support@yourcompany.com" url="http://www.yourcompany.com">YourCompany</vendor>
<description><![CDATA[
Enter short description for your plugin here.<br>
<em>most HTML tags may be used</em>
]]></description>
<change-notes><![CDATA[
Add change notes here.<br>
<em>most HTML tags may be used</em>
]]>
</change-notes>
<idea-version since-build="141.0"/>
<depends>com.intellij.modules.lang</depends>
<extensions defaultExtensionNs="com.intellij">
</extensions>
<actions>
<action id="testButton"
class="testButton">
<add-to-group group-id="ToolbarRunGroup" anchor="last"/>
</action>
</actions>
</idea-plugin>
and created a class example for the button
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
public class testButton extends AnAction {
@Override
public void actionPerformed(AnActionEvent anActionEvent) {
System.out.println("Debug message");
}
}
Everything works fine, a button appears, logs are displayed.
Question:
I removed my test plugin from the settings-> plugins menu in PyCharm and now the plugin does not appear in PyCharm when I click Run in IDEA. How can I cancel this uninstall or another way to debug custom plugins?
source
share