Home > front end >  How to hide the name of the last person edited the line?
How to hide the name of the last person edited the line?

Time:10-31

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.

CodePudding user response:

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

CodePudding user response:

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