learn.fttgsolutions.com · Cheat Sheets
Edit. Navigate. Debug.
| Command Palette | Ctrl+Shift+P / Cmd+Shift+P | Open the command palette to search and run any VS Code command. |
| Quick Open | Ctrl+P / Cmd+P | Quickly open a file by name. |
| New Window | Ctrl+Shift+N / Cmd+Shift+N | Open a new VS Code window or instance. |
| Close Window | Ctrl+Shift+W / Cmd+W | Close the current window or instance. |
| User Settings | Ctrl+, / Cmd+, | Open the user settings editor. |
| Keyboard Shortcuts | Ctrl+K Ctrl+S / Cmd+K Cmd+S | Open the keyboard shortcuts editor. |
| Cut Line | Ctrl+X / Cmd+X | Cut the current line (no selection needed). |
| Copy Line | Ctrl+C / Cmd+C | Copy the current line (no selection needed). |
| Move Line Up/Down | Alt+Up/Down / Opt+Up/Down | Move the current line up or down. |
| Copy Line Up/Down | Shift+Alt+Up/Down / Shift+Opt+Up/Down | Duplicate the current line above or below. |
| Delete Line | Ctrl+Shift+K / Cmd+Shift+K | Delete the entire current line. |
| Insert Line Below | Ctrl+Enter / Cmd+Enter | Insert a new line below the current line. |
| Insert Line Above | Ctrl+Shift+Enter / Cmd+Shift+Enter | Insert a new line above the current line. |
| Jump to Bracket | Ctrl+Shift+\ / Cmd+Shift+\ | Jump to the matching opening or closing bracket. |
| Indent Line | Ctrl+] / Cmd+] | Indent the current line one level to the right. |
| Outdent Line | Ctrl+[ / Cmd+[ | Outdent the current line one level to the left. |
| Go to Start of File | Ctrl+Home / Cmd+Up | Move the cursor to the very beginning of the file. |
| Go to End of File | Ctrl+End / Cmd+Down | Move the cursor to the very end of the file. |
| Fold Region | Ctrl+Shift+[ / Opt+Cmd+[ | Collapse the current code region. |
| Unfold Region | Ctrl+Shift+] / Opt+Cmd+] | Expand the current collapsed code region. |
| Fold All | Ctrl+K Ctrl+0 / Cmd+K Cmd+0 | Collapse all foldable code regions in the file. |
| Unfold All | Ctrl+K Ctrl+J / Cmd+K Cmd+J | Expand all collapsed code regions in the file. |
| Toggle Line Comment | Ctrl+/ / Cmd+/ | Comment or uncomment the current line. |
| Toggle Block Comment | Shift+Alt+A / Shift+Opt+A | Wrap or unwrap the selection in a block comment. |
| Toggle Word Wrap | Alt+Z / Opt+Z | Toggle soft word wrapping for long lines. |
| Go to Line | Ctrl+G / Ctrl+G | Jump directly to a specific line number. |
| Go to Symbol | Ctrl+Shift+O / Cmd+Shift+O | Navigate to a symbol (function, class, variable) in the current file. |
| Show All Symbols | Ctrl+T / Cmd+T | Search for any symbol across all open files. |
| Problems Panel | Ctrl+Shift+M / Cmd+Shift+M | Open the Problems panel showing errors and warnings. |
| Next Error/Warning | F8 | Jump to the next error or warning in the file. |
| Previous Error/Warning | Shift+F8 | Jump to the previous error or warning in the file. |
| Go Back | Alt+Left / Ctrl+- | Navigate back to the previous cursor location. |
| Go Forward | Alt+Right / Ctrl+Shift+- | Navigate forward to the next cursor location. |
| Go to Definition | F12 | Jump to the definition of the symbol under the cursor. |
| Peek Definition | Alt+F12 / Opt+F12 | Show the definition inline without leaving the current file. |
| Show References | Shift+F12 | Show all references to the symbol under the cursor. |
| Find | Ctrl+F / Cmd+F | Open the find bar to search within the current file. |
| Replace | Ctrl+H / Opt+Cmd+F | Open find and replace in the current file. |
| Find Next | F3 / Cmd+G | Jump to the next match for the current search term. |
| Find Previous | Shift+F3 / Cmd+Shift+G | Jump to the previous match for the current search term. |
| Select All Matches | Alt+Enter / Opt+Enter | Select every occurrence of the current search match. |
| Add Next Match | Ctrl+D / Cmd+D | Add the next occurrence of the selected word to the selection. |
| Search in Files | Ctrl+Shift+F / Cmd+Shift+F | Open the global search panel to search across all files. |
| Replace in Files | Ctrl+Shift+H / Cmd+Shift+H | Open global search and replace across all files. |
| Add Cursor | Alt+Click / Opt+Click | Add an additional cursor at the clicked position. |
| Add Cursor Above | Ctrl+Alt+Up / Opt+Cmd+Up | Add a new cursor on the line above. |
| Add Cursor Below | Ctrl+Alt+Down / Opt+Cmd+Down | Add a new cursor on the line below. |
| Undo Cursor | Ctrl+U / Cmd+U | Remove the most recently added cursor. |
| Select Current Line | Ctrl+I / Cmd+L | Select the entire current line. |
| Select All Occurrences | Ctrl+Shift+L / Cmd+Shift+L | Select every occurrence of the current selection. |
| Expand Selection | Shift+Alt+Right / Ctrl+Shift+Cmd+Right | Expand the selection to the next logical block. |
| Shrink Selection | Shift+Alt+Left / Ctrl+Shift+Cmd+Left | Shrink the selection to the previous logical block. |
| Column Selection | Shift+Alt+Drag / Shift+Opt+Drag | Drag to create a rectangular (box) multi-line selection. |
| Trigger Suggestion | Ctrl+Space / Ctrl+Space | Manually trigger IntelliSense code completion suggestions. |
| Parameter Hints | Ctrl+Shift+Space / Cmd+Shift+Space | Show parameter hints for the current function call. |
| Format Document | Shift+Alt+F / Shift+Opt+F | Auto-format the entire file using the configured formatter. |
| Format Selection | Ctrl+K Ctrl+F / Cmd+K Cmd+F | Format only the currently selected code. |
| Quick Fix | Ctrl+. / Cmd+. | Show available quick fixes and refactoring actions. |
| Rename Symbol | F2 | Rename a symbol and update all its references across files. |
| Trim Whitespace | Ctrl+K Ctrl+X / Cmd+K Cmd+X | Remove trailing whitespace from all lines. |
| Change Language | Ctrl+K M / Cmd+K M | Change the syntax highlighting language for the current file. |
| Close Editor | Ctrl+W / Cmd+W | Close the current editor tab. |
| Reopen Closed Editor | Ctrl+Shift+T / Cmd+Shift+T | Reopen the most recently closed editor tab. |
| Split Editor | Ctrl+\ / Cmd+\ | Split the editor into two side-by-side panes. |
| Focus Editor Group 1/2/3 | Ctrl+1/2/3 / Cmd+1/2/3 | Switch focus to the first, second, or third editor group. |
| Next Tab | Ctrl+Tab / Ctrl+Tab | Switch to the next open editor tab. |
| Previous Tab | Ctrl+Shift+Tab / Ctrl+Shift+Tab | Switch to the previous open editor tab. |
| Close All Editors | Ctrl+K Ctrl+W / Cmd+K Cmd+W | Close every open editor tab. |
| New File | Ctrl+N / Cmd+N | Create a new untitled file. |
| Open File | Ctrl+O / Cmd+O | Open an existing file from disk. |
| Save | Ctrl+S / Cmd+S | Save the current file. |
| Save As | Ctrl+Shift+S / Cmd+Shift+S | Save the current file under a new name or location. |
| Save All | Ctrl+K S / Opt+Cmd+S | Save all open unsaved files at once. |
| Copy File Path | Ctrl+K P / Cmd+K P | Copy the full path of the active file to the clipboard. |
| Reveal in Explorer | Ctrl+K R / Cmd+K R | Reveal the active file in the OS file explorer (Finder/Explorer). |
| Toggle Sidebar | Ctrl+B / Cmd+B | Show or hide the left sidebar panel. |
| Toggle Full Screen | F11 / Ctrl+Cmd+F | Enter or exit full screen mode. |
| Zoom In | Ctrl+= / Cmd+= | Increase the editor zoom level. |
| Zoom Out | Ctrl+- / Cmd+- | Decrease the editor zoom level. |
| Show Explorer | Ctrl+Shift+E / Cmd+Shift+E | Open the file explorer panel. |
| Show Source Control | Ctrl+Shift+G / Ctrl+Shift+G | Open the Git source control panel. |
| Show Extensions | Ctrl+Shift+X / Cmd+Shift+X | Open the extensions marketplace panel. |
| Show Output | Ctrl+Shift+U / Cmd+Shift+U | Open the output panel to see logs. |
| Markdown Preview | Ctrl+Shift+V / Cmd+Shift+V | Open a side-by-side Markdown preview. |
| Zen Mode | Ctrl+K Z / Cmd+K Z | Enter distraction-free Zen Mode. Press Esc twice to exit. |
| Start / Continue | F5 | Start debugging or continue after a breakpoint pause. |
| Stop Debug | Shift+F5 | Stop the current debug session. |
| Toggle Breakpoint | F9 | Add or remove a breakpoint on the current line. |
| Step Over | F10 | Execute the current line and pause on the next one. |
| Step Into | F11 | Step into the function call on the current line. |
| Step Out | Shift+F11 | Step out of the current function back to the caller. |
| Show Hover | Ctrl+K Ctrl+I / Cmd+K Cmd+I | Show the debug hover tooltip for the value under the cursor. |
| Toggle Terminal | Ctrl+` / Ctrl+` | Show or hide the integrated terminal panel. |
| New Terminal | Ctrl+Shift+` / Ctrl+Shift+` | Open a new integrated terminal instance. |
| Scroll Up | Ctrl+Up / Cmd+Up | Scroll the terminal output up one line. |
| Scroll Down | Ctrl+Down / Cmd+Down | Scroll the terminal output down one line. |
| Scroll to Top | Ctrl+Home / Cmd+Home | Jump to the very top of the terminal output. |
| Scroll to Bottom | Ctrl+End / Cmd+End | Jump to the very bottom of the terminal output. |