mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-28 09:35:41 -05:00
Adds icons to quickpick commands
Adds file history choices to commit quickpick Adds repo history choice to file history quickpick Adds commit message to quickpick placeholder in a few places
This commit is contained in:
@@ -5,8 +5,9 @@ import { GitCommit, GitUri } from '../gitProvider';
|
||||
import * as moment from 'moment';
|
||||
import * as path from 'path';
|
||||
|
||||
export interface BackQuickPickItem extends QuickPickItem {
|
||||
export interface CommandQuickPickItem extends QuickPickItem {
|
||||
command: Commands;
|
||||
args?: any[];
|
||||
}
|
||||
|
||||
export class CommitQuickPickItem implements QuickPickItem {
|
||||
@@ -22,10 +23,6 @@ export class CommitQuickPickItem implements QuickPickItem {
|
||||
}
|
||||
}
|
||||
|
||||
export interface CompareQuickPickItem extends QuickPickItem {
|
||||
command: Commands;
|
||||
}
|
||||
|
||||
export class FileQuickPickItem implements QuickPickItem {
|
||||
|
||||
label: string;
|
||||
@@ -48,7 +45,7 @@ export class ShowAllCommitsQuickPickItem implements QuickPickItem {
|
||||
detail: string;
|
||||
|
||||
constructor(maxItems: number) {
|
||||
this.label = `\u21BB Show All Commits`;
|
||||
this.label = `$(sync) Show Full History`;
|
||||
this.description = `\u2014 Currently only showing the first ${maxItems} commits`;
|
||||
this.detail = `This may take a while`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user