Navigation:
Ctrl + Left Move to the beginning of the current word or if there to the beginning of the previous word.
Ctrl + Right Move to beginning of the next word
Ctrl + Shift + Left Select to beginning of current or previous word
Ctrl + Shift + Right Select to end of current or next word
Alt + Right Navigate to next part of the word or word end (Requires extension "Subword Navigation" in VS)
Alt + Left Navigate to previous part of the word or word beginning (VS Code Only)
Alt + Shift + Right Select to next part of the word or word end (VS Code Only)
Alt + Shift + Left Select to previous part of the word or word beginning (VS Code Only)
Home Go to beginning of the line
End Go to end of line. Press again to go to actual line end if wrapped.
Shift + Home Select to beginning of the line
Shift + End Select to end of line. Press again to select to actual line end if wrapped.
Ctrl + E Select word of under cursor (Has unfortunate side effects in VS code, the option is "editor.action.addSelectionToNextFindMatch". Alternative: Ctrl + Left, Ctrl + Shift + Right )
Ctrl + ] Go to matching bracket
Ctrl + Shift + ] Select to matching bracket
Ctrl + F Find
Ctrl + N Find Next
Ctrl + P Find Previous
Ctrl + I Incremental Find (VS Only)
Ctrl + Shift + F Show Search (VS Code Only)
Alt + G Go To Line Number (VS Code Only)
Ctrl + Up/Down Scrolls the window without moving the cursor
Ctrl + – Take cursor to its previous location
Ctrl + + Take cursor to its next location
Ctrl + , Go to All / Quick Open
F12, Middle Click Go To Definition
Shift + F12, Shift + Middle Click Peek Definition
Ctrl + F12, Ctrl + Middle Click Go To Implementation
Ctrl + Tab Next Editor Tab (VS Code needs 2 commands: "workbench. action. openPreviousRecentlyUsedEditorInGroup" and "workbench. action. quickOpenNavigatePreviousInEditorPicker")
Alt + N Next Difference in Diff File
Alt + P Previous Difference in Diff File
Ctrl + PageDown Cursor to Bottom of File
Ctrl + PageUp Cursor to Top of File
Ctrl + Shift + PageDown Select to Bottom of File
Ctrl + Shift + PageUp Select to Top of File
Tab Indent
Shift + Tab Reduce Indent
Ctrl + Q Expand Selection
Alt + Q Contract Selection (VS Code only)
Terminal Navigation VS:
Ctrl + Alt + Space, Bring up terminal (Shortcut in VS, Focus Terminal option in VS code)
Terminal Navigation VS Code:
Ctrl + \ Bring up terminal
Ctrl + Alt + T Show / Hide Panel
Ctrl + Alt + P Problems tab in Panel
Ctrl + Alt + O Output tab in Panel
Ctrl + Alt + D Debug Console tab in Panel
Ctrl + Alt + M Toggle Maximize Panel
Editing Text:
Ctrl + H Replace
Ctrl + C Copy, if nothing is selected copy the whole line
Ctrl + V Paste
Ctrl + X Cut, if nothing is selected cut the whole line
Alt + V Display Paste Ring (VS Code and VS with extension)
Alt + UpArrow / DownArrow Move the line(s) up or down
Ctrl + Enter Insert line above the current line and place cursor there. Cursor can be anywhere on the line to start.
Alt + Enter Insert line below the current line and place cursor there. Cursor can be anywhere on the line to start.
Ctrl + Backspace Delete word to the left
Ctrl + Del Delete word to the right
Ctrl + D Delete current line or selected lines
Alt + C Markdown Toggle Code Span (VS Code only)
Editing Code:
Ctrl + Space Call Intellisense
Ctrl + . Suggestions
Ctrl + R Ctrl + R Rename symbol
Ctrl + W Close current tab
Ctrl + K, Ctrl + C Comment
Ctrl + K, Ctrl + U Uncomment
Ctrl + K, Ctrl + D Format document
Ctrl + S Save
Ctrl + Shift + S Save All
Ctrl + K Ctrl + K Toggle Bookmark the current line.
Ctrl + K Ctrl + N Navigate to next bookmark.
Ctrl + K Ctrl + P Navigate to previous bookmark.
Ctrl + K Ctrl + L Show bookmarks list.
Ctrl + K Ctrl + W Wipe bookmarks.
Ctrl + K Ctrl + Shift + N Expand selection to next bookmark. (VS Code only)
Ctrl + K Ctrl + Shift + P Expand selection to previous bookmark. (VS Code only)
Ctrl + K Ctrl + Shift + L Select lines containing bookmarks. (VS Code only)
Debugging:
F5 Start debugging
F10 Debug step over
F8 Jump to next error
F9 Toggle Breakpoint
Ctrl + Shift + F9 Remove all breakpoints