diff --git a/CHANGELOG.md b/CHANGELOG.md index dec8dc1..83c23a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] ### Added +- Adds completely revamped **heatmap** annotations + - The indicator's, now customizable, color will either be hot or cold based on the age of the most recent change (cold after 90 days by default) — closes [#419](https://github.com/eamodio/vscode-gitlens/issues/419) + - The indicator's brightness ranges from bright (newer) to dim (older) based on the relative age, which is calculated from the median age of all the changes in the file + - Adds `gitlens.heatmap.ageThreshold` setting to specify the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor` instead of `gitlens.heatmap.hotColor`) + - Adds `gitlens.heatmap.coldColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting + - Adds `gitlens.heatmap.hotColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting - Adds new branch history node under the **Repository Status** node in the *GitLens* explorer - Adds GitLab and Visual Studio Team Services icons to the remote nodes in the *GitLens* explorer — thanks to [PR #421](https://github.com/eamodio/vscode-gitlens/pull/421) by Maxim Pekurin ([@pmaxim25](https://github.com/pmaxim25)) diff --git a/README.md b/README.md index eace2d0..526c59c 100644 --- a/README.md +++ b/README.md @@ -342,8 +342,8 @@ An on-demand, [customizable](#gitlens-results-explorer-settings "Jump to the Git - Adds on-demand, [customizable](#gutter-blame-settings "Jump to the Gutter Blame settings"), and [themable](#themable-colors "Jump to the Themable Colors"), **gutter blame annotations** for the whole file - Contains the commit message and date, by [default](#gutter-blame-settings "Jump to the Gutter Blame settings") - - Adds a **heatmap** (age) indicator on right edge (by [default](#gutter-blame-settings "Jump to the Gutter Blame settings")) of the gutter to provide an easy, at-a-glance way to tell the age of a line ([optional](#gutter-blame-settings "Jump to the Gutter Blame settings"), on by default) - - Indicator ranges from bright yellow (newer) to dark brown (older) + - Adds a **heatmap** (age) indicator on right edge (by [default](#gutter-blame-settings "Jump to the Gutter Blame settings")) of the gutter to provide an easy, at-a-glance way to tell how recently lines were changed ([optional](#gutter-blame-settings "Jump to the Gutter Blame settings"), on by default) + - See the [gutter heatmap](#gutter-Heatmap "Jump to the Gutter Heatmap") section below for more details - Adds a *Toggle File Blame Annotations* command (`gitlens.toggleFileBlame`) with a shortcut of `alt+b` to toggle the blame annotations on and off - Press `Escape` to turn off the annotations @@ -353,8 +353,9 @@ An on-demand, [customizable](#gitlens-results-explorer-settings "Jump to the Git
-- Adds an on-demand **heatmap** to the edge of the gutter to show the relative age of a line - - Indicator ranges from bright yellow (newer) to dark brown (older) +- Adds an on-demand **heatmap** to the edge of the gutter to show how recently lines were changed + - The indicator's [customizable](#gutter-heatmap-settings "Jump to the Gutter Heatmap settings") color will either be hot or cold based on the age of the most recent change (cold after 90 days by [default](#gutter-heatmap-settings "Jump to the Gutter Heatmap settings")) + - The indicator's brightness ranges from bright (newer) to dim (older) based on the relative age, which is calculated from the median age of all the changes in the file - Adds *Toggle File Heatmap Annotations* command (`gitlens.toggleFileHeatmap`) to toggle the heatmap on and off - Press `Escape` to turn off the annotations @@ -717,6 +718,9 @@ See also [Explorer Settings](#explorer-settings "Jump to the Explorer settings") |Name | Description |-----|------------ +|`gitlens.heatmap.ageThreshold`|Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor` instead of `gitlens.heatmap.hotColor`) +|`gitlens.heatmap.coldColor`|Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting +|`gitlens.heatmap.hotColor`|Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting |`gitlens.heatmap.toggleMode`|Specifies how the gutter heatmap annotations will be toggledGit supercharged
@@ -32,8 +32,8 @@For advanced customizations refer to the GitLens settings docs and edit your +
For advanced customizations refer to the + GitLens settings docs and edit your User Settings
Adds an on-demand GitLens Results explorer to navigate and explore commits, histories, and searches, or visualize comparisons between branches, tags, commits, and more
+Adds an on-demand GitLens Results explorer to navigate and explore commits, histories, and searches, + or visualize comparisons between branches, tags, commits, and more
- For more advanced customizations open User Settings and search for gitlens.resultsExplorer or gitlens.explorers + For more advanced customizations open + User Settings and search for + + gitlens.resultsExplorer + or + + gitlens.explorers +
@@ -440,7 +488,7 @@
- For more advanced customizations open User Settings and search for gitlens.codeLens
+ For more advanced customizations open
+ User Settings and search for
+
+ gitlens.codeLens
+
Use the
GitLens: Toggle Git Code Lens command to override this setting for the current window
@@ -529,14 +591,14 @@
- For more advanced customizations open User Settings and search for gitlens.currentLine
+ For more advanced customizations open
+ User Settings and search for
+
+ gitlens.currentLine
+
Use the
- GitLens: Toggle Line Blame Annotations command to override this setting for the current window
+ GitLens: Toggle Line Blame Annotations command to override this setting for the current
+ window
Quickly tell the age of a line — indicator ranges from bright yellow (newer) to dark brown (older) Indicator color reflects the age of the most recent change (hot or cold), while indicator
+ brightness ranges from bright (newer) to dim (older) based on the relative age
- For more advanced customizations open User Settings and search for gitlens.blame
+ For more advanced customizations open
+ User Settings and search for
+
+ gitlens.blame
+
Use the
@@ -696,7 +894,8 @@
command to turn the annotations on or off
- Press Esc to turn off the annotations
+ Press
+ Esc to turn off the annotations
Adds on-demand heatmap to the edge of the gutter to show the relative age of a line Adds on-demand heatmap (age) indicator to the edge of the gutter to show how recently lines were
+ changed
+
@@ -734,7 +938,8 @@
- Press Esc to turn off the annotations
+ Press
+ Esc to turn off the annotations
Indicator color reflects the age of the most recent change (hot or cold), while indicator
+ brightness ranges from bright (newer) to dim (older) based on the relative age
+