@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased]
### Added
- Adds multi-cursor support to current line annotations — closes [#291](https://github.com/eamodio/vscode-gitlens/issues/291)
- Adds support to toggle annotations for each file individually or for all files at once — closes [#289](https://github.com/eamodio/vscode-gitlens/issues/289)
- Adds new controls the interactive settings editor (*Open Settings* from the Command Palette) to configure this new behavior
- Adds `gitlens.blame.toggleMode` setting to specify how the gutter blame annotations will be toggled, per file or window
- Adds `gitlens.heatmap.toggleMode` setting to specify how the gutter heatmap annotations will be toggled, per file or window
- Adds `gitlens.recentChanges.toggleMode` setting to specify how the recently changed lines annotations will be toggled, per file or window
### Changed
- 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 done to the working tree — closes [#279](https://github.com/eamodio/vscode-gitlens/issues/279)
@ -583,6 +583,13 @@ See also [Explorer Settings](#explorer-settings "Jump to the Explorer settings")
|`gitlens.blame.highlight.locations`|Specifies where the associated line highlights will be shown<br/>`gutter` - adds a gutter glyph<br/>`line` - adds a full-line highlight background color<br/>`overview` - adds a decoration to the overview ruler (scroll bar)
|`gitlens.blame.ignoreWhitespace`|Specifies whether to ignore whitespace when comparing revisions during blame operations
|`gitlens.blame.separateLines`|Specifies whether gutter blame annotations will have line separators
|`gitlens.blame.toggleMode`|Specifies how the gutter blame annotations will be toggled<br/>`file` - toggle each file individually<br/>`window` - toggle the window, i.e. all files at once
### Gutter Heatmap Settings
|Name | Description
|-----|------------
|`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
### Hover Settings
@ -603,6 +610,7 @@ See also [Explorer Settings](#explorer-settings "Jump to the Explorer settings")
|Name | Description
|-----|------------
|`gitlens.recentChanges.highlight.locations`|Specifies where the highlights of the recently changed lines will be shown<br/>`gutter` - adds a gutter glyph<br/>`line` - adds a full-line highlight background color<br/>`overview` - adds a decoration to the overview ruler (scroll bar)
|`gitlens.recentChanges.toggleMode`|Specifies how the recently changed lines annotations will be toggled<br/>`file` - toggle each file individually<br/>`window` - toggle the window, i.e. all files at once
"description":"Specifies whether gutter blame annotations will be separated by a small gap",
"scope":"window"
},
"gitlens.blame.toggleMode":{
"type":"string",
"default":"file",
"enum":[
"file",
"window"
],
"description":"Specifies how the gutter blame annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
"scope":"window"
},
"gitlens.codeLens.authors.command":{
"type":"string",
"default":"gitlens.toggleFileBlame",
@ -459,6 +469,16 @@
"description":"Specifies the starting view (mode) of the `GitLens` explorer\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer",
"scope":"window"
},
"gitlens.heatmap.toggleMode":{
"type":"string",
"default":"file",
"enum":[
"file",
"window"
],
"description":"Specifies how the gutter heatmap annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
"scope":"window"
},
"gitlens.hovers.annotations.changes":{
"type":"boolean",
"default":true,
@ -571,6 +591,16 @@
"description":"Specifies where the highlights of the recently changed lines will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overview` - adds a decoration to the overview ruler (scroll bar)",
"scope":"window"
},
"gitlens.recentChanges.toggleMode":{
"type":"string",
"default":"file",
"enum":[
"file",
"window"
],
"description":"Specifies how the recently changed lines annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
For more advanced customizations open <aclass="command"title="Open User Settings"href="command:workbench.action.openGlobalSettings">User Settings</a> and search for <b><i>gitlens.currentLine</i></b>
<spanclass="settings-group__hint--more">
Use the
<aclass="command"title="Run command"href="command:gitlens.toggleLineBlame"class="command">GitLens: Toggle Line Blame Annotations</a> command to override this setting for the current window
<aclass="command"title="Run command"href="command:gitlens.toggleLineBlame">GitLens: Toggle Line Blame Annotations</a> command to override this setting for the current window
</span>
</p>
</div>
@ -298,6 +298,14 @@
</div>
<divclass="section__settings">
<divclass="settings-group">
<divclass="settings-group__setting">
<labelfor="blame.toggleMode">Toggle annotations for </label>
<labelfor="blame.heatmap.enabled">Add a heatmap (age) indicator</label>
@ -356,6 +364,47 @@
<iclass="icon icon--lg icon__info"></i>
For more advanced customizations open <aclass="command"title="Open User Settings"href="command:workbench.action.openGlobalSettings">User Settings</a> and search for <b><i>gitlens.blame</i></b>
<aclass="command"title="Run command"href="command:gitlens.toggleFileRecentChanges"class="command">GitLens: Toggle Recent File Changes Annotations</a> command to turn the annotations on or off
Press <spanclass="shortcut-key">Esc</span> to turn off the annotations
</span>
@ -552,7 +611,7 @@
For more advanced customizations open <aclass="command"title="Open User Settings"href="command:workbench.action.openGlobalSettings">User Settings</a> and search for <b><i>gitlens.statusBar</i></b>
<spanclass="settings-group__hint--more">
Use the
<aclass="command"title="Run command"href="command:gitlens.toggleLineBlame"class="command">GitLens: Toggle Line Blame Annotations</a> command to override this setting for the current window
<aclass="command"title="Run command"href="command:gitlens.toggleLineBlame">GitLens: Toggle Line Blame Annotations</a> command to override this setting for the current window
</span>
</p>
</div>
@ -602,6 +661,7 @@
<li><ahref="#code-lens">Code Lens</a></li>
<li><ahref="#current-line">Current Line Blame</a></li>