Level Up Your VSCode Game: 5 Must-know Shortcuts

Published 2024-05-07

All Comments (21)
  • @KoshikPanchal
    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 ❤️💫
  • @k303k
    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?
  • @RobbPage
    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?
  • @Blue-pd3dv
    All of these shortcuts are impressive and useful, but the problem is most people, including me, cannot remember it when it's needed 😅
  • @vb_gh
    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.
  • @nascentnaga
    in windows CTRL-ALT-R to open the window where your explorer is
  • @NaftuliSinger
    Thank you! Will those shortcuts work in Visual Studio as well?
  • @MrPratitb
    ctrl enter for a new line below, ctrl shift for new line above, shift alt down/up to copy the current line
  • @dnjosh10
    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?
  • @iamtharunraj
    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
  • @leogg7964
    thanks mosh for this awesome video ❤
  • @imanlakhani9560
    Use Alt + arrow up or down to move the code line up or down instead of cut paste
  • @yannis-markou
    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.
  • @krivvysann5091
    This was helpful as we might find hard to code when it comes to program with any kind of editors. Thanks for the upload!😎