The eclipse Checkstyle plugin runs on every "save" operation by default. I guess it can be configured similarly in other IDEs.