Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”

This article has participated in the “Digitalstar Project” and won a creative gift package to challenge the creative incentive money.

Bah, ME too

How to become a programming guru?

That is, of course, when coding with your hands glued to the keyboard.

After all, every time the right hand moves away from the keyboard to touch the mouse, it’s a waste of time.

The first step to becoming a boss is to memorize keyboard shortcuts and common commands.

Suppose you now have a standard keyboard like the one shown below.

Key shortcuts to Windows7 operating system, why? Because I’m using Windows 7 when I write my blog.

Shortcut keys can only introduce you to become a development master, similar to Ctrl+C, Ctrl+V this well-known, are omitted, we only to dry goods.

Essential Windows shortcuts for programmers

How does a programmer open a program

First of all, we can use the Windows key, generally called Winkey or Winkey, the position is about in the lower left corner of the computer keyboard between Ctrl and Alt keys, there is a Microsoft window LOGO, and there is only one on the keyboard.

Press the Win key separately and select

Wake up the start menu and press the arrow keys to select the menu. As long as the operation is fast enough, other people’s eyes can not catch up with your operation.

Win 键+R

Open run, and then can enter the command, open the specified software, programmers commonly have

  • calc: calculator;
  • osk: On-screen virtual keyboard (agreed no keyboard…) ;
  • writeTablet;
  • notepad: notepad;
  • mspaint: drawing;
  • cmd: console;
  • control: Control panel (with Tab key, easy to use);
  • desk.cpl: Open desktop Settings in the control panel.
  • main.cpl: Mouse Settings (ibid.);
  • inetcpl.cpl: Internet properties;
  • ncpa.cpl: Network connection;
  • mmsys.cpl: Sound and audio equipment;
  • sysdm.cpl: System attributes;
  • firewall.cpl: firewall;
  • compmgmt.msc: Computer management;
  • devmgmt.msc: Equipment management;
  • diskmgmt.msc: Disk management;
  • services.msc: Local services;
  • eventvwr: event viewer;
  • taskmgr: Task manager, usedEsc+Shift+CtrlCan also;
  • certmgr.msc: Certificate manager, used by some developers;
  • secpol.msc: local security policy;
  • regedit: registry editor;
  • gpedit.msc: Local group policy.
  • .: Open my document (go ahead and try it);
  • \: Open drive C;
  • %temp%: Open a temporary folder (often used as a programmer)
  • mstsc: Desktop remote connection (must know must know);
  • cleanmgr: Disk clearing;
  • winver: Windows version view;
  • mmc: console;
  • nslookup: IP address detector;

If that’s not enough to get you running on your computer, you can customize.

Take the program you want to open by running a command, create a shortcut,

For example, the developer tool below, then give the shortcut an abbreviated name (to remember),

So let’s copy this shortcut toC:/WindowsDirectory, can be usedWindows+REnter the abbreviation of the shortcut name for quick access.

This step can also be achieved by setting environment variables. If you need to set environment variables, you can learn to set environment variables.

If that’s not enough effort, you can right-click on any shortcut and click on properties.

Set a shortcut key manually, such as Ctrl +Alt+D for VS, as shown in the following figure.

Every day at work, you turn on your computer, press a shortcut key, open VS, and you don’t have to touch a mouse for the rest of the day.

If you already have VSCODE open and the program is in position 1 on the taskbar, press Shift + Win + number to launch a new instance of the program locked to the taskbar at the position indicated by that number. This opens a new VSCODE.

Ctrl + Win key + number New to switch, change the above command Shift to Ctrl, switch to the last active window of the program locked to the taskbar, represented by the number.

What if you change CTRL to Alt again?

Fast closing and switching programs

As a programmer, you need to close a window quickly, or switch programs quickly, using the following command.

Win key + space transparent all Windows, quickly view the desktop, the disadvantage is that you have to press all the time.

Win key + D minimize all Windows, quickly view the desktop, press again to restore.

Win + M minimizes all Windows. Win + Shift + M restores minimized Windows to the desktop.

Win + Home hides all Windows except the current window. Click again to return.

Win key + arrow key used to know that the window to move to move the effect.

Win key +Tab key fancy effect.

Win key +T to switch Windows in the taskbar.

Win + 1, 2, 3, 4… Open the fixed program in the taskbar. 1 represents the first application icon in the taskbar. If not, switch the taskbar content by group.

Win + B this operation when you do not use the mouse, you will definitely use, select the tray area of the fold button, and then enter, after the arrow key can control the operation.

Alt+F4 Close the active project or exit the active program, exit instantly.

Other commonly used shortcuts

When you’re in a meeting, you’ll need to switch screens.

Win key +L lock screen, when you go to lunch, you will use.

Win key +E opens computer/Explorer.

Win+Break is very useful, but it’s up to you to find the location of the Break key, which displays the “System Properties” dialog box.

Win+ + evokes magnifying glass, zoom in, same thing, + -, zoom out.

Shift+F10 opens the right menu. Of course, there is also a right menu key on the keyboard between Ctrl and Alt on the right of the space.

Delete Deletes the selected item, the deleted file will be put into the recycle bin, Shift+Delete permanently deleted.

F1 ~ F12

  • F1: Help manual, you can read, sometimes very useful, any software can try.
  • F2: Renames the selected project
  • F3: Searches for files or folders

Other commands have different effects in different software.

Alt, Shift, Ctrl Related shortcut keys

The Shift, Alt, Ctrl keys on the keyboard are one of the more interesting keys because they are symmetrical.

Some key combinations are inconvenient to use with your left hand, but with your right, they’re much more convenient.

Alt +

Alt+ space +C suddenly closes the currently open window. Using only the left hand is very inconvenient, but pressing the right Alt key makes it much more comfortable.

Alt+ space +N minimizes the current window.

Alt+ space +R restores the window to the state before it was maximized.

The Alt+Tab window switches.

Alt+ Enter to view the selected file properties.

Press Alt in the software to activate the menu shortcut, as underlined in the image below.

Shift and Ctrl are more of a combination of quick actions in software that you can ignore on your computer.

Input method switching and screenshots

Switching input methods Everyone knows that you can press Ctrl+Shift on a keyboard or Ctrl+ space if you can’t, but few people know the difference.

  • Ctrl+Shift : Switching between input methods one by one, when multiple input methods exist;
  • Ctrl + space: Switching between input method and non-input method;
  • Shift + space: Switch between full Angle and half Angle.

In fact, Windows has a place to explain to us, open the input method Settings can be consulted.

Prtsc SysRq on the keyboard is a quick SCREEN capture. Of course, this key is also called PRINT SCREEN

The magic of this button is that when you have an extension screen, the extension screen can also be captured.


Maybe by the time I take my hands off the mouse, I’ll be a big programmer.