Use a lightweight inspection profile on commit

Fully customise the checks you must perform before you commit your changes to version control

You can select an inspection profile for running analysis before commit. Using an inspection profile with a much smaller number of checks, for example only Java errors and warnings, can run much faster than our full inspection profile and prevent us from committing breaking changes.

Related Resources

Interactive rebase
Using interactive rebase in IntelliJ IDEA
Go to Next Error
Quickly move to the next (or previous) error or warning in the file.
Context Actions
Use Alt+Enter to show available context actions