You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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)
11
+
- 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
12
+
- 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`)
13
+
- 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
14
+
- 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
9
15
- Adds new branch history node under the **Repository Status** node in the *GitLens* explorer
10
16
- 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))
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -342,8 +342,8 @@ An on-demand, [customizable](#gitlens-results-explorer-settings "Jump to the Git
342
342
343
343
- 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
344
344
- Contains the commit message and date, by [default](#gutter-blame-settings"Jump to the Gutter Blame settings")
345
-
- 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)
346
-
-Indicator ranges from bright yellow (newer) to dark brown (older)
345
+
- 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)
346
+
-See the [gutter heatmap](#gutter-Heatmap"Jump to the Gutter Heatmap") section below for more details
347
347
- Adds a *Toggle File Blame Annotations* command (`gitlens.toggleFileBlame`) with a shortcut of `alt+b` to toggle the blame annotations on and off
348
348
- Press `Escape` to turn off the annotations
349
349
@@ -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
357
-
- Indicator ranges from bright yellow (newer) to dark brown (older)
356
+
- Adds an on-demand **heatmap** to the edge of the gutter to show how recently lines were changed
357
+
- 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"))
358
+
- 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
358
359
- Adds *Toggle File Heatmap Annotations* command (`gitlens.toggleFileHeatmap`) to toggle the heatmap on and off
359
360
- Press `Escape` to turn off the annotations
360
361
@@ -717,6 +718,9 @@ See also [Explorer Settings](#explorer-settings "Jump to the Explorer settings")
717
718
718
719
|Name | Description
719
720
|-----|------------
721
+
|`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`)
722
+
|`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
723
+
|`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
720
724
|`gitlens.heatmap.toggleMode`|Specifies how the gutter heatmap annotations will be toggled<br />`file` - toggle each file individually<br />`window` - toggle the window, i.e. all files at once
Copy file name to clipboardExpand all lines: package.json
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -500,6 +500,24 @@
500
500
"description": "Specifies the starting view of the `GitLens` explorer\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the current file\n `repository` - shows a repository explorer",
501
501
"scope": "window"
502
502
},
503
+
"gitlens.heatmap.ageThreshold": {
504
+
"type": "string",
505
+
"default": "90",
506
+
"description": "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`)",
507
+
"scope": "window"
508
+
},
509
+
"gitlens.heatmap.coldColor": {
510
+
"type": "string",
511
+
"default": "#0a60f6",
512
+
"description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting",
513
+
"scope": "window"
514
+
},
515
+
"gitlens.heatmap.hotColor": {
516
+
"type": "string",
517
+
"default": "#f66a0a",
518
+
"description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting",
// const sampleMarkdown = '## message `not code` *not important* _no underline_ \n> don\'t quote me \n- don\'t list me \n+ don\'t list me \n1. don\'t list me \nnot h1 \n=== \nnot h2 \n---\n***\n---\n___';
0 commit comments