

After finishing this tutorial, you’ll have a variety of tools to help you be more productive using VS Code. In this tutorial, you’re going to look at how to get the most out of VS Code for Python development.ĭuring this tutorial, you’ll learn how you can configure, extend, and optimize VS Code for a more effective and productive Python development environment.

You can use VS Code as a lightweight code editor to make quick changes, or you can configure it as an integrated development environment (IDE) through the use of third-party extensions. :) Extrasĭay 31- Open Debug window: + ĭay 32 - See recent git changes: + ĭay 33 - Switch to another open project: + + (previous or next project depending on right or left bracket)ĭay 34- Execute (i.Visual Studio Code, or VS Code for short, is a free and open source code editor by Microsoft.

If I find some more shortcuts I like, I’ll try and keep bringing them here. So here we have our 30 days done! Awesome! However, as I enjoyed doing this I actually did a bit more than 30 shortcuts, those which I also have here under the Extras section below. (Ah, wait, just another thing! Whenever you see + after Command or Control it means And, so I’m just saying you should type that key *And* the one mentioned after it.)ĭay 1 - Open Settings Terminal: + ĭay 2 - Open Project Left Side Tree: + ĭay 3 - Run application (or whatever is the last thing you ran): + ĭay 4 - Run application in debug mode: + ĭay 5 - Stop program execution: + ĭay 7 - Create new package, class or file: + (after having the parent folder selected)ĭay 8 - Open DB properties: + ĭay 9 - Close current tab: + ĭay 10 - Navigate to current file on left tree: + then ĭay 11 - Add file to Git: + + ĭay 13 - Reformat code: + + ĭay 14 - Create variable: + + (if used within the pom file it can also extract pom properties)ĭay 15- Add and/or remove debug breakpoint: + (with line selected)ĭay 16- Optimize import: + + ĭay 17 - Reload maven pom file: + + ĭay 18 - Surround code by if, if else or try and catch, etc: + + ĭay 21 - Duplicate line or selected group: + ĭay 22 - Navigate to class or method declaration: + ĭay 23 - Navigate to implementation: + + ĭay 24 - Hide active panel: + ĭay 25 - Close all panels: + + ĭay 26 - See recent locations: + + (twice for filtering for edited files)ĭay 27- Fold all methods: + + ĭay 28- Unfold all methods: + + ĭay 29- Navigate to top of the file: + + ĭay 30 - Navigate to bottom of the file: + + Anyways, let’s not delay this any longer. If you’re using a different keymap or a Windows or Linux machine, your keyboard shortcuts may be a bit different, but I’m sure just a bit of Googling would be enough to help you find the corresponding shortcuts for your specific machine/keymap.Īnd it’s also worth it noting that it’s possible to create custom shortcuts as well.
