Open crabctrl opened 4 years ago
Hm, current implementation only checks the last ID and increments based on that. So say you have tasks with IDs of 1, 2 and 13, the next added task would have ID 14. If you'd clear task 13 before adding a new task it'd get ID 3.
I guess I could change the checking method to see if there's "open spots" between the first and last task and reuse those IDs as well.
Good idea!
Would it be possible to allow reusing the IDs of tasks that have been deleted, to keep ID numbers low?