This is one of those features that took me awhile to discover, because I simply couldn't guess the name of this feature.
VISUAL STUDIO SHORTCUTS KEYS CODE
You might have seen this from the windows Task Manager which can be used when pressing Ctrl + Alt + Delete outside of your VS code editor. Process Explorerĭo you find your VS code editor a bit slow sometimes? Ever wished you can take a peek at what is eating up your memory? Well if you haven't known this already VS code has a Process Explorer feature which will allow you to open up a window as shown below: You don't have to be using the material theme to use this feature! 3. That's because with the Material Theme extension installed, the feature is available throughout all of your themes. I'm not using Material Theme in that example. So if you have the extension, open up your command palette (Ctrl + Shift + P), select Material Theme: Set accent color and choose a color from the list, it will change the underlining color of your tabs as shown below:īut wait a minute.
There are 16 different colors you can choose from! Setting Accent Color For Tabs (Material Theme-not exclusive)Īre you tired of seeing the same accent color for tabs everyday? If you're using the Material Theme extension for VS code, you can actually choose a custom accent color for your tabs to look like this: This feature can save you and your team a ton of time in the most timely pressured situations. If you click this tiny arrow at the left, it will bring up a second input box below where you can input the text to replace all along with clicking the tiny box that appears to the right: You can also replace all the matching texts in each resulting file at once in the blink of a second. It will show this sidebar to the left of your editor:īy typing in a text and pressing enter, VS code will provide you a list of results matching the text like below: To use this feature, you can open up the view by pressing Ctrl + Shift + F. One of my favorite features of VS code is having the ability to search any matching text throughout all of your files in the project directory. Search Text Through All Files At Once (Windows: Ctrl + Shift + F, Mac: Control + Shift + F) Here are 21 VS Code Shortcuts To Code Faster and Funner: 1. Watching your time get cut in half makes me feel proactive :) I personally think it makes coding a lot funner when applying these shortcuts.
In this post I will list my top favorite shortcuts that make me a faster coder. In addition, a lot of the points listed in this article can be custom bound to a keyboard shortcut, so remember that you don't have to be opening up the command palette everytime you want to invoke a command. Not everyone has time to go through every shortcut to find the ones that help them code faster and funner-because there's just too many! That's great but there's a slight chance you might be missing out on some of the shortcuts that VS code offers, even if its just one. Now you have a quick way of getting to your own cheat sheet of shortcuts.So you've installed some great tools or extensions to accelerate your development flow and are having a great time. Now when I click on my ‘Shortcuts’ on my Visual Studio menu, my document will launch for quick access. I put mine next to the Help menu, of course you can place it anywhere you’d like.
Once Selected, highlight the External Command and click on the Move Down button until it’s at the end of your menu items.Scroll down to Tools on the left plane and then select the External Command and the proper number from step 3.Click on the Commands tab and then click on Add Command.Right click on the space next to the Help menu item and then at the bottom click on Customize. Now we need to add it to our menu bar.In this case I am using Word (winword.exe). Fill in the appropriate Command and Arguments.(We’ll need that position number for later). In my example below I called my shortcut ‘Shortcuts’ and it’s in the 4th position. Create a new menu and note what position it is on the list of entries.Next, from within Visual Studio go to Tools –> External Tools.
Start by creating a Word document (or other file) that will contain your notes (your cheat sheet).All you have to do is create an external menu item. And you can do this with a Word document, Excel spreadsheet, OneNote, etc. I recently decided it might be better to just create an option right in the Visual Studio Menu bar that would allow me to gain access to that same Word document with one click. How many productive Microsoft Visual Studio shortcut keys have you learned but managed to forget? I used to have a shortcut key created using AutoHotkey that would allow me to get to a Word document with a collection of (less often used) shortcuts as a cheat sheet.