Registering a plugin: .FileBasedIndex has unsatisfied dependency

Greeting,

I'm developping a new plugin and following the instructions from http://confluence.jetbrains.net/display/IDEADEV/Developing+Custom+Language+Plugins+for+IntelliJ+IDEA

Right now I am just trying to do the first part of registering the plugin from a brand new plugin project.

My plugin is names Stroll and I have created the following classes:
StrollLanguageFileTypeFactory extends FileTypeFactory
StrollLanguageFileType extends LanguageFileType
StrollLanguage extends Language

Also I have added the following extension point in plugin.xml:
<fileTypeFactory implementation="st.redline.stroll.StrollLanguageFileTypeFactory"/>

I've deployed the plugin and upon restarting IDEA, I get the following error:
2012-05-13 22:21:34,844 [  37806]  ERROR - ij.components.ComponentManager - com.intellij.util.indexing.FileBasedIndex has unsatisfied dependency: class com.intellij.openapi.fileTypes.FileTypeManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.ex.VirtualFileManagerEx, class com.intellij.openapi.fileEditor.FileDocumentManager, class com.intellij.openapi.fileTypes.FileTypeManager, interface com.intellij.util.messages.MessageBus, class com.intellij.psi.stubs.SerializationManager]] where AreaPicoContainer.MyPicoContainer[null] was the leaf container being asked for dependencies...

Afterwhich I'm stuck on the splash screen and have to kill the process, remove the plugin from the config/plugin folder and restart IDEA and reenable XPathView+ XLST support.

I'm a complete noob to plugin development so I might be missing or have misread some really basic information.

Thank you for any help

0

Please make sure your IDEA SDK is setup properly, all JARs have to be added to it but not your plugin module.

http://www.jetbrains.org/display/IJOS/Writing+Plug-ins

0

Oh, I deviated from these instructions by downloading the Community Edition binaries installing it, creating the IntelliJ IDEA SDK pointing to the binaries installation homepath and linking the sourcepath to the downloaded and expanded source tar file instead of checking out and building the Community Edition. Could this be it?

0

This should still work, please try re-creating your IDEA SDK from scratch.

0

请先登录再写评论。