This commit is contained in:
Tyler Leonhardt
2024-04-29 11:27:34 -07:00
parent efddbafaba
commit 689ce5fe18

View File

@ -29,10 +29,12 @@ export class TestView {
didChangeTreeData.fire(undefined);
}, 500);
});
// This does not fire when you run `swapTrees` command
view.onDidChangeSelection(e => {
vscode.window.showInformationMessage('Change Selected ' + e.selection[0].key);
});
// To show that selected goes from "something" to "undefined" and back to "something
setInterval(() => {
vscode.window.showInformationMessage('Selected ' + view.selection[0]?.key);
}, 5000);