And I have this function
IDEA shows some inspections, but Simplify does nothing and IDEA throws an exception:
Both problems don't exist in Demetra bundled version.
IntelliJ Labs / JetBrains Inc.
"Develop with pleasure!"
IDEA Inspection OpenAPI has slightly changed between version 5.x and 6.0, requiring some adaptations in the plugin code.
A new version of the plugin specific to IDEA-6.0 has thus been released.
Sorry, but I don't quite understand this. JSIntentionPowerPack is bundled
with EAP builds of IDEA 6.0 for several months already, and obviously the
bundled version has all the necessary adaptations.
OD> IDEA Inspection OpenAPI has slightly changed between version 5.x and
OD> 6.0, requiring some adaptations in the plugin code.
OD> A new version of the plugin specific to IDEA-6.0 has thus been
"Develop with Pleasure!"
Looks like there is a problem in the "Update" handling. I got an error message when requesting "Update" too, but I didn't get any problem at all while requesting "Uninstall plugin" then "Install plugin" after restarting IDEA.
The intention API did not change at all between IDEA 5 and 6. That's why the bundled plugin still works fine with IDEA 6 while it was developed using IDEA 5. On the other hand, the inspection API changed a little bit between IDEA 5 and 6 (the LocalQuickFix interface, typically), and also did the way PsiFile instances can be created from a bunch of text. These two OpenAPI changes explain the errors and stack traces t800t8 described above (especially the AbstractMethodError thrown in applyFix()).