I am working on an Eclipse plugin. The plugin reminds the user to save his work in the central repository every time he saves his work locally.
However, as soon as the user successfully saves his work in the central repository 10 times, he will no longer be reminded that he will save his work.
This works well in one session. That is, when the user starts working in the workspace and turns on the plugin.
However, if the user leaves the workspace after saving his work to the central repository 9 times, he will be reminded 10 more times from scratch, the next time he will open the workspace.
I want to know if it is possible to increase the counter and store it in memory so that the plugin works as intended.
user244333
source
share