Issue #65 (CTRL/CMD-R & CTRL/CMD-Q Shortcuts)07/19/23
It's always important to know specific shortcuts in your IDE and of course VS Code is no different. I generally find it difficult to remember too many shortcuts, especially if I don't use them often. But here are two shortcuts that are great to know for quickly navigating in your editor.
First there's
CTRL/CMD-R. This shortcut is
an extension of the "Open Recent" menu item in VS Code's File menu. You'll notice if you choose File → Open Recent, there's an option at the bottom of that menu called "More..." This is the equivalent of CTRL/CMD-R.
When you use CTRL-R directly, you go straight to that "More..." menu option without having to clumsily use your File menu. This allows you to then use your keyboard to navigate through your recently opened files and projects in this drawer-like panel and hit enter to select the one you want to open.
You can also do a text search for the project you want and you have the option to use CTRL/CMD-Enter to open in a new window or just select to open in the same window (the instructions in the search box say to use ALT but I don't see how that's different from just selecting a file).
That's an easy way to navigate your recently opened items. But you can also use CTRL/CMD-Q to navigate the different panels in VS Code. Hit this shortcut and you'll see a keyboard-friendly way to access any part of your VS Code window (file explorer, extensions, debug console, terminal, etc., all divided by sections).
Once this menu/drawer is open, you'll have to continue holding CTRL/CMD after which you can repeat the same shortcut to progress down the list or use your up/down arrow keys.
That's two handy ways to navigate without your mouse, which should save you lots of time when switching between files, projects, or even moving around your VS Code window's panels.
Now on to this week's hand-picked links!