Support GitLens What's New 📣 Features About

GitLens is an open-source extension for Visual Studio Code, created by Eric Amodio. While GitLens is generously offered to everyone free of charge, if you find it useful please consider supporting it.

GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

GitLens simply helps you understand code better. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to gain further insights as to how and why the code evolved. Explore the history and evolution of a codebase.

marketplaceinstallsratingslack

Support GitLens

While GitLens is generously offered to everyone free of charge, if you find it useful please consider supporting it.

I've been building GitLens in my spare time1 for almost 2 years now. From its very humble beginnings, GitLens has grown wildly beyond my expectations — in both its reach as well as its demands on my time and attention. While I enjoy giving my free time and attention to GitLens' development and growth, I would like to do even more.

Show Your Support  ❤

To my incredible backers — thank you so much for your contributions. I am truly humbled by your generosity and support. Please know that your support plays a important role in helping me realize GitLens' potential in making developer's lives easier.

If you'd like to join them in supporting GitLens, please consider the following — feel free to choose more than one. 😉

What's new in GitLens 8

  • 8.2 APRIL  2018
  • NEW Adds new stand-alone GitLens History explorer to visualize the history of the current file — undocked version of the GitLens explorer history view
    GitLens History explorer
  • NEW Adds richer tooltips to the GitLens explorer and GitLens Results view, and richer working tree and upstream status to the GitLens explorer
    Richer tooltips and working tree and upstream status
  • NEW Adds an indicator to the GitLens explorer's branch history to mark the synchronization point between the local and remote branch (if available)
    Branch upstream indicator
  • NEW Adds ability to easily switch between relative and absolute dates via the gitlens.defaultDateStyle settings — closes #312
    General settings
  • NEW Adds annotation format settings (gitlens.*.format) to the interactive settings editor
    Annotation format settings
  • NEW Adds new gitlens.currentLine.scrollable setting to specify whether the current line blame annotation can be scrolled into view when it is outside the viewport — closes #149, #290, #265
    Allow scrolling to annotation setting
  • NEW Adds gitlens.statusBar.reduceFlicker setting to the interactive settings editor
    Reduce status bar flashing setting
  • FIXED Fixes #314 — Toggle line annotation doesn't work properly
  • FIXED Fixes #310 — "via Terminal" commands need quoting around work directory
  • FIXED Fixes issues with the active repository in the GitLens explorer failed to update properly
  • FIXED Fixes issues with Open File, Open Revision, and Show File History commands and images and other binary files
  • FIXED Fixes issues preventing nodes in the GitLens explorer from expanding properly in certain cases
  • FIXED Fixes issues when refreshing nodes in the GitLens Results view
  • 8.1 MARCH  2018
  • NEW Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers
    Issue linking in commit messages
  • NEW Adds support to toggle annotations for each file individually or for all files at once — closes #289
    Annotations toggle setting
  • NEW Adds icons to remotes in the GitLens explorer based on the remote service provider
  • NEW Adds multi-cursor support to current line annotations — closes #291
  • IMPROVED Renames Compare Selected Ancestor with Working Tree command to Compare Ancestry with Working Tree and removes the need to select a branch first, since all compares are performed with the working tree — closes #279
  • FIXED Fixes #294 — Keyboard shortcuts will now default to chorded to avoid conflicts. Only affects new installs or if you remove the gitlens.keymap setting
  • 8.0 FEBRUARY  2018
  • NEWBrand new welcome experience
    Welcome page
  • NEWBrand new interactive settings editor — GitLens is easier than ever to customize to suit your needs
    Interactive settings editor
  • NEWAdds a tree layout option to branches in the GitLens explorer — thanks to Yukai Huang (@Yukaii)!
  • IMPROVEDReworked settings — clearer, simpler settings

GitLens Features

GitLens simply helps you understand code better. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to gain further insights as to how and why the code evolved. Explore the history and evolution of a codebase. Dive right in and see how GitLens can help!

Here are just some of the features that GitLens provides,

  • a GitLens explorer to navigate and explore repositories or file histories
  • an on-demand GitLens Results view to explore commits, histories, and searches, or visualize comparisons between branches, tags, commits, and more
  • authorship code lens showing the most recent commit and # of authors to the top of files and/or on code blocks
  • an unobtrusive current line blame annotation at the end of the line
  • on-demand gutter blame annotations, including a heatmap, for the whole file
  • detailed blame information accessible via hovers
  • on-demand recent changes annotations to highlight lines changed by the most recent commit
  • a status bar blame annotation showing author and date for the current line
  • commit search — by message, author, filename, commit id, or code changes
  • many powerful commands for exploring commits and histories, comparing and navigating revisions, stash access, repository status, etc
  • and so much more

GitLens is powerful, feature rich, and highly customizable to meet your specific needs — find code lens intrusive or the current line blame annotation distracting — no problem, it is quick and easy to turn them off or change how they behave via the built-in settings editor, an interactive editor covering many of GitLens' powerful settings. While for more advanced customizations, refer to the GitLens settings docs and edit your user settings.

About GitLens

GitLens started back in mid-2016, when I fell in love with Visual Studio Code and wanted to play with the newly released extension support. It was also a good excuse for me to improve my budding TypeScript skills. It all started with a simple question — could I add code lens showing Git insights to any document.

Since then, GitLens has quickly grown from a prototype to a full-fledged product with a mission of its own — make developers lives easier. GitLens strives to simply help you understand code better.

Read the reviews to see what people are saying about GitLens. I am truly humbled by the love and support of the Visual Studio Code community.

❤ My favorite review