Plugin.xml corrupt?
Hi, this ist my plugin.xml:
<idea-plugin version="22"> <id>TFSTask integration for PyCharm</id> <description>Provides integration with TFS and SVN</description> <name>TFSTask integration for PyCharm</name> <version>1.0</version> <description> This Plugin should help to link workitems </description> <change-notes> <![CDATA[ Add change notes here.<br> <small>most HTML tags may be used</small> ]]> </change-notes> <idea-version since-build="109.105"/> <actions> <action id="test" text="test" description="test"> <add-to-group group-id="MainMenu" anchor="first"/> </action> </actions> </idea-plugin>
But there is no item in the Main Menu.
This is just an example, every action or extension point in the plugin.xml is ignored.
However, entry of the Plugin in File->Settings->Plugins is there.
What is wrong?
Please sign in to leave a comment.
http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
I started a new one from scratch and cant declare any functionality in plugin.xml
The action entry is still ignored
Have you actually read the article which I have directed you to?
I did, and i added com.intellij.modules.lang as dependencie. But still no functionality.
I have other Modules in my project which are working with the same settings, but this new one from scratch wont run.
In the plugin.xml you've posted above, the com.intellij.modules.lang dependency is commented out.
After i red the article i've added the dependencie, but it still wont work.
Even if i delete the implementing class, there is no error during runtime.
What is wrong?
This particular plugin.xml won't work because IntelliJ IDEA will fail to load the class "sdfasdf" and therefore will not add your action to the menu.
Teach me master.
*push* please, tell me where i made the mistake!
kind regards
syt
I think you should fill in a effective java class
<group id="MyPlugin.SampleMenu" text="_Sample Menu" description="Sample menu"> <action id="Why.is.it.not.working" : ; font-size: 14pt; font-family: arial black,avant garde; text-decoration: underline; ">WhyIsItNotWorking" text="WhyIsItNotWorking" description="WhyIsItNotWorking?"> <add-to-group group-id="MainMenu" anchor="last"/> </action> </group>
Example:
<group id="MyPlugin.SampleMenu" text="_Sample Menu" description="Sample menu"> <action id="YourAcceptableId" : ; font-family: arial black,avant garde; text-decoration: underline; ">com.idea.example.YourClassName" text="WhyIsItNotWorking" description="WhyIsItNotWorking?"> <add-to-group group-id="MainMenu" anchor="last"/> </action> </group>
Hi,
I have plugin.xml in my project and added completion contributor in it as follows:
It is giving error "cannotresolve language with id "CHTML".
I have create a language file with CHTML id.
Can anyone tell me why it is showing me this error?
Thanks
Ishan jain
I had the same message when adding support for new language "cannot resolve language with id... "
It seems like it is not a problem because my plugin compiles and runs correctly. IDEA just says that it is a new language and it does not know if you actually have implemented a Language class