mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-15 01:25:42 -05:00
Adds diff with next command Fixes #45 - Keyboard Shortcut collision with Project Manager Preps v2.11.2
31 lines
1.5 KiB
TypeScript
31 lines
1.5 KiB
TypeScript
'use strict';
|
|
|
|
export const RepoPath = 'repoPath';
|
|
|
|
export type BuiltInCommands = 'cursorMove' | 'editor.action.showReferences' | 'editor.action.toggleRenderWhitespace' | 'editorScroll' | 'revealLine' | 'setContext' | 'vscode.diff' | 'vscode.executeDocumentSymbolProvider' | 'vscode.executeCodeLensProvider' | 'vscode.open' | 'workbench.action.closeActiveEditor' | 'workbench.action.nextEditor';
|
|
export const BuiltInCommands = {
|
|
CloseActiveEditor: 'workbench.action.closeActiveEditor' as BuiltInCommands,
|
|
CursorMove: 'cursorMove' as BuiltInCommands,
|
|
Diff: 'vscode.diff' as BuiltInCommands,
|
|
EditorScroll: 'editorScroll' as BuiltInCommands,
|
|
ExecuteDocumentSymbolProvider: 'vscode.executeDocumentSymbolProvider' as BuiltInCommands,
|
|
ExecuteCodeLensProvider: 'vscode.executeCodeLensProvider' as BuiltInCommands,
|
|
Open: 'vscode.open' as BuiltInCommands,
|
|
NextEditor: 'workbench.action.nextEditor' as BuiltInCommands,
|
|
RevealLine: 'revealLine' as BuiltInCommands,
|
|
SetContext: 'setContext' as BuiltInCommands,
|
|
ShowReferences: 'editor.action.showReferences' as BuiltInCommands,
|
|
ToggleRenderWhitespace: 'editor.action.toggleRenderWhitespace' as BuiltInCommands
|
|
};
|
|
|
|
export type DocumentSchemes = 'file' | 'git' | 'gitlens-git';
|
|
export const DocumentSchemes = {
|
|
File: 'file' as DocumentSchemes,
|
|
Git: 'git' as DocumentSchemes,
|
|
GitLensGit: 'gitlens-git' as DocumentSchemes
|
|
};
|
|
|
|
export type WorkspaceState = 'repoPath';
|
|
export const WorkspaceState = {
|
|
RepoPath: 'repoPath' as WorkspaceState
|
|
}; |