I'm trying to modify the Generate toString plugin to work with build 957. When I hit alt-insert with it loaded, I get an exception around the lines:
VirtualFile vFile = FileEditorManager.getInstance(project).getSelectedFile();
PsiFile psiFile = manager.findFile(vFile);
It seems that getSelectedFile doesn't exist anymore. I can't seem to find a "replacement" - could anyone familiar with the openAPI help me out? This was one of my favorite plugins and I haven't been able to use it for quite a few builds now.