Visual Studio Code Shortcuts
The industry-standard code editor for Web Development, Python, C++, and Cloud engineering.
Run Code (Code Runner)
code-runner.runInstantly runs active Python, JavaScript, C++, or Java file in terminal without typing manual terminal commands.
Stop Code Run (Kill Active Script)
code-runner.stopImmediately halts the running script or infinite loop in Code Runner.
Open with Live Server
extension.liveServer.goOnlineLaunches local dev server with real-time browser reload for HTML, CSS, and JS web design files.
Stop Live Server
extension.liveServer.goOfflineShuts down active Live Server instance on port 5500.
Insert Turbo Console Log
turboConsoleLog.displayLogMessageInstantly inserts a formatted console.log() displaying the selected variable name and current line number.
Toggle Auto Save
workbench.action.toggleAutoSaveToggles automatic saving of dirty files after delay so code changes are never lost.
Reopen Last Closed Editor
workbench.action.reopenClosedEditorReopens the code tab you accidentally closed with all previous history intact.
Open Keyboard Shortcuts Editor
workbench.action.openGlobalKeybindingsOpens interactive VS Code keybinding manager where students can remap any shortcut.
Command Palette
workbench.action.showCommandsOpen the universal search bar to access all editor commands, preferences, and extensions.
Quick Open, Go to File
workbench.action.quickOpenSearch and jump to any project file by typing parts of its path or name.
New Window / Instance
workbench.action.newWindowOpens a brand new VS Code application window for another project.
Close Window
workbench.action.closeWindowCloses the current active VS Code window.
User Settings
workbench.action.openSettingsOpens preferences to configure themes, font size, tabs, and formatters.
Toggle Primary Side Bar
workbench.action.toggleSidebarVisibilityShows or hides the file explorer sidebar to maximize editor coding space.
Toggle Bottom Panel
workbench.action.togglePanelShows or hides the bottom panel containing Terminal, Output, and Debug Console.
Show Extensions Marketplace
workbench.view.extensionsOpens extensions panel to install Python, Prettier, Live Server, and linters.
Show File Explorer
workbench.view.explorerFocuses file explorer tree view of project files and folders.
Show Source Control (Git)
workbench.view.scmOpens Git panel to inspect modified files, stage changes, and commit.
Show Run and Debug
workbench.view.debugOpens debugging panel to configure launch scripts and breakpoints.
Toggle Full Screen Mode
workbench.action.toggleFullScreenExpands editor into immersive full-screen view without OS borders.
Toggle Zen Mode
workbench.action.toggleZenModeDistraction-free coding mode hiding all sidebars, tabs, and status bars.
Cut Line (Empty Selection)
editor.action.clipboardCutActionCuts entire current line to clipboard when no characters are selected.
Copy Line (Empty Selection)
editor.action.clipboardCopyActionCopies whole line to clipboard without needing to highlight the text.
Move Line Up or Down
editor.action.moveLinesUpActionShifts current line or highlighted selection upward or downward smoothly.
Duplicate Line (Copy Up / Down)
editor.action.copyLinesDownActionClones current line or block immediately above or below active cursor.
Delete Entire Line
editor.action.deleteLinesInstantly deletes the active line without requiring selection.
Insert Line Below
editor.action.insertLineAfterCreates a clean new line directly below active cursor without splitting current text.
Insert Line Above
editor.action.insertLineBeforeCreates a new empty line immediately above the active line.
Jump to Matching Bracket
editor.action.jumpToBracketToggles cursor position between opening and closing brackets (), {}, [].
Indent Line
editor.action.indentLinesIndents current line or selection to the right.
Outdent Line
editor.action.outdentLinesRemoves indentation from line or block to the left.
Toggle Line Comment
editor.action.commentLineComments or uncomments line using language-specific syntax (// or #).
Toggle Block Comment
editor.action.blockCommentWraps selected code with multi-line block comment (/* ... */).
Format Document
editor.action.formatDocumentFormats whole file cleanly using Prettier, Black, or default formatter.
Format Selection
editor.action.formatSelectionFormats only the selected block of code leaving surrounding code intact.
Toggle Word Wrap
editor.action.toggleWordWrapWraps long code lines inside viewport to avoid horizontal scrolling.
Fold (Collapse) Region
editor.foldCollapses the innermost code block, function, or loop.
Unfold (Expand) Region
editor.unfoldExpands the currently folded code block.
Fold All Code Regions
editor.foldAllCollapses all functions, classes, and code blocks in active file.
Unfold All Code Regions
editor.unfoldAllExpands every folded block in the file to reveal full code.
Select Next Matching Word
editor.action.addSelectionToNextFindMatchAdds cursor to the next occurrence of current word to edit them simultaneously.
Select All Occurrences of Word
editor.action.selectHighlightsPlaces cursors at every occurrence of selected word across the document.
Insert Cursor Arbitrarily
Click anywhere to place additional cursors and type at multiple places.
Insert Cursor Above / Below
editor.action.insertCursorAboveAdds an extra cursor directly above or below current position on adjacent lines.
Undo Last Cursor Operation
cursorUndoRemoves the last added multi-cursor while preserving previous selections.
Insert Cursor at End of Selected Lines
editor.action.insertCursorAtEndOfEachLineSelectedSpawns individual cursors at the trailing end of every highlighted line.
Select Current Line
expandLineSelectionSelects the full line where cursor rests. Press repeatedly to extend selection.
Smart Select Expand / Shrink
editor.action.smartSelect.expandIntelligently expands or contracts selection boundary based on code AST syntax.
Find in File
actions.findOpens in-file search widget to find words and patterns.
Replace in File
editor.action.startFindReplaceActionOpens find and replace fields to substitute text across active file.
Search Across Entire Workspace
workbench.action.findInFilesSearch string across all project folders, files, and modules.
Replace Across All Files
workbench.action.replaceInFilesPerforms multi-file search and replace across the entire project.
Find Next Match
editor.action.nextMatchFindActionAdvances cursor to the next match of current search query.
Find Previous Match
editor.action.previousMatchFindActionNavigates backward to preceding search result.
Toggle Match Case in Search
toggleFindCaseSensitiveToggles case-sensitive matching on and off in search box.
Toggle Match Whole Word
toggleFindWholeWordRestricts search results to complete standalone words only.
Toggle Regular Expressions (Regex)
toggleFindRegexEnables regex syntax patterns for complex code searches.
Go to Line Number
workbench.action.gotoLineJump directly to line:col (e.g. :42:10) to trace errors quickly.
Go to Definition
editor.action.revealDefinitionNavigates immediately to where a function, variable, or class is defined.
Peek Definition
editor.action.peekDefinitionOpens an inline popup box showing definition code without navigating away.
Show All References
editor.action.goToReferencesDisplays list of every file and line where symbol is used.
Rename Symbol (Refactor)
editor.action.renameRenames variable or function across every file in project synchronously.
Quick Fix / Code Actions
editor.action.quickFixOpens contextual suggestions to auto-import modules, fix typos, or refactor.
Trigger Suggestions (IntelliSense)
editor.action.triggerSuggestTriggers autocomplete suggestions and documentation dropdown.
Trigger Parameter Hints
editor.action.triggerParameterHintsDisplays argument names and types expected by active function call.
Go to Symbol in File
workbench.action.gotoSymbolLists all functions, methods, and variables declared in current file.
Go to Symbol in Workspace
workbench.action.showAllSymbolsSearches symbols across all project files.
Go Back / Forward in History
workbench.action.navigateBackSteps backward or forward through recent code cursor navigation locations.
Close Active Editor Tab
workbench.action.closeActiveEditorCloses the current file tab.
Close All Editor Tabs
workbench.action.closeAllEditorsCloses every open tab in the active group.
Split Editor Window
workbench.action.splitEditorDivides active editor into side-by-side split groups.
Focus 1st, 2nd, or 3rd Editor Group
workbench.action.focusFirstEditorGroupSwitches focus across side-by-side editor panels without clicking.
Cycle Next Opened Editor
workbench.action.openNextRecentlyUsedEditorInGroupCycles through opened files in order of most recent use.
Keep Preview Mode Editor Open
workbench.action.keepEditorPins italic preview tab permanently so opening other files does not replace it.
Toggle Integrated Terminal
workbench.action.terminal.toggleTerminalShow or hide the built-in terminal window.
Create New Terminal Instance
workbench.action.terminal.newOpens a fresh parallel terminal shell session.
Split Active Terminal
workbench.action.terminal.splitSplits terminal panel side-by-side to run server and tests simultaneously.
Copy Terminal Text
workbench.action.terminal.copySelectionCopies selected text inside integrated terminal buffer.
Paste into Terminal
workbench.action.terminal.pastePastes clipboard text directly into active terminal prompt.
Clear Terminal Buffer
workbench.action.terminal.clearClears screen scrollback history in active terminal shell.
Start / Continue Debugging
workbench.action.debug.startLaunches debug target or advances execution to next breakpoint.
Run Without Debugging
workbench.action.debug.runRuns file directly bypassing all debugger breakpoints.
Stop Debugging Session
workbench.action.debug.stopImmediately halts debugger and terminates spawned runtime.
Restart Debugging Session
workbench.action.debug.restartRecompiles and restarts active debug execution from origin.
Toggle Breakpoint on Line
editor.debug.action.toggleBreakpointInserts or removes red debug breakpoint at cursor position.
Step Over Next Statement
workbench.action.debug.stepOverExecutes active line and pauses at following statement without entering function body.
Step Into Function Call
workbench.action.debug.stepIntoSteps execution inside the function being called on current line.
Step Out of Function
workbench.action.debug.stepOutRuns until active function returns and pauses at caller.
Explore Other Software
Quick access to other tools