0

enter image description here

I want to hide the details next to the code.

I tried to hide it from the settings, but I couldn't find the option that enables me to hide it.

Dmitriy Zub
  • 1,398
  • 8
  • 35
  • 1
    This is due to git lens extension in your visual studio code. You can disable it by going into extensions and search for GitLens and then you can disable or uninstall it. – Shailesh B Oct 31 '22 at 04:37
  • in such a case find the extension responsible for the stuff, by disabling all or some, and then search its settings and switch it off – rioV8 Oct 31 '22 at 07:56

2 Answers2

1

Most probably these details are added by Gitlens extension. This specific feature is called Current Line Blame and can be disabled by tweaking Gitlens settings. All you need to do is simply go to Preferences and Search for gitlens current line. Under Gitlens settings you'll find the Gitlens > Current Line:Enabled option. simply uncheck the checkbox for this option and it'll disable the inline commit details.

enter image description here

Harshal Limaye
  • 172
  • 1
  • 3
  • 9
1
  1. CTRL+SHIFT+P
  2. Type: 'Gitlens: Open Settings'
  3. Look for 'Annotation format'
  4. Remove ${author, }
${author, }${agoOrDate}${' via 'pullRequest}${ • message|50?}

${agoOrDate}${' via 'pullRequest}${ • message|50?}

enter image description here

Before:

enter image description here

After:

enter image description here

Dmitriy Zub
  • 1,398
  • 8
  • 35