Is there a list of OpenAPI changes anywhere

I wrote a plugin using 6.0 Beta only to find that it doesn't work with 5.x versions :)

The problem was that the incompatible API.. Now to recode my plugin, it'd be helpful if I can see a (preferably comprehensive) list of changes to the API somewhere.. Does anyone have a link or something?

(and yeah, I've tried Googling before posting this :D )

0
8 comments
Avatar
Permanently deleted user

What API you are using?

0

The major ones:
com.intellij.openapi.ui.popup.JBPopup
com.intellij.openapi.ui.popup.PopupChooserBuilder
com.intellij.psi.search.searches.ReferencesSearch
com.intellij.psi.search.searches.ReferencesSearch.SearchParameters
com.intellij.psi.search.searches.MethodReferencesSearch
com.intellij.psi.search.searches.MethodReferencesSearch.SearchParameters

and a minor one:
com.intellij.psi.PsiMethod.findDeepestSuperMethods()

this can be replaced with com.intellij.psi.PsiMethod.findSuperMethods() and is not much of a problem..

But not having others means I've to rewrite all that they were doing :(

(just that I'm a bit too lazy to rewrite them :D )

0
Avatar
Permanently deleted user

Hello Dharampal,

D> I wrote a plugin using 6.0 Beta only to find that it doesn't work
D> with 5.x versions :)
D>
D> The problem was that the incompatible API.. Now to recode my plugin,
D> it'd be helpful if I can see a (preferably comprehensive) list of
D> changes to the API somewhere.. Does anyone have a link or something?

No, there is no such list. You can compare the code in src_openapi.zip from
5.x and 6.0 for classes used by your plugin.

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


0
Avatar
Permanently deleted user

What the point of backporting? May be better introduce new features :)

0

yea, I agree with that point..
but I wrote it for the plugin contest which means it has to be compatible with 5.x :(

while developing, I didn't have access to any 5.x versions, so I had to build it with 6.0 Beta..

later somone reported that it doesn't work in 5.1 and only then did I realize my mistake :D

anyways, thanks :)

0

thanks.. :)
I just wanted to find that out.. :)

0
Avatar
Permanently deleted user

Hello Dharampal,

D> yea, I agree with that point..
D> but I wrote it for the plugin contest which means it has to be
D> compatible with 5.x :(

That's not true. Plugins submitted for the contest need to be compatible
with either 5.x or 6.0.

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


0

hey, that's really great :)
I didn't know that!

Thanks for letting me know.. That was really helpful..

I suspended writing another plugin to backport this one!

You saved my extra effort :)

0

Please sign in to leave a comment.