【发布时间】:2020-11-25 12:09:16
【问题描述】:
我使用 vscode。有时我似乎无意中单击或键入了某些内容,并出现了时间线视图(类似于 How can I view the Git history in Visual Studio Code? 中描述的视图)。
如何关闭时间线视图?
我认为隐藏时间线的选项会在 View > Appearance 中,但我看不到任何对“时间线”历史记录“提交”等的引用。
现在我只是关闭文件并重新打开它,但我确信有合适的解决方案。
【问题讨论】:
-
这看起来像
git blame,您可能会在此名称下找到一个选项。 -
@tkausl 确实如此。可悲的是,我也看不到“显示/隐藏 git blame”之类的东西。
-
查看
gitlens选项:命令GitLens: Toggle File Blame Annotations -
这就是@rioV8 - 具体来说它被称为
GitLems: Toggle File Blame。如果您将此添加为答案,我会接受。