MemberChooser gone i Selena

Hi

I'm the author of the toString() plugin that works in IDEA 5.x and 6.x.

In the new EAP Selena the plugin does not work anymore.
Jetbrains have removed the MemberChooser.

import com.intellij.ide.util.MemberChooser;

I have looked in the openapi javadoc but I can not find a chooser to select PsiMember objects.
Where is it?

If it's missing can it be added to the openapi? It is essential for the toString() plugin. If Jetbrains will not open up for it, I see no other action than to stop develop this plugin (I started this plugin in 2002).

/Claus

6 comments

On 2007-02-04 22:11:27 +0300, Claus Ibsen <cib_rejse@yahoo.dk> said:

Hi

I'm the author of the toString() plugin that works in IDEA 5.x and 6.x.

In the new EAP Selena the plugin does not work anymore.
Jetbrains have removed the MemberChooser.

import com.intellij.ide.util.MemberChooser;

I have looked in the openapi javadoc but I can not find a chooser to
select PsiMember objects.
Where is it?

If it's missing can it be added to the openapi? It is essential for the
toString() plugin. If Jetbrains will not open up for it, I see no other
action than to stop develop this plugin (I started this plugin in 2002).

/Claus


Well, it's actually there, in com.intellij.ide.util and AFAIK this
stuff have never been OpenAPI, thus it's in idea.jar not openapi.jar

0

Hi Max

Thanks for the reply. I'll check it up after work.

You could consider added it in the open api as there are other chooser's there and the member chooser dialog is very useful for plugins.


/Claus

0

Okay the dialog is still there but now it takes different arguments.

PsiMember is now gone and it accepts some new Psi code from the codeInsight package.

Is there any helper classes to help convert a PsiMember to the equalivent class of the codeInsight package?

0

Claus Ibsen ?????:

Okay the dialog is still there but now it takes different arguments.

PsiMember is now gone and it accepts some new Psi code from the codeInsight package.

Is there any helper classes to help convert a PsiMember to the equalivent class of the codeInsight package?


There isn't any general utility, but everything's rather simple.
MemberChooser now takes not raw PsiElements, but their wrappers. You'll
need seemingly PsiMethodMember and/or PsiFieldMember that are easily
instantiable. This API is unlikely to change in the near future.

0

Thanks Peter for taking time in your busy everyday to respond to us. I'll look at these wrappers in due time.

0

I'm afraid, It doesn't work also in IntelliJ 6.0.4 (build 6148).
I also can't find it in idea.jar nor idea_rt.jar...

Any suggestion ?

0

Please sign in to leave a comment.