#939 Unusable - right click in code editor throws exceptions

Have submitted this already, but thought I'd post here, 939 is rather
unusable for me ( at least ) as whenever I right click in the editor, I
get:

java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.FileEditorManager.getSelectedFile()Lcom/intellij/openapi/vfs/VirtualFile;
at dk.lec.idea.plugin.generate.PsiUtil.getSelectedJavaFile(PsiUtil.java:68)
at dk.lec.idea.plugin.generate.PsiUtil.getSelectedJavaFile(PsiUtil.java:58)
at dk.lec.idea.plugin.generate.GenerateToStringAction.update(GenerateToStringAction.java:50)
at com.intellij.openapi.editor.actionSystem.EditorAction.update(EditorAction.java:16)


I guess someones plugin is broken with an API change...

1 comment
Comment actions Permalink

The problem is in the toString plugin. I'm downloading the source now to
make up a patch... Unless Tom's already got one made and uploaded to the
wiki...


On Sat, 27 Sep 2003 11:51:28 +1200, Mark Derricutt wrote:

Have submitted this already, but thought I'd post here, 939 is rather
unusable for me ( at least ) as whenever I right click in the editor, I
get:

java.lang.NoSuchMethodError:
com.intellij.openapi.fileEditor.FileEditorManager.getSelectedFile()Lcom/intellij/openapi/vfs/VirtualFile;
at
dk.lec.idea.plugin.generate.PsiUtil.getSelectedJavaFile(PsiUtil.java:68)
at
dk.lec.idea.plugin.generate.PsiUtil.getSelectedJavaFile(PsiUtil.java:58)
at
dk.lec.idea.plugin.generate.GenerateToStringAction.update(GenerateToStringAction.java:50)
at
com.intellij.openapi.editor.actionSystem.EditorAction.update(EditorAction.java:16)


I guess someones plugin is broken with an API change...


--
"It's all in the heat of the moment, it's all in the pain..." Devy.
Mark Derricutt @ mark@talios.com @ talios.blog-city.com
Now Playing: %s

0

Please sign in to leave a comment.