add an interval to show that it does in fact change

This commit is contained in:
Tyler Leonhardt
2024-04-29 11:26:28 -07:00
parent 42194d9459
commit efddbafaba

View File

@ -30,8 +30,12 @@ export class TestView {
}, 500);
});
view.onDidChangeSelection(e => {
vscode.window.showInformationMessage('Selected ' + e.selection[0].key);
vscode.window.showInformationMessage('Change Selected ' + e.selection[0].key);
});
setInterval(() => {
vscode.window.showInformationMessage('Selected ' + view.selection[0]?.key);
}, 5000);
}
}