Ctrl+F7 will compile only the active source file.
Look for the Compile item at the bottom of the Build menu.
Of course, you'll still have to do a build before you can test, but if you just want a quick sanity check after modifying a source file, this can be handy.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…