如何在 vs 代码中显示完整文件的 git blame

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/44161997/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 04:59:22  来源:igfitidea点击:

How to show full-file git blame in vs code

gitvisual-studio-code

提问by Douglas

At one point I found a way to show line-by-line git blame within vscode. I now cannot recall or find the means with which to do that. I have the Git Blame extension, but that only shows blame on a single selected line.

有一次,我找到了一种在 vscode 中逐行显示 git blame 的方法。我现在不记得或找不到这样做的方法。我有 Git Blame 扩展,但它只显示对单个选定行的责备。

回答by Robin

Use Gitlensextension. It supports various options. Once installed, you can use Alt+Bto show full file blame information.

使用Gitlens扩展。它支持各种选项。安装后,您可以使用Alt+B来显示完整的文件责任信息。

Access the VS marketplaceand get the extension there.

访问 VS市场并在那里获取扩展。

回答by Thameur Saadi

add annotator extension here the marketplace link to add it https://marketplace.visualstudio.com/items?itemName=ryu1kn.annotator

在此处添加注释器扩展名市场链接以添加它https://marketplace.visualstudio.com/items?itemName=ryu1kn.annotator