Can I 'hook' into task select event?

Does selecting a task from tasks list (displayed via Open Task button) sends some event that I can use in my own plugin to integrate task list with toggl.com timer?
3 comments

com.intellij.tasks.TaskManager#addTaskListener(com.intellij.tasks.TaskListener, com.intellij.openapi.Disposable)

 

com.intellij.tasks.TaskListener#taskActivated is triggered upon activation

1

Thanks, sorry for newbie question but should I implement AnAction to add listener for this event?

0

You can register your TaskListener in ProjectComponent.

1

Please sign in to leave a comment.