Issue of running sample plugin

I try to run the sample plugin "register_actions" from the tutorial, but I don't see any new menu items in the IDE instance. 

Here is the setup:

The Run configuration:

The SDK for the module

The project SDK:



The code compiled and produced a new IDEA instance, but in that instance, I did not see any new action-items in the menu.

Also, I am have question on this line of code in the .iml file

<module type="JAVA_MODULE" version="4">

Why it is a JAVA_MODULE instead of a PLUGIN_MODULE?

0
2 comments
Avatar
Permanently deleted user

It is impossible to answer without seeing your code. Create a GitHub account if you don't already have one and put your sample plugin there, so that we can see your code, plugin.xml, and settings. The line

<module type="JAVA_MODULE" version="4">

should indeed be

<module type="PLUGIN_MODULE" version="4">
0

In fact you can develop a plugin using a Java module as well as Plugin module.

Please firstly check if the plugin is loaded: look at Settings | Plugin and find your plugin in the list. If the plugin isn't loaded most probably it means that there is a problem with plugin.xml: check that plugin.xml is located under META-INF directory in either sources or resources root.

0

Please sign in to leave a comment.