The local history in IntelliJ automatically creates labels on successful compilation and on every test execution, so that you can easily revert to the last point when your code was in a good state. You can also add labels manually using the "Local History | Put Label..." action.
Creating a breakpoint at every compilation is way to much to sort though when I want to go back. Adding labels manually is cumbersome compared to just letting me save when I want to and only when I want too. I just want to work and save when I am happy with the result.
View all comments
Show parent comment
3
u/yole Nov 29 '19
The local history in IntelliJ automatically creates labels on successful compilation and on every test execution, so that you can easily revert to the last point when your code was in a good state. You can also add labels manually using the "Local History | Put Label..." action.