Skip to content

Commit

Permalink
Add filename as caption for a diff tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Collonval committed Mar 5, 2021
1 parent eca1e02 commit 2715fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function activate(
});
mainAreaItem.id = id;
mainAreaItem.title.label = file.name;
mainAreaItem.title.caption = file.name;
mainAreaItem.title.icon = diffIcon;
mainAreaItem.title.closable = true;
shell.add(mainAreaItem, 'main');
Expand Down

0 comments on commit 2715fd4

Please sign in to comment.