In the pull-down menu, where you can select the file to run, select "Edit Configuration...", there select "modify options" and under Java toggle "Do not build before run...". Than none other than the selected or current file is run.
This solved for me that other, still buggy, files were prompted to correct, before the IDE ran anything.
Maybe this is helpful. Cheers.