Files
vscode-gitlens/src/constants.ts
Eric Amodio c395a583b7 Renamed to GitLens
Reworked Uri scheme to drastically reduce encoded data (big perf improvement)
2016-08-31 03:34:16 -04:00

23 lines
846 B
TypeScript

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
}