Visual Studio Code

CommandDescription
Ctrl + Shift + P or F1Open command palette
Ctrl + iOpen GitHub Copilot inline
Ctrl + Shift + iOpen GitHub Copilot
F2Rename variables and methods
Alt + Shift + FFormat document
Ctrl + /Comment out code
Ctrl + Shift + ORemove unused usings

If you want a one-page cheatsheet, check https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf.

Visual Studio

CommandDescription
Ctrl + QVisual Studio search
Ctrl + -
Ctrl + Shift -
Navigating Backward
Navigating Forward
Alt + /Open GitHub Copilot
Ctrl + R, Ctrl + RRename variables and methods
Ctrl + K, Ctrl + DFormat document
Ctrl + K, Ctrl + C
Ctrl + K, Ctrl + U
Comment out code
Uncomment code
Ctrl + R, Ctrl + GRemove and sort usings

If you want all from Microsoft, check their cheatsheet for Visual Studio at https://visualstudio.microsoft.com/keyboard-shortcuts.pdf.

Git Fork

I am frequently using Git Fork. Here are some commands I think help me be more productive.

CommandDescription
Ctrl + PShow Quick launch window
Ctrl + EnterCommit
Ctrl + Shift + EnterCommit and push
Ctrl + Tab / Shift TabNext tab / previous tab
Ctrl + Shift + BNew branch
Ctrl + Shift + TNew tag
Ctrl + Shift + HCreate stash

Windows

I am frequently using Git Fork. Here are some commands I think help me be more productive.

CommandDescription
Windows + LWindows lunch, lock your PC when you ’re away.
Windows + Shift + SScreenshot via snipping tool
Windows + Shift + RVideo snip via snipping tool
Windows + Plus (+)Zoom in using magnifier

See all the shortcuts at https://github.com/fork-dev/TrackerWin/issues/333.

Git

Fix an casing issue in your files.

1
2
git mv --force address.cs Address.cs
git mv --force <old_file> <new_file>

Creating an annotated tag using the -a flag.

1
git tag -a v1.4 -m "my version 1.4"

NPM

Update multiple packages at once using the scope.

1
npx update-by-scope "@angular"