![]() ![]() If you want to quickly remove a line of code. Not holding Shift won't select anything, but rather makes the cursor jump through the text. Quick hint: Try playing around with Ctrl+Shift or simply Ctrl only. Practicing for some days helps to master the art of writing code without touching the mouse! When your inside your code, and quickly want to select a some expressions or one or two lines, you can navigate the cursor with Ctrl+Shift Arrow Keys jumping over single words or up and down the lines. Plus, everyone has to figure out if they like it. Okay, that's a handy one, but it's not really a feature of VS Code itself, but common in all text editors. Sometimes for comparison or sometimes for a quick reference! 7. When having multiple editors open you eventually want to inspect and/or work on two (.or more) files at once. just kidding! At the end of the demo below you get a glimpse of the next handy shortcut. Of course, your VS Code is massively full of open editor tabs, so switching between them quickly can be quite a time-saver! The ultimate rule is to never ever touch your mouse! With Ctrl+Tab you can throw your mouse out. It also shows you a list of all symbols in the file. It allows you to search for symbols ocurring in the file currently displayed. This shortcut opens the prompt adding to the beginning. ![]() It's even more powerful when the project adapted a special naming convention for all files depending on their purpose. This shortcut is similar to the one above except it searches the project only by file name, not the whole content of each file. voila! Ctrl+Shift+F comes to the rescue! 3. It saved me a bunch of time already, because I don't have to search manually anymore! Imagine you notice a typo on your own website, but you didn't remember where exactly the text has been written. Sometimes, I have only some keywords in mind thinking hard where I could find those inside my codebase. This is my favorite shortcut for finding any text throughout my whole project. You can see from the image that it's useful to open up the settings, start a debug session or run npm scripts directly. Most frequently used by me for quickly opening (another) integrated terminal in VS Code. Show all Commands - and search for Commands Soo, I made a small list of VS Code shortcuts helping to keep up the positive flow while coding - hands on the keyboard! 1. Switching frequently between keyboard and mouse can be quite exhausting and kill your fluent process over and over again. Writing code is probably the most complex task in the world, it requires physical engagement, focus, a clear and undisturbed mind in order to fully immerse oneself in the process. 9 VS Code Shortcuts for faster programming ![]()
0 Comments
Leave a Reply. |