Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
feature: click on a tree item to switch to tab
Browse files Browse the repository at this point in the history
monstajoe2002 committed Dec 12, 2023
1 parent 89bb19d commit 23b17e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/providers/active-editors-provider.ts
Original file line number Diff line number Diff line change
@@ -45,7 +45,12 @@ export default class ActiveEditorsProvider
editor.fileName.substring(
editor.fileName.indexOf("app\\") + "app\\".length
),
vscode.TreeItemCollapsibleState.None
vscode.TreeItemCollapsibleState.None,
{
command: "vscode.open",
title: "",
arguments: [editor.uri],
}
);
activeEditors.push(activeEditor);
});

0 comments on commit 23b17e9

Please sign in to comment.