Skip to content

Add setting to configure how the current user's name is displayed #5088

@eamodio

Description

@eamodio

Summary

Adds a new gitlens.defaultCurrentUserNameStyle setting to control how the current git user is identified across blame annotations, hovers, CodeLens, the Commit Graph, and other UI elements. Options include "You" (default, preserving current behavior), the user's real name from git config, or "Name (you)".

Impact

Addresses longstanding user requests to see their real name instead of "You" — useful for screenshots, pair programming, and consistency.

Resolves #1230, resolves #4136, resolves #4745.

Validation

  • Set gitlens.defaultCurrentUserNameStyle to you, name, and nameAndYou in turn
  • Verify blame annotations, hovers, CodeLens, status bar, Commit Graph, commit details, and the rebase editor all reflect the chosen style
  • Confirm the default (you) preserves existing behavior

Risk

  • UI elements that previously showed "You" unconditionally now depend on a setting — verify no regressions in edge cases (uncommitted changes, stashes, Live Share)

Metadata

Metadata

Assignees

Labels

area-gitIssues or features related to using Gitverified ✔Verified
No fields configured for Enhancement.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions