@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Added
- Adds rich tooltip details to most nodes in the **GitLens** explorer and **GitLens Results** view
- Adds an indicator to the *GitLens* explorer branch history to mark the synchronization point between the local and remote branch (if available)
- Adds a one-time notification on startup if the `alternate` set of keyboard shortcuts is in use, with options to easily switch to another set
- Adds `${agoOrDate}` and `${authorAgoOrDate}` tokens to `gitlens.blame.format`, `gitlens.currentLine.format`, `gitlens.explorers.commitFormat`, `gitlens.explorers.stashFormat`, and `gitlens.statusBar.format` settings which will honor the `gitlens.defaultDateStyle` setting — closes [#312](https://github.com/eamodio/vscode-gitlens/issues/312)
- Adds `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](https://github.com/eamodio/vscode-gitlens/issues/149), [#290](https://github.com/eamodio/vscode-gitlens/issues/290), [#265](https://github.com/eamodio/vscode-gitlens/issues/265)
- Adds *Copy Commit ID to Clipboard* (`gitlens.copyShaToClipboard`) command to changed file nodes in the **GitLens** explorer and **GitLens Results** view
if(commit===undefined)returnMessages.showMessage('info',`Commit has no previous commit`,SuppressedMessages.CommitHasNoPreviousCommitWarning);
returnMessages.showMessage('info',`Commit ${commit.shortSha} (${commit.author}, ${commit.formattedDate}) has no previous commit`,SuppressedMessages.CommitHasNoPreviousCommitWarning);
if(commit===undefined)returnMessages.showMessage('info',`Commit has no previous commit.`,SuppressedMessages.CommitHasNoPreviousCommitWarning);
returnMessages.showMessage('info',`Commit ${commit.shortSha} (${commit.author}, ${commit.formattedDate}) has no previous commit.`,SuppressedMessages.CommitHasNoPreviousCommitWarning);
`GitLens is using keyboard shortcuts which can conflict with menu mnemonics and different keyboard layouts. To avoid such conflicts, it is recommended to switch to the new default keyboard shortcuts.`,
returnMessages.showMessage('info',`If you can't find your results, click on "GITLENS RESULTS" at the bottom of the Explorer view`,SuppressedMessages.ResultsExplorerNotice,null);
returnMessages.showMessage('info',`If you can't find your results, click on "GITLENS RESULTS" at the bottom of the Explorer view.`,SuppressedMessages.ResultsExplorerNotice,null);
returnMessages.showMessage('error',`GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (${version}). Please install a more recent version of Git`,SuppressedMessages.GitVersionWarning);
returnMessages.showMessage('error',`GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (${version}). Please install a more recent version of Git.`,SuppressedMessages.GitVersionWarning);
}
privatestaticasyncshowMessage(type:'info'|'warn'|'error',message: string,suppressionKey: SuppressedMessages,dontShowAgain: string|null='Don\'t Show Again',...actions: any[]):Promise<string|undefined>{
privatestaticasyncshowMessage<TextendsMessageItem>(type:'info'|'warn'|'error',message: string,suppressionKey: SuppressedMessages,dontShowAgain: T|null={title:'Don\'t Show Again'}asT,...actions: T[]):Promise<T|undefined>{