I’m aware of the clone_file command, but what are the steps to clone the file into different window via plugin code?
I have a scratch view in Window 1 which has a distinctive name “output view”. Then I open another Sublime Text window. When Window 2 opens, my plugin queries if any of the other open Sublime Text windows have a view called “output view”. I find one from Window 1 and get a handle to it. What I should do next in order to show it in window 2?
The desired functionality is possible to do by cloning a view and then dragging it to the other window, but I’d like to do all this in plugin code.