skip to Main Content

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.

2

Answers


  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

    Login or Signup to reply.
    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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search