简体   繁体   English

git macOS 中的 vscode 资源管理器中缺少装饰

[英]git decoration is missing in vscode explorer in macOS

I'm currently working on a project and notice the git decoration in vscode explorer is gone.我目前正在做一个项目,注意到 vscode 资源管理器中的 git 装饰不见了。 It was there before and I didn't use vscode for a long time.之前有过,好久没用vscode了。 I tried to add "git.decorations.enabled": true to my settings.json file and checked my git setting that the decoration is enabled but still there are no badges when I modify/create files.我尝试将"git.decorations.enabled": true添加到我的 settings.json 文件中,并检查了我的 git 设置,装饰已启用,但当我修改/创建文件时仍然没有徽章。 I don't know what I'm missing.我不知道我错过了什么。 Could someone give me some hints?有人可以给我一些提示吗? Thanks in advance.提前致谢。

Make sure to:确保:

  • update VSCode to its latest version将 VSCode 更新到最新版本
  • restart it after setting modification设置修改后重启
  • launch it with --disable-extensions to test if another extension would be the culprit.使用--disable-extensions启动它以测试另一个扩展是否是罪魁祸首。
  • Relaunch it with all extension and add GitLens使用所有扩展重新启动它并添加GitLens

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM