After graduation, I have been engaged in Windows development work. Mastering some common Windows shortcut keys can greatly improve work efficiency and show a wave of operation. This article documents the common Windows shortcuts used at work, as well as the common VS shortcuts. Mastering these keyboard operations, you can minimize the dependence on the mouse, in some scenarios or very necessary.

Windows shortcuts

Tab: Cut Focus Win + D: Back to Desktop Win + E: Open File Explorer Win + Q: Open Search Box Win + L: Lock Screen Win + R: Run Ctrl + A: Select All Ctrl + C: Copy Ctrl + V: Paste Ctrl + Z: Undo Ctrl + Y: Restore Ctrl + F: Find Ctrl + W: Close the current page Ctrl + P: Print Ctrl + N: New Ctrl + Shift + N: New Fold Alt + ← : Alt + Tab: Cut Apply Alt + Space + X/N/R/C: Maximize/Minimize/Restore/Close Alt + F4: Close the app and use it on the desktop. It will bring up the Close Windows popup. Of course, the shutdown operation is still required with slideToShutdown.

Visual Studio Shortcuts (Customizable)

F9: add/cancel breakpoints F10: step by step F11: step by statement F12: go to definition Ctrl + W: select the current word Ctrl + H: Replace Ctrl + Shift + F: Find Ctrl + Shift + H: Replace Ctrl + U: Move selected word to lowercase Ctrl + Shift + U: Move selected word to uppercase Ctrl + G: Move to line Ctrl + Home: Back to Top Ctrl + End: Back to Bottom Shift + Home: From Current to Line Preferred Shift + End: From Current to End of Line Selected Ctrl + Tab: File Window Toggling Ctrl + S: Hold Ctrl + Shift + S: Save all Ctrl + K + C: Comment Selected Content Ctrl + K + U: Uncomment Selected Content Ctrl + Shift + L: Delete Current Line Ctrl + F5: Run Ctrl + Shift + F5: Stop Run Ctrl + – : Forward navigation Ctrl + Shift + – : Backward navigation Alt + 2: View Reference Alt + → : Complete Alt + Left mouse button: Select the block and edit the block