vscode-as3mxml icon indicating copy to clipboard operation
vscode-as3mxml copied to clipboard

ActionScript source path view: show/select currently active file in editor

Open neminovno opened this issue 6 years ago • 2 comments

If a file is opened (not by click on file in ActionScript source path view) from source-path folder, there is no way to quickly look into parent folder files. Expected is to see file selected in ActionScript source path view. Also, if file is opened by click in ActionScript source path view, then focus is changed to another file in editor, selected file in ActionScript source path view should change also.

neminovno avatar Apr 22 '19 18:04 neminovno

I don't know if this is possible, but I'll take a look.

joshtynjala avatar Apr 22 '19 21:04 joshtynjala

I took a look at this one today, but unfortunately, I had to give up after a couple of hours messing with it. I found an event that is dispatched when the active editor changes, and the TreeView API seems to provide a method to "reveal" an item. However, I kept getting exceptions when I tried to call this method. It's probably just a mistake on my part, but I can't justify spending more time on it today. Maybe I'll take a look again in the future.

joshtynjala avatar May 18 '19 00:05 joshtynjala