The VHDL bug-squashing funnel, and how to use it: Automatically compiling your VHDL code each time you save, saves you a lot of time and energy. Check out this video to see why!
Also, check out the documentation about save-time-compilation.