Files
vscode-gitlens/src/constants.ts
Eric Amodio 0e064f15c7 Reworks git abstraction and acccess
Adds commands module
Adds git commit message to blame hover decorator
2016-08-31 17:20:53 -04:00

25 lines
860 B
TypeScript

'use strict'
export type WorkspaceState = 'repoPath';
export const WorkspaceState = {
RepoPath: 'repoPath' as WorkspaceState
}
export const RepoPath: string = 'repoPath';
export type Commands = 'git.action.showBlameHistory';
export const Commands = {
ShowBlameHistory: 'git.action.showBlameHistory' as Commands
}
export type DocumentSchemes = 'gitblame';
export const DocumentSchemes = {
GitBlame: 'gitblame' as DocumentSchemes
}
export type VsCodeCommands = 'vscode.executeDocumentSymbolProvider' | 'vscode.executeCodeLensProvider' | 'editor.action.showReferences';
export const VsCodeCommands = {
ExecuteDocumentSymbolProvider: 'vscode.executeDocumentSymbolProvider' as VsCodeCommands,
ExecuteCodeLensProvider: 'vscode.executeCodeLensProvider' as VsCodeCommands,
ShowReferences: 'editor.action.showReferences' as VsCodeCommands
}