I branched out the structure and made the necessary changes to make this possible. See https://github.com/andreif/play/commit/ec70ab8162620a0c9ba5ca7195fc3c51d7de91b1 (note: the branch is called idea_project !)
This command adds the ideaproj command, which creates Module, Project, and Workspace files with a very simple structure. If you are using OS X, the team will also try to open the project in all (!) IDEA applications located in /Applications/IntelliJ\ IDEA*.app . So set up a python script if you have multiple applications for IDEA. Also, you probably want to change the default workspace layout. Take a look at iwsTemplate.xml and change it to your preference.
Usage: run the following command in the application directory to create the IDEA project files (and open them):
play ideaproj
Please note that it will overwrite existing project files! If the IDEA project is already open at the time you run this command again, then IDEA will ask you if you want to restart the project.
I also added the following two commits:
If you want to start using this command now, copy the intellij.py , iprTemplate.xml and iwsTemplate.xml to the directory of your playback platform (to the appropriate locations!).
EDIT: I made two more commits to fix the project tree in the workspace template so that it expands the first time you open the project.
source share