Visual Studio Code(VS-code) - keyboard-Shortcuts

                 Visual Studio Code - keyboard-Shortcuts







CommandKeyCommand id
Cut line (empty selection)Ctrl+Xeditor.action.clipboardCutAction
Copy line (empty selection)Ctrl+Ceditor.action.clipboardCopyAction
PasteCtrl+Veditor.action.clipboardPasteAction
Delete LineCtrl+Shift+Keditor.action.deleteLines
Insert Line BelowCtrl+Entereditor.action.insertLineAfter
Insert Line AboveCtrl+Shift+Entereditor.action.insertLineBefore
Move Line DownAlt+Downeditor.action.moveLinesDownAction
Move Line UpAlt+Upeditor.action.moveLinesUpAction
Copy Line DownShift+Alt+Downeditor.action.copyLinesDownAction
Copy Line UpShift+Alt+Upeditor.action.copyLinesUpAction
UndoCtrl+Zundo
RedoCtrl+Yredo
Add Selection To Next Find MatchCtrl+Deditor.action.addSelectionToNextFindMatch
Move Last Selection To Next Find MatchCtrl+K Ctrl+Deditor.action.moveSelectionToNextFindMatch
Undo last cursor operationCtrl+UcursorUndo
Insert cursor at end of each line selectedShift+Alt+Ieditor.action.insertCursorAtEndOfEachLineSelected
Select all occurrences of current selectionCtrl+Shift+Leditor.action.selectHighlights
Select all occurrences of current wordCtrl+F2editor.action.changeAll
Select current lineCtrl+LexpandLineSelection
Insert Cursor BelowCtrl+Alt+Downeditor.action.insertCursorBelow
Insert Cursor AboveCtrl+Alt+Upeditor.action.insertCursorAbove
Jump to matching bracketCtrl+Shift+\editor.action.jumpToBracket
Indent LineCtrl+]editor.action.indentLines
Outdent LineCtrl+[editor.action.outdentLines
Go to Beginning of LineHomecursorHome
Go to End of LineEndcursorEnd
Go to End of FileCtrl+EndcursorBottom
Go to Beginning of FileCtrl+HomecursorTop
Scroll Line DownCtrl+DownscrollLineDown
Scroll Line UpCtrl+UpscrollLineUp
Scroll Page DownAlt+PageDownscrollPageDown
Scroll Page UpAlt+PageUpscrollPageUp
Fold (collapse) regionCtrl+Shift+[editor.fold
Unfold (uncollapse) regionCtrl+Shift+]editor.unfold
Toggle Fold regionCtrl+K Ctrl+Leditor.toggleFold
Fold (collapse) all subregionsCtrl+K Ctrl+[editor.foldRecursively
Unfold (uncollapse) all subregionsCtrl+K Ctrl+]editor.unfoldRecursively
Fold (collapse) all regionsCtrl+K Ctrl+0editor.foldAll
Unfold (uncollapse) all regionsCtrl+K Ctrl+Jeditor.unfoldAll
Add Line CommentCtrl+K Ctrl+Ceditor.action.addCommentLine
Remove Line CommentCtrl+K Ctrl+Ueditor.action.removeCommentLine
Toggle Line CommentCtrl+/editor.action.commentLine
Toggle Block CommentShift+Alt+Aeditor.action.blockComment
FindCtrl+Factions.find
ReplaceCtrl+Heditor.action.startFindReplaceAction
Find NextEntereditor.action.nextMatchFindAction
Find PreviousShift+Entereditor.action.previousMatchFindAction
Select All Occurrences of Find MatchAlt+Entereditor.action.selectAllMatches
Toggle Find Case SensitiveAlt+CtoggleFindCaseSensitive
Toggle Find RegexAlt+RtoggleFindRegex
Toggle Find Whole WordAlt+WtoggleFindWholeWord
Toggle Use of Tab Key for Setting FocusCtrl+Meditor.action.toggleTabFocusMode
Toggle Render WhitespaceunassignedtoggleRenderWhitespace
Toggle Word WrapAlt+Zeditor.action.toggleWordWrap

Rich Languages Editing

CommandKeyCommand id
Trigger SuggestCtrl+Spaceeditor.action.triggerSuggest
Trigger Parameter HintsCtrl+Shift+Spaceeditor.action.triggerParameterHints
Format DocumentShift+Alt+Feditor.action.formatDocument
Format SelectionCtrl+K Ctrl+Feditor.action.formatSelection
Go to DefinitionF12editor.action.revealDefinition
Show HoverCtrl+K Ctrl+Ieditor.action.showHover
Peek DefinitionAlt+F12editor.action.peekDefinition
Open Definition to the SideCtrl+K F12editor.action.revealDefinitionAside
Quick FixCtrl+.editor.action.quickFix
Go to ReferencesShift+F12editor.action.goToReferences
Rename SymbolF2editor.action.rename
Replace with Next ValueCtrl+Shift+.editor.action.inPlaceReplace.down
Replace with Previous ValueCtrl+Shift+,editor.action.inPlaceReplace.up
Expand AST SelectionShift+Alt+Righteditor.action.smartSelect.expand
Shrink AST SelectionShift+Alt+Lefteditor.action.smartSelect.shrink
Trim Trailing WhitespaceCtrl+K Ctrl+Xeditor.action.trimTrailingWhitespace
Change Language ModeCtrl+K Mworkbench.action.editor.changeLanguageMode

Navigation

CommandKeyCommand id
Show All SymbolsCtrl+Tworkbench.action.showAllSymbols
Go to Line...Ctrl+Gworkbench.action.gotoLine
Go to File..., Quick OpenCtrl+Pworkbench.action.quickOpen
Go to Symbol...Ctrl+Shift+Oworkbench.action.gotoSymbol
Show ProblemsCtrl+Shift+Mworkbench.actions.view.problems
Go to Next Error or WarningF8editor.action.marker.nextInFiles
Go to Previous Error or WarningShift+F8editor.action.marker.prevInFiles
Show All CommandsCtrl+Shift+P or F1workbench.action.showCommands
Navigate Editor Group HistoryCtrl+Tabworkbench.action.quickOpenPreviousRecentlyUsedEditorInGroup
Go BackAlt+Leftworkbench.action.navigateBack
Go back in Quick InputAlt+Leftworkbench.action.quickInputBack
Go ForwardAlt+Rightworkbench.action.navigateForward
Focus BreadcrumbsCtrl+Shift+;breadcrumbs.focus
Focus and Select BreadcrumbsCtrl+Shift+.breadcrumbs.focusAndSelect

Editor/Window Management

CommandKeyCommand id
New WindowCtrl+Shift+Nworkbench.action.newWindow
Close WindowAlt+F4workbench.action.closeWindow
Close EditorCtrl+F4workbench.action.closeActiveEditor
Close FolderCtrl+K Fworkbench.action.closeFolder
Cycle Between Editor Groupsunassignedworkbench.action.navigateEditorGroups
Split EditorCtrl+\workbench.action.splitEditor
Focus into First Editor GroupCtrl+1workbench.action.focusFirstEditorGroup
Focus into Second Editor GroupCtrl+2workbench.action.focusSecondEditorGroup
Focus into Third Editor GroupCtrl+3workbench.action.focusThirdEditorGroup
Focus into Editor Group on the Leftunassignedworkbench.action.focusPreviousGroup
Focus into Editor Group on the Rightunassignedworkbench.action.focusNextGroup
Move Editor LeftCtrl+Shift+PageUpworkbench.action.moveEditorLeftInGroup
Move Editor RightCtrl+Shift+PageDownworkbench.action.moveEditorRightInGroup
Move Active Editor Group LeftCtrl+K Leftworkbench.action.moveActiveEditorGroupLeft
Move Active Editor Group RightCtrl+K Rightworkbench.action.moveActiveEditorGroupRight
Move Editor into Next GroupCtrl+Alt+Rightworkbench.action.moveEditorToNextGroup
Move Editor into Previous GroupCtrl+Alt+Leftworkbench.action.moveEditorToPreviousGroup

File Management

CommandKeyCommand id
New FileCtrl+Nworkbench.action.files.newUntitledFile
Open File...Ctrl+Oworkbench.action.files.openFile
SaveCtrl+Sworkbench.action.files.save
Save AllCtrl+K SsaveAll
Save As...Ctrl+Shift+Sworkbench.action.files.saveAs
CloseCtrl+F4workbench.action.closeActiveEditor
Close Othersunassignedworkbench.action.closeOtherEditors
Close GroupCtrl+K Wworkbench.action.closeEditorsInGroup
Close Other Groupsunassignedworkbench.action.closeEditorsInOtherGroups
Close Group to Leftunassignedworkbench.action.closeEditorsToTheLeft
Close Group to Rightunassignedworkbench.action.closeEditorsToTheRight
Close AllCtrl+K Ctrl+Wworkbench.action.closeAllEditors
Reopen Closed EditorCtrl+Shift+Tworkbench.action.reopenClosedEditor
Keep OpenCtrl+K Enterworkbench.action.keepEditor
Copy Path of Active FileCtrl+K Pworkbench.action.files.copyPathOfActiveFile
Reveal Active File in WindowsCtrl+K Rworkbench.action.files.revealActiveFileInWindows
Show Opened File in New Windowunassignedworkbench.action.files.showOpenedFileInNewWindow
Compare Opened File Withunassignedworkbench.files.action.compareFileWith

Display

CommandKeyCommand id
Toggle Full ScreenF11workbench.action.toggleFullScreen
Toggle Zen ModeCtrl+K Zworkbench.action.toggleZenMode
Leave Zen ModeEscape Escapeworkbench.action.exitZenMode
Zoom inCtrl+=workbench.action.zoomIn
Zoom outCtrl+-workbench.action.zoomOut
Reset ZoomCtrl+Numpad0workbench.action.zoomReset
Toggle Sidebar VisibilityCtrl+Bworkbench.action.toggleSidebarVisibility
Show Explorer / Toggle FocusCtrl+Shift+Eworkbench.view.explorer
Show SearchCtrl+Shift+Fworkbench.view.search
Show Source ControlCtrl+Shift+Gworkbench.view.scm
Show RunCtrl+Shift+Dworkbench.view.debug
Show ExtensionsCtrl+Shift+Xworkbench.view.extensions
Show OutputCtrl+Shift+Uworkbench.action.output.toggleOutput
Quick Open ViewCtrl+Qworkbench.action.quickOpenView
Open New Command PromptCtrl+Shift+Cworkbench.action.terminal.openNativeConsole
Toggle Markdown PreviewCtrl+Shift+Vmarkdown.showPreview
Open Preview to the SideCtrl+K Vmarkdown.showPreviewToSide
Toggle Integrated TerminalCtrl+`workbench.action.terminal.toggleTerminal
CommandKeyCommand id
Show SearchCtrl+Shift+Fworkbench.view.search
Replace in FilesCtrl+Shift+Hworkbench.action.replaceInFiles
Toggle Match CaseAlt+CtoggleSearchCaseSensitive
Toggle Match Whole WordAlt+WtoggleSearchWholeWord
Toggle Use Regular ExpressionAlt+RtoggleSearchRegex
Toggle Search DetailsCtrl+Shift+Jworkbench.action.search.toggleQueryDetails
Focus Next Search ResultF4search.action.focusNextSearchResult
Focus Previous Search ResultShift+F4search.action.focusPreviousSearchResult
Show Next Search TermDownhistory.showNext
Show Previous Search TermUphistory.showPrevious

Search Editor

CommandKeyCommand id
Open Results In EditorAlt+Entersearch.action.openInEditor
Focus Search Editor InputEscapesearch.action.focusQueryEditorWidget
Search AgainCtrl+Shift+RrerunSearchEditorSearch
Delete File ResultsCtrl+Shift+Backspacesearch.searchEditor.action.deleteFileResults

Preferences

CommandKeyCommand id
Open SettingsCtrl+,workbench.action.openSettings
Open Workspace Settingsunassignedworkbench.action.openWorkspaceSettings
Open Keyboard ShortcutsCtrl+K Ctrl+Sworkbench.action.openGlobalKeybindings
Open User Snippetsunassignedworkbench.action.openSnippets
Select Color ThemeCtrl+K Ctrl+Tworkbench.action.selectTheme
Configure Display Languageunassignedworkbench.action.configureLocale

Debug

CommandKeyCommand id
Toggle BreakpointF9editor.debug.action.toggleBreakpoint
StartF5workbench.action.debug.start
ContinueF5workbench.action.debug.continue
Start (without debugging)Ctrl+F5workbench.action.debug.run
PauseF6workbench.action.debug.pause
Step IntoF11workbench.action.debug.stepInto

Tasks

CommandKeyCommand id
Run Build TaskCtrl+Shift+Bworkbench.action.tasks.build
Run Test Taskunassignedworkbench.action.tasks.test

Extensions

CommandKeyCommand id
Install Extensionunassignedworkbench.extensions.action.installExtension
Show Installed Extensionsunassignedworkbench.extensions.action.showInstalledExtensions
Show Outdated Extensionsunassignedworkbench.extensions.action.listOutdatedExtensions
Show Recommended Extensionsunassignedworkbench.extensions.action.showRecommendedExtensions
Show Popular Extensionsunassignedworkbench.extensions.action.showPopularExtensions
Update All Extensionsunassignedworkbench.extensions.action.updateAllExtensions

Post a Comment

0 Comments