Git - remove codicon from git blame status bar item template setting (#235211)

This commit is contained in:
Ladislau Szomoru
2024-12-03 22:35:58 +01:00
committed by GitHub
parent 1b94e9c10b
commit 04779ada5e
2 changed files with 2 additions and 2 deletions

View File

@@ -3229,7 +3229,7 @@
},
"git.blame.statusBarItem.template": {
"type": "string",
"default": "$(git-commit) ${authorName} (${authorDateAgo})",
"default": "${authorName} (${authorDateAgo})",
"markdownDescription": "%config.blameStatusBarItem.template%",
"scope": "resource",
"tags": [

View File

@@ -574,7 +574,7 @@ class GitBlameStatusBarItem {
this._statusBarItem.tooltip = this._controller.getBlameInformationHover(textEditor.document.uri, blameInformation[0].blameInformation);
this._statusBarItem.command = undefined;
} else {
this._statusBarItem.text = this._controller.formatBlameInformationMessage(template, blameInformation[0].blameInformation);
this._statusBarItem.text = `$(git-commit) ${this._controller.formatBlameInformationMessage(template, blameInformation[0].blameInformation)}`;
this._statusBarItem.tooltip = this._controller.getBlameInformationHover(textEditor.document.uri, blameInformation[0].blameInformation);
this._statusBarItem.command = {
title: l10n.t('View Commit'),