

Once you have your search results press the Tab key a few times to move down to the results windows and use the arrow keys and Enter key to choose your selection.

This feature allows you to search for any string across all your project documents abd can be very useful when you remember the name of a function you need to review but can’t remember which file it’s in! Shift + Ctrl + F opens the Global Find feature in the sidebar.
MICROSOFT VISUAL STUDIO HOTKEYS CODE
You’ve probably already discovered the search shortcut Ctrl-F, but did you know Visual Studio Code has different types of find features built-in?Ĭtrl + F as mentioned above this shortcut will find whatever you search for in the current file.Ĭtrl + H opens the find and replace feature, this has saved my fingers wear and tear on countless occasions after I’ve decided to rename a variable and now must track down and change all the references to the previous variable name! Once you’ve entered your replacement word press Enter to replace each occurrence of your search term one by one or press Ctrl + Alt + Enter to change them all at once. Top-Tip: These shortcuts also work in Zen Mode! Find, Global Find & Find and Replace Shift + Ctrl + X Launches the Extensions pane. Shift + Ctrl + D Launches the Debug pane. Shift + Ctrl + E Launches the explorer pane. The shortcuts for specific default sidebar windows are: Once the sidebar is open, you can grab its focus by pressing Ctrl + 0 and then navigating using the tab and the arrow keys, once you are done in the sidebar Ctrl + 1 will switch focus back to the code window. The command pallet is useful for quickly jumping around files, however, sometimes you want to quickly view the folder hierarchy of your project to double-check where things are saved or quickly remind yourself what changes you have staged.Ĭtrl + B toggles the sidebar this will open the last used sidebar window in this case the explorer window. This shortcut toggles you in and out of Zen Mode, Pressing Esc a few times will also back you out of Zen Mode. The shortcut is a bit tricky as it requires you to press Ctrl + K then release Ctrl + K and then press Z. Zen mode removes all UI elements including the application window borders and the OS taskbar and leaves you with just the active code window.

This is a big one for me, when I need to really dial in my focus on a problem I want as few distractions as possible. Typing? into the command pallet will show you a list of available commands you can execute from the current view: Zen Mode Here are a few of the most useful shortcuts you can use to open the command pallet for different uses.Ĭtrl + P will let you navigate to any file or symbol by typing its nameĬtrl + Shift + P will bring you directly to the editor commandsĬtrl + Shift + O will let you navigate to a specific symbol in a file You can quickly open files from here, search for symbols, and trigger editor commands all in the same window. The command palette is probably the most powerful shortcut in Visual Studio Code it is the gateway to all the functionality Visual Studio Code has to offer. This guide is going to cover my favorite shortcuts from this list and show you some examples of use. Microsoft provides this cool cheat sheet you can save to your desktop or print out and pin to your corkboard for quick reference. Your fingers will not only thank you after mastering just a few keyboard shortcuts, but you’ll boost your productivity and look like a Visual Studio Code wizard to anyone peering over your shoulder. It’s a great tool that enables a developer to focus on the task they have in front of them, but there are times when a developer gets slowed down like when they have to move from the keyboard to the mouse and then having to click through endless menus to find the file or feature they’re looking for. Updated content - Completely updated for 2021Ĭoncise- Content with respect for your time, The course focuses on explanations.Visual Studio Code is a feature-rich IDE that can be used for small personal projects and massive enterprise projects alike. This course stands out with many advantages and highlights: The instructor covered almost each and every important thing which a new student need to know about the visual studio code to start working with it, Welcome to my Visual Studio Code Complete course, where you will learn everything you need about this awesome tool! Why use one tool for your HTML and CSS, one for your back-end development, and another one for course control, when you can have everything you need in one single, fast and beautiful program: Visual Studio Code. In just 3 years, Visual Studio Code became the number 1 tool any programmer should use.Įven if you need a simple code editor, or a complex IDE, with rich features like Snippets, Git&GitHub, or debugger, VSCode is the tool you need.
