Using extensions

I'm trying to develop a plugin that makes use of the extension mechanism.
Now in the class com.intellij.ExtensionPoints I found the following statement:
"This extension point should be used instead of former application-components, project-components, module-components." Is this still true? In case it is, what interface is expected to be implemented by an application component extension? Is it still ApplicationComponent as for the old method of specifing application components or is there some other? Is it only a new mechanism for specifing plugin components or does the behaviour also change?

Cheers,
Robert

3 comments

Hello Robert,

RB> I'm trying to develop a plugin that makes use of the extension
RB> mechanism.
RB>
RB> Now in the class com.intellij.ExtensionPoints I found the following
RB> statement:
RB>
RB> "This extension point should be used instead of former
RB> application-components, project-components, module-components." Is
RB> this still true?

Not really. The extension points probably do work, but we don't migrate the
components in our own plugins and don't advise plugin developers to do so.
In any case, you won't get any new behavior from registering components through
the extension point.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks for the clarification.

But defining extension points and extensions stays supported, doesn't it?
Don't want to write a plugin that uses something that won't be there in a week or two :)

Cheers,
Robert

0

Hello Robert,

RB> Thanks for the clarification.
RB>
RB> But defining extension points and extensions stays supported,
RB> doesn't it? Don't want to write a plugin that uses something that
RB> won't be there in a week or two :)

It does. We don't have any plans to drop this.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.