Open xyven1 opened 4 days ago
Check out the unique component. If you add that to your tasks, it will do name-based deduplication
That doesn't really solve either of my use cases. I want the deduplication to consider the entire task config, not just the name, and importantly I want that to apply to all tasks that overseer manages, regardless of their source or components. For example, I can't add that component to tasks created by the preLaunchTask hook afaict.
Did you check existing requests?
Describe the feature
When a task is added from some souce (such as
resession.nvim
, orpreLaunchTask
) it would be nice if there were an option to check for identical tasks (not just the same name, but same content), and de-duplicate the task.Provide background
This would solve two problems I am having right now, first of which is that when loading a session more than once, identical tasks are loaded more than once, and second, when tasks are started from a
preLuanchTask
hook, the tasks will slowly build up to an annoying level.There are many, many ways that this could be accomplished, and honestly it might already be possible with the current API, but I haven't been able to figure it out.
What is the significance of this feature?
nice to have
Additional details
No response