Unable to get the tool window plugin example working?

I've  been looking at two examples in the intellij community edition:  textEditor and tool window... and have been able to run the textEditor  plugin but haven't been able to get the tool window plugin working

(Tool window plugin described in the page below):
http://confluence.jetbrains.com/display/IDEADEV/Creation+of+Tool+Windows

I  don't see why it wouldn't work. I followed the instructions for setting  up the plugin environment and imported the tool window project, set up  run configurations and hit run. I don't see a new menuItem appearing in view > tool windows

Similarly I've been trying to open plugins from github, I've just been getting plugin examples from github by using  VCS > check out from version control > git and then pasting in  the url
for example:

https://github.com/halirutan/Mathematica-IntelliJ-Plugin

How  do I then run the plugin? (I've noticed that the iml file says  "JAVA_MODULE" instead of "PLUGIN_MODULE", so I change the "JAVA_MODULE"  manually to "PLUGIN_MODULE" but I'm not sure if that's the way to go).  I've managed to get the simple plugins working by that method, but  unable to get the more complex plugins, with extensions, to run? I don't know why some plugins seem to run and others completely don't show (the icon/menuItem/toolbar item just don't show up?)
---

I'm not sure if this is related, but this error keeps coming up.. not sure what it means..

java.lang.IllegalArgumentException: attempt to register provider with non unique editorTypeId: ui-designer
     at  com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.registerProvider(FileEditorProviderManagerImpl.java:136)
    at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.access$000(FileEditorProviderManagerImpl.java:50)
      at  com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl$1.extensionAdded(FileEditorProviderManagerImpl.java:62)
     at  com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl$1.extensionAdded(FileEditorProviderManagerImpl.java:59)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.addExtensionPointListener(ExtensionPointImpl.java:342)
     at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.<init>(FileEditorProviderManagerImpl.java:58)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
    at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
      at  org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
    at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:54)
     at  com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.initializeInstance(ServiceManagerImpl.java:159)
    at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter$1.compute(ServiceManagerImpl.java:147)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:934)
     at  com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:139)
    at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:225)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:212)
    at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:199)
     at  org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
    at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:36)
     at com.intellij.openapi.fileEditor.ex.FileEditorProviderManager.getInstance(FileEditorProviderManager.java:31)
    at com.intellij.openapi.fileEditor.impl.HistoryEntry.<init>(HistoryEntry.java:85)
    at com.intellij.openapi.fileEditor.impl.EditorsSplitters.readExternalPanel(EditorsSplitters.java:347)
     at com.intellij.openapi.fileEditor.impl.EditorsSplitters.openFiles(EditorsSplitters.java:289)
    at com.intellij.openapi.fileEditor.impl.OpenFilesActivity$1.run(OpenFilesActivity.java:42)
    at com.intellij.openapi.fileEditor.impl.OpenFilesActivity.runActivity(OpenFilesActivity.java:52)
     at com.intellij.ide.startup.impl.StartupManagerImpl$2.run(StartupManagerImpl.java:146)
    at com.intellij.ide.startup.impl.StartupManagerImpl.runActivities(StartupManagerImpl.java:259)
    at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivitiesFromExtensions(StartupManagerImpl.java:158)
     at com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:434)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl.java:262)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:274)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
    at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
     at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:658)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:436)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:744)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)



Thank you in advance! :D

2 comments
Comment actions Permalink

It may be related to some errors I've been getting when trying to load the community edition (see screenshots)

I've been following instructions from here:
http://www.jetbrains.org/pages/viewpage.action?pageId=983225

and I think I've done all the steps but errors are still there.

Any help appreciated!



Attachment(s):
Error2.png
Error1.png
0
Comment actions Permalink

After struggling to figure out what the error was, I just uninstalled and reinstalled intellij and everything seems to be working correctly now..

0

Please sign in to leave a comment.