| Shortcut Keys | Description |
|---|---|
| Ctrl+X | Cut Complete Line |
| Ctrl+K C | Comment code |
| Ctrl+K U | Uncomment code |
| Ctrl+Enter | Add Line Above |
| Ctrl+Shift+Enter | Add Line Below |
| Ctrl+R | Rename variable/function/class |
| F12 | Go to definition |
| Shift+F12 | Show everywhere function is used |
| Ctrl+R, Ctrl+M | Refactor a bunch of code into a new method |
| Alt+Up_Arrow | Move line of code |
| Ctrl+K, Ctrl+D | Reformat entire code |
| Ctrl+K, Ctrl+S | Surround with a bunch of code |
| Ctrl+M, Ctrl+O | Collapse everything |
| Ctrl+. | Quick Fix |
| Ctrl+Alt+L | Open solution explorer |
| Ctrl+D | Duplicate code |
| Ctrl+, | Open file search |
| Ctrl+K, Ctrl+O | Switch between header and source file |
| Ctrl+Arrow | Traverse word by word |
| Alt+Shift+. | Select current word |
| Alt+Shift+Arrow | Vertically select text |
| Ctrl+K+K | Add bookmark |
| Ctrl+W+B | Open bookmarks |
| Ctrl+F6 | Switch to next tab |
| Ctrl+Shift+F6 | Switch to previous tab |
| Ctrl+F4 | Close current tab |
| Alt+W+L | Close All tabs |
| Alt+Shift+Enter | Toggle full screen mode |
| Ctrl+M+M | Expand/Collapse a block of code |
| Alt+Enter | Open reshaper command |
| Ctrl+Space | Suggest parameter names |
| Alt+W,L or Alt+-,L | Close All Documents |
| Ctrl+F4 or Alt+F,C or **Alt+-,C | Close Current Documents |
| Alt+-,A | Close All But This Document |
| Alt+-,O | Open Containint Folder |
| Alt+-,U | Copy Full path |
| Alt+W,P or Alt+-,P | Pin Tab |
| Alt+W,F or Alt+-,F | Float tab |
| Alt+W,F or Alt+-,F | Auto Hide All Tab |
| Shortcut Keys | Description |
|---|---|
| WIN+Number | Open Number th application from taskbar |
| Ctrl+Shift+N | Open new Windows Terminal instance |
| Ctrl+Shift+T | Open a new default profile tab |
| Ctrl+Shift+Number(1-9) | Open a new tab, profile index: 1 to 9 |
| Ctrl+Alt+Number(1-9) | Switch to tab 1 to 9 |
| Ctrl+Tab | Switch to next tab |
| Ctrl+Shift+Tab | Switch to previous tab |
| Ctrl+Shift+Space | Open profile selection dropdown menu |
| Ctrl+Shift+D | Open another instance of current tab |
| Alt+Shift+D | Open another instance of current pane |
| Ctrl+Shift+W | Close the current tab |
| Ctrl+C | Copy the selected text/command |
| Ctrl+V | Paste the selected text/command |
| Ctrl+, | Open Windows Terminal settings UI |
| Ctrl+Alt+, | Open default settings file |
| Ctrl+Shift+, | Open settings file |
| Ctrl+Shift+F | Find |
| Alt+Shift++ | Create/Split a vertical pane |
| Alt+Shift+- | Create/Split horizontal pane |
| Alt+Shift+Up | Resize current pane up |
| Alt+Shift+Down | Resize current pane down |
| Alt+Shift+Left | Resize current pane left |
| Alt+Shift+Right | Resize current pane right |
| Ctrl+Shift+P | Open command palette |
| Ctrl+Shift+Home | Scroll to top of history |
| Ctrl+Shift+End | Scroll to bottom of history |
| Alt+UpArrow | Move focus to one pane up |
| Alt+DownArrow | Move focus to one pane down |
| Alt+LeftArrow | Move focus to one pane left |
| Alt+RightArrow | Move focus to one pane right |
| Alt+F4 | Close Windows terminal (entire program) |
- advance-new-file
- File Utils
| Shortcut Keys | Description |
|---|---|
| Ctrl+w | Close Window/Tab |
| Ctrl+p | Open File |
| Ctrl+Shift+p | Open command palette |
| Ctrl+Tab | Switch between open tabs |
| Command | Description |
|---|---|
!^ |
first argument |
!$ |
last argument |
!* |
all arguments |
!:2 |
second argument |
!:2-3 |
second to third arguments |
!:2-$ |
second to last arguments |
!:2* |
second to last arguments |
!:2- |
second to next to last arguments |
!:0 |
the command |
!! |
repeat the previous line |