#VScode

就算不依靠第三方插件,也可以显示当前行的修改者了。使用 `git.blame.editorDecoration.enabled` 和 `git.blame.statusBarItem.enabled `设置启用此功能。也可以通过 `git.blame.editorDecoration.template` 自定义展示的格式。
{
    "git.blame.editorDecoration.template": "${subject}, ${authorName} (${authorDateAgo})"
}
 
 
Back to Top