Skip to content

Instantly share code, notes, and snippets.

@antfu
Created April 10, 2020 10:33
Show Gist options
  • Save antfu/4e5dcfb8a5afae3c07fbc191e88a5d80 to your computer and use it in GitHub Desktop.
Save antfu/4e5dcfb8a5afae3c07fbc191e88a5d80 to your computer and use it in GitHub Desktop.
VS Code Built-in Commands
export enum BuiltInCommands {
CloseActiveEditor = 'workbench.action.closeActiveEditor',
CloseAllEditors = 'workbench.action.closeAllEditors',
CursorMove = 'cursorMove',
Diff = 'vscode.diff',
EditorScroll = 'editorScroll',
ExecuteDocumentSymbolProvider = 'vscode.executeDocumentSymbolProvider',
ExecuteCodeLensProvider = 'vscode.executeCodeLensProvider',
FocusFilesExplorer = 'workbench.files.action.focusFilesExplorer',
Open = 'vscode.open',
OpenFolder = 'vscode.openFolder',
OpenInTerminal = 'openInTerminal',
NextEditor = 'workbench.action.nextEditor',
PreviewHtml = 'vscode.previewHtml',
RevealLine = 'revealLine',
SetContext = 'setContext',
ShowExplorerActivity = 'workbench.view.explorer',
ShowReferences = 'editor.action.showReferences'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment