Recently, I wanted to edit a Grails plugin in IntelliJ 8 (without creating an application around it). Given that IntelliJ doesnt seem to be able to import a Grails project without building an application around it, I had to find another way.
My solution revolves around copying an existing IML (module file) into the Grails Plugin and ensuring that it references only the files in the new project (by editing it in vi or your favourite editor)! Its not a great solution, but at least you can edit a plugin in the IDE.
Editing the IML file is fairly easy; its mainly changing all references to the module's name and adding and removing paths as appropriate.
I've tried this and it seems to work well enough for me, if anyone has a better way than this, please reply!