You can probably set your IDE to do this automatically-- I use Eclipse and I can.