dkandalov / limited-wip

IntelliJ plugin to limit your work-in-progress
https://plugins.jetbrains.com/plugin/7655
111 stars 7 forks source link

Reset Time if the code is reverted #9

Closed ollin closed 5 years ago

ollin commented 5 years ago

Scenario:

Using the clock as the constraint.

editing one File -> Editor -> mouse right click -> Git -> revert

resets the file in the original state. The clock does not change.

Improvement:

Reset the clock as well.

dkandalov commented 5 years ago

Implemented so that timer is reset after revert, if there are no changes left in the current changelist.

There are few caveats though:

ollin commented 5 years ago

thx!