<section id="status-bar" class="section--settings section--collapsible">
|
|
<div class="section__header">
|
|
<div class="setting__input setting__input--big">
|
|
<input id="statusBar.enabled" name="statusBar.enabled" type="checkbox" data-setting />
|
|
<label for="statusBar.enabled">Status Bar Blame</label>
|
|
<a
|
|
class="link__learn-more"
|
|
title="Learn more"
|
|
href="https://github.com/eamodio/vscode-gitlens/tree/master/#status-bar-blame-"
|
|
>
|
|
<i class="icon icon__info"></i>
|
|
</a>
|
|
</div>
|
|
|
|
<p class="section__header-hint">
|
|
Adds a Git blame annotation about the current line to the status bar
|
|
</p>
|
|
</div>
|
|
|
|
<div class="section__collapsible">
|
|
<div class="section__group">
|
|
<div class="section__content">
|
|
<div class="settings settings--fixed ml-1">
|
|
<div class="setting" data-enablement="statusBar.enabled">
|
|
<div class="setting__input setting__input--format">
|
|
<label for="statusBar.format">Annotation format</label>
|
|
<input
|
|
id="statusBar.format"
|
|
name="statusBar.format"
|
|
type="text"
|
|
placeholder="${authorAgoOrDate}"
|
|
data-setting
|
|
data-default-value="${authorAgoOrDate}"
|
|
data-popup-trigger
|
|
disabled
|
|
/>
|
|
<label for="statusBar.format" title="See available tokens">
|
|
<i class="icon icon__chevron-down"></i>
|
|
</label>
|
|
<div id="statusBar.format.popup" class="popup hidden"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="setting" data-enablement="statusBar.enabled">
|
|
<div class="setting__input">
|
|
<label for="statusBar.alignment">Position the annotation on the</label>
|
|
<select id="statusBar.alignment" name="statusBar.alignment" data-setting disabled>
|
|
<option value="left">left</option>
|
|
<option value="right">right</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="setting" data-enablement="statusBar.enabled">
|
|
<div class="setting__input">
|
|
<label class="nowrap" for="statusBar.command">When clicked</label>
|
|
<select id="statusBar.command" name="statusBar.command" data-setting disabled>
|
|
<option value="gitlens.toggleFileBlame">toggles the file blame annotations</option>
|
|
<option value="gitlens.diffWithPrevious"
|
|
>opens line changes with the previous revision</option
|
|
>
|
|
<option value="gitlens.diffWithWorking"
|
|
>opens line changes with the working file</option
|
|
>
|
|
<option value="gitlens.revealCommitInView"
|
|
>reveals the commit in the Repositories view</option
|
|
>
|
|
<option value="gitlens.showCommitsInView"
|
|
>shows the commit in the Search Commits view</option
|
|
>
|
|
<option value="gitlens.toggleCodeLens">toggles the Git code lens</option>
|
|
<option value="gitlens.showQuickCommitDetails">shows details of the commit</option>
|
|
<option value="gitlens.showQuickCommitFileDetails"
|
|
>shows file details of the commit</option
|
|
>
|
|
<option value="gitlens.showQuickFileHistory">shows the current file history</option>
|
|
<option value="gitlens.showQuickRepoHistory">shows the current branch history</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="setting" data-enablement="statusBar.enabled">
|
|
<div class="setting__input">
|
|
<input
|
|
id="statusBar.reduceFlicker"
|
|
name="statusBar.reduceFlicker"
|
|
type="checkbox"
|
|
data-setting
|
|
disabled
|
|
/>
|
|
<label for="statusBar.reduceFlicker">Reduce flashing when updating the annotation</label>
|
|
</div>
|
|
<p class="setting__hint">
|
|
Avoids clearing the previous blame information when changing lines to reduce status bar
|
|
"flashing"
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section__preview">
|
|
<img class="image__preview" src="#{root}/images/settings/status-bar.png" />
|
|
<img
|
|
class="image__preview--overlay hidden"
|
|
src="#{root}/images/settings/status-bar-left.png"
|
|
data-visibility="statusBar.enabled & statusBar.alignment =left"
|
|
/>
|
|
<img
|
|
class="image__preview--overlay hidden"
|
|
src="#{root}/images/settings/status-bar-right.png"
|
|
data-visibility="statusBar.enabled & statusBar.alignment =right"
|
|
/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section__group">
|
|
<p class="section__hint">
|
|
<i class="icon icon__info"></i> For more options, open
|
|
<a class="command" title="Open User Settings" href="command:workbench.action.openGlobalSettings"
|
|
>User Settings</a
|
|
>
|
|
and search for <b><i>gitlens.statusBar</i></b>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|