Level Up Your VSCode Game: 5 Must-know Shortcuts
30,799
Published 2024-05-07
✋ Stay connected
- Twitter: twitter.com/moshhamedani
- Facebook: www.facebook.com/programmingwithmosh/
- Instagram: www.instagram.com/codewithmosh.official/
- LinkedIn: www.linkedin.com/school/codewithmosh/
#vscode #coding #programming
All Comments (21)
-
Hey Mosh! Big fan of your work! Because of you I’m frontend developer and done a lot of projects. Thank you so much for this. Lets learn and grow together ❤️💫
-
Hello Mosh.After taking your Js,Ts ,React and Nextjs course I got a job as a Frontend Developer. Can i kindly request for next Nextjs course with big project and React Native with TypeScript course sir?
-
your first one, multi-cursor editing. you can also just hold ALT and click with your mouse and it will add a cursor wherever you click. not sure what the alt key is on mac. option maybe?
-
All of these shortcuts are impressive and useful, but the problem is most people, including me, cannot remember it when it's needed 😅
-
if you like mosh's courses, hit a like 👍, let us see
-
1. F2 to rename symbols in every file. If you have a variable, function, etc exported to other files and you want to rename it all at one go, just use f2 and type the new name. It will rename the function in all files that use it at once. 2.If you have a few lines of code you want to wrap in a trycatch or if block, just highlight the lines of code and just start typing “trycatch” and select the vscode suggestion. It will wrap the code you highlighted in the trycatch block. Note that the lines of code have to be together and not have some unhighlighted code between them. Also note that it works with other block like snippets in vscode for other languages too. 3. Use cmd + alt and left or right arrows to move between multiple opened editor tabs. It reduces mouse time.
-
in windows CTRL-ALT-R to open the window where your explorer is
-
Thank you! Will those shortcuts work in Visual Studio as well?
-
ctrl enter for a new line below, ctrl shift for new line above, shift alt down/up to copy the current line
-
Thanks boss for the useful tips. I'm having difficulty in my vs-code terminal. The slowness is out of this world. Any tip on how to make it faster?
-
The Ctrl+ T shortcut is something that will help me a lot. Thank you so much for this video! 😊
-
My favorite teacher is on fire again. Thanks Mosh! 🔥 I hope you make a tutorial on how to think like a programmer and solve any kind of problems. I request this only to you because I love your teaching style. More subscribers!
-
Thank a lot mosh, I have watch a lot of your courses and now i got a job as Backend Developer, In next course can i request for NEST JS COURSE
-
Helpful
-
thanks mosh for this awesome video ❤
-
Use Alt + arrow up or down to move the code line up or down instead of cut paste
-
Thanks a lot for the super helpful video! Especially the integrated terminal shortcut is something I've been searching for a while,. I 've been using the integrated terminal but wanted a quick way to switch between editor pane and the terminal window without using the mouse.
-
I still need the shortcut to run the script. Someone said alt+f5 but it still brings up a menu that I have to scroll through to get to the run button. I just want a fast shortcut to run my program without using mouse.
-
The first shortcut impressed me and I always looked for such an easier way like that.
-
This was helpful as we might find hard to code when it comes to program with any kind of editors. Thanks for the upload!😎