We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71062f4 commit 93f1030Copy full SHA for 93f1030
src/commands/changeList.ts
@@ -17,6 +17,8 @@ export class ChangeList extends Command {
17
uris = (args as Resource[]).map(resource => resource.resourceUri);
18
} else if (args[0] instanceof Uri) {
19
uris = args[1] as Uri[];
20
+ } else if (window.activeTextEditor) {
21
+ uris = [window.activeTextEditor.document.uri];
22
} else {
23
console.error("Unhandled type for changelist command");
24
return;
0 commit comments