I would like to add 'Scroll from source' feature to my plugin, but my plugin brings it's own tree view structure and in my opinion I have to somehow add action to shortcut:
But if I just invoke registerCustomShortcutSet method on an action the shortcut it doesn't work when the a is open(files do not belong to the project). Seems the action is invoked only when my tree component is active, but it make no sense, because the idea is to select the file in tree view when the tree menu is closed or isn't active. So I also tried to find extension point that might fit for that purposes, but... so my question is what way you would recommend me for implementation? What is the right way?