Code faster with these VS Code shortcuts

Sdílet
Vložit
  • čas přidán 10. 06. 2024
  • 🔥 My course: Responsive Design for Beginners! coder-coder.com/responsive/?u...
    💻 Become a full-stack web dev with Zero to Mastery: academy.zerotomastery.io/a/af...
    🎨 My VS Code theme: marketplace.visualstudio.com/...
    👕 Coder Coder merch: coder-coder.myspreadshop.com/
    🔽 FOLLOW CODER CODER
    Blog -- coder-coder.com/
    Twitter -- / thecodercoder
    Instagram -- / thecodercoder
    #css #javascript #html

Komentáře • 277

  • @sanketangane8658
    @sanketangane8658 Před 5 měsíci +153

    cntr + B : use for the show files.
    cntr + ~ : use for the open and closed terminal.
    cntr + P : use for the quick open menu.
    cntr + \ : use for split editor window.
    cntr + W : use for the closed file.
    cntr + shift + l : use select all matches and then edit or del.
    cntr + D : use for add selection to matches.
    shift + alt + down : use for the duplicates lines and paste it there down.

    • @vatsvlogs6110
      @vatsvlogs6110 Před 5 měsíci +5

      L*

    • @strategistaow3520
      @strategistaow3520 Před 4 měsíci +1

      2w ago cntr + b : use for the show files. cntr + ~ : use for the open and closed terminal. cntr + p : use for the quick open menu. cntr + \ : use for split editor window. cntr + w : use for the closed file. cntr + shift + 1 : use select all matches and then edit or del. cntr + d : use for add selection to matches. shift + alt + down : use for the duplicates lines and paste it there down. 15

    • @user-be2gl2gg4v
      @user-be2gl2gg4v Před 4 měsíci

      At 4:48 i ask my self whether we have a way to select multiple elements by using combined keyboard and mouse click (like when we select multiple folders in window)

    • @misfisito
      @misfisito Před měsícem

      thanks

    • @Sportgameww
      @Sportgameww Před 7 dny +1

  • @danielmadison4451
    @danielmadison4451 Před 6 měsíci +113

    I found out how to skip when using Ctrl-D. When you hit Ctrl-D and find a selection you want to skip, just hit Ctrl-K and Ctrl-D and it will deselect it. 🙂

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci +10

      Oh nice, thank you!

    • @robinheyer708
      @robinheyer708 Před 5 měsíci

      In my experience it's also better not to select the word you want to replace because parts of methods or texts might get selected as matches as well. Using Ctrl + D without highlighting the word first seems to do a far better job with finding matching strings.

    • @zura8635
      @zura8635 Před 4 měsíci +1

      You can also click and hold alt button and press selection with mouse button to deselect the selec

    • @Daddy12344
      @Daddy12344 Před 4 měsíci

      How to end and start new terminal. Like if I am using mongoose server than every time I have to close the terminal and start new terminal to test the result.

    • @user-be2gl2gg4v
      @user-be2gl2gg4v Před 4 měsíci

      At 4:48 i ask my self whether we have a way to select multiple elements by using combined keyboard and mouse click (like when we select multiple folders in window)

  • @hamed8945
    @hamed8945 Před 3 měsíci +1

    Your definitions are all convenient and easy to understand . You try to avoid complicating things and that is awesome . Thank you a lot

  • @ehhhhhhhhhh
    @ehhhhhhhhhh Před 5 měsíci +28

    My favorite: alt + leftarrow or alt + rightarrow. It's undo/redo for cursor location, so if you've gone down some rabbit hole reading two other files, you can jump back to the exact locations where your cursor was previously. Absolutely love it for reading code. You can also change the number of lines that any scrolling shortcut will scroll, so for example I have the command for "editorScroll" set to "halfPage".

    • @H3CUPS
      @H3CUPS Před dnem +1

      how to move the cursor left and right without the arrow keys as it is very annoying when you have to get out of a bracket and you have to lift your hand just to press that small right arrow key , can you tell which finger you guys use ? or is there a shortcut you guys use ?

  • @hani5229
    @hani5229 Před 5 měsíci +11

    You can also learn vim motions and use the vim motions extensions and customise all of your shortcuts

  • @josselogam
    @josselogam Před 12 dny +1

    Thank you very much when I think about shortcuts I always have to come back to this video!

  • @phucnguyen0110
    @phucnguyen0110 Před 5 měsíci +1

    Great video, Jessica! Even though other people have already done similar things, it's always nice to see this popping up once again

  • @denqi1
    @denqi1 Před 6 měsíci

    Thanks for these incredible shortcuts!

  • @Alejandro00710
    @Alejandro00710 Před 5 měsíci +2

    Ctrl/Cmd + Enter, didn't know and is a game changer, thank you.

  • @VermaAman
    @VermaAman Před 5 měsíci +16

    For opening another file in split view, you can use Ctrl+2 to split window instead of splitting current file. Also, Ctrl+J can be good alternative to Ctrl+`

    • @TheCoderCoder
      @TheCoderCoder  Před 5 měsíci +1

      Oh that's great, thank you for sharing!

  • @AllisonHammondAZAD
    @AllisonHammondAZAD Před 6 měsíci +2

    Shift + Alt + down => game-changer! Thanks Jess!

  • @solitarygrounds
    @solitarygrounds Před 2 měsíci

    ty for this im currently taking a coding course online and im watching them do these things and they never explain how they do it lol now i just gotta build up the muscle memory! :D

  • @Cocodrillo3011
    @Cocodrillo3011 Před 2 měsíci

    You're a life saver! Awesome video!

  • @max_u6052
    @max_u6052 Před 6 měsíci

    Very helpful, saves a ton of time. Thank you very much. 😊

  • @luciusrex
    @luciusrex Před 5 měsíci

    thanks for sharing! needed this!

  • @anotheryoutuberperson38
    @anotheryoutuberperson38 Před 3 měsíci

    OMG thank you!!! I learned so much ❤️

  • @fantasticpirate5196
    @fantasticpirate5196 Před 6 měsíci

    Thanks for everything Jess!

  • @arkapravabera3551
    @arkapravabera3551 Před 5 měsíci +1

    after a long i'm watching your video . I'm so glad that you're back . 😊😊 please upload more often . I love your videos . they help a lottttttt . Thank you 😊😊😊😊😊😊

  • @paultapping9510
    @paultapping9510 Před 5 měsíci +6

    ctrl+enter is an excellent tip, thank you!

    • @aromaldileep3386
      @aromaldileep3386 Před 4 měsíci

      I really needed that. It sounds silly, but it's true.

  • @iamtharunraj
    @iamtharunraj Před 27 dny

    Wow, this is super helpful! Thanks 😄

  • @zavioxx8670
    @zavioxx8670 Před 19 dny

    So Helpful!

  • @Mcoder2023
    @Mcoder2023 Před 5 měsíci +1

    You can find keyboard shortcuts reference in help menu

  • @kostadinhariskov6137
    @kostadinhariskov6137 Před měsícem

    Thank you. Very informative and strait to the point video.

  • @farzadbahadorifar1126
    @farzadbahadorifar1126 Před 6 měsíci

    thank you this video is really helpful for me.

  • @malamincamara5939
    @malamincamara5939 Před 6 měsíci +1

    I am soooooo happy for this video❤! It’s super useful, Thank you.

  • @user-nz7ww6lq1v
    @user-nz7ww6lq1v Před 2 měsíci

    Excellent as usual.

  • @shaikhfoysal4426
    @shaikhfoysal4426 Před 6 měsíci

    Good video. I know most of them few don't know. Thanks for sharing.

  • @abelbeyene868
    @abelbeyene868 Před 4 měsíci

    that was very helpful, thank you

  • @Benjamin-Chavez
    @Benjamin-Chavez Před 5 měsíci

    Subscribed. Thanks!

  • @Mahmudul_Hasan92
    @Mahmudul_Hasan92 Před měsícem

    Really helpful, thanks.

  • @anthonychan149
    @anthonychan149 Před 6 měsíci +13

    I tend to use vim/emac workflows directly on the systems i work with but with some of these tips + ssh capabilities of VS code, super cool stuff! Thanks for the vid!

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci +5

      niiiiice!! 🔥someday I need to level up and try vim 😅

    • @EmmanuelOloyede
      @EmmanuelOloyede Před 5 měsíci

      ​@@TheCoderCoderyou'd love it 😅

    • @sutirk
      @sutirk Před 5 měsíci

      ​@@TheCoderCoder Start with vim plugin on vscode, it could definitely improve your workflow even further by not having to move your hands to the arrow keys
      Fully configuring vim/neovim and getting used to it usually takes some time

  • @user-yz2mv8kn4x
    @user-yz2mv8kn4x Před 6 měsíci +1

    ty, learnt a few, will use in my workflow :) 🙏

  • @gauravmali6250
    @gauravmali6250 Před 5 měsíci

    That's cool , Thanks for sharing with us.

  • @arjunSingh-nh9sn
    @arjunSingh-nh9sn Před 4 měsíci

    this really helpful, love from India , thanks for sharing

  • @Milamor_
    @Milamor_ Před 6 měsíci

    Your videos are amazing 😊

  • @yahmk3978
    @yahmk3978 Před 5 měsíci

    Thank you very much!

  • @joey2545
    @joey2545 Před 6 měsíci +1

    Awesome video! Thanks for always making such great content. I was wondering what that LED box with the fire was behind your Bose speaker?

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci

      Thanks so much! The brand is called Tidbyt

  • @hassaneoutouaya
    @hassaneoutouaya Před 6 měsíci +1

    Thank you so much

  • @nandakresna41
    @nandakresna41 Před 6 měsíci

    Thanks a lot! I really need this ❤

  • @mohidenadam
    @mohidenadam Před 6 měsíci +7

    Cool tricks-thanks for sharing!
    Note: You can take this to the next level by combining Vim keymaps, such as splitting windows and scrolling up and down, etc. This way, you will rarely need a mouse when coding.

  • @felixgraphx
    @felixgraphx Před 5 měsíci +1

    I personally have set ctrl+shift+D to duplicate lines. Leaving ctrl d to add selection.

  • @MoonlitRitual
    @MoonlitRitual Před 3 měsíci

    I had a mindgasm. Thanks for the faster shortcuts

  • @datatech6589
    @datatech6589 Před 5 měsíci

    very HELPFUL thank you

  • @jackylam3322
    @jackylam3322 Před 6 měsíci +1

    So useful but most CZcamsr never mentioned❤❤ Thank you

  • @user-bh9ur3qq3v
    @user-bh9ur3qq3v Před 2 měsíci

    Brilliant!

  • @truemufti
    @truemufti Před 5 měsíci

    amazing shortcut.

  • @surajmaurya1515
    @surajmaurya1515 Před 15 dny

    Thank You👍👍

  • @acubley
    @acubley Před 5 měsíci

    Nice list. I, too, changed copy lines default shortcut. I came from Notepad++ and that was its shortcut.

  • @pranavgoel29
    @pranavgoel29 Před 6 měsíci +9

    I particularly love using Ctrl + D and Alt + down/up key, as always loved the transitions 😁
    you can also use ctrl + J for changing the terminal panel visibility, it will act as same as when we close that panel.
    Found myself some new shortcuts

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci +2

      oh nice, Ctrl + J is probably better than Ctrl+` for the whole panel. Thanks for watching!

    • @Striech
      @Striech Před 5 měsíci +1

      if you're already going to use Alt + down/up key, why not just use Shift + Alt + down/up key to duplicate as well? "technically that would be faster" ☝🤓

    • @TheCoderCoder
      @TheCoderCoder  Před 5 měsíci +1

      @@Striech that's a good point! 😅

  • @Tcrrxzz
    @Tcrrxzz Před 5 měsíci

    As a Python coder/programmer, I approve this video and do recommend this to HTML CSS and JavaScript coders. 😊

  • @pranavjoshi7697
    @pranavjoshi7697 Před 6 měsíci +1

    Thanks

  • @hxntw
    @hxntw Před 2 měsíci

    Thank you

  • @doudi0101
    @doudi0101 Před 4 měsíci

    thanks ❤

  • @tomzor8971
    @tomzor8971 Před 5 měsíci

    Thanks for this!! Do you have a video with the 'best' javascript setup? Which plugins etc? 🤔

  • @beingnoushad
    @beingnoushad Před 6 měsíci

    Aweome tricks and tips .

  • @mh_kohansal
    @mh_kohansal Před 4 měsíci

    thanks

  • @danielmadison4451
    @danielmadison4451 Před 6 měsíci +2

    Great shortcuts! Love your channel. I love love love the Ctr Enter to open a new line while STUCK in the current line. But here is one that is even better. Ctrl Shift Enter. It opens a line ABOVE your current line. Wow are these 2 the best ever. Can you tell me how to skip, i.e., not select an occurrence while typing Ctrl D?

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci

      They're a great combo! I don't know how to skip 😭

    • @colindante5164
      @colindante5164 Před 6 měsíci +1

      Ctrl + F ( Opens up the Find/Replace dialog box. Click arrow to the left of the dialog box to open up the "toggle Replace" field. ). Enter desired values in the "Find" and "Replace" fields. Alternatively, you could highlight the text you wish to change and press Ctrl + F and this populates the "Find" field with the highlighted text. Click the arrows to the far right of the dialog box to cycle through the selection instances and press the "Replace" button to change it's value. Just a side note but you could replace all values by clicking the "Replace All" button. Hope it wasn't too confusing. ))

    • @althaf9213
      @althaf9213 Před 5 měsíci +1

      I heard we can use Ctrl + K to skip when we multiple select by Ctrl+D. Like if it is helpful

  • @BudaSuyasa
    @BudaSuyasa Před 5 měsíci +1

    Even though i already fast by using vim extension, this tutorial is super awesome. That's visual on keypress so satisfying!

  • @stevenluoma1268
    @stevenluoma1268 Před 4 měsíci

    ctrl + shift + o is the default for the "search for symbol" so you don't have to do ctrl + p and then @.

  • @rendivs925
    @rendivs925 Před 6 měsíci +1

    thanks miss

  • @cihlacezet231
    @cihlacezet231 Před 4 měsíci

    Great video thnx for sharing. I will add one note. If you have AMD GPU and you are using "Adrenaline SW" the CTRL+SHIFT+L shortcut is not working because it is linked to some function in adrenanline. So you can use in VS code CTRL+F2 with same result (mark all ocurencies) or you can change or disable CTRL+SHIFT+L shortcut in adrenaline softtware.. ;) It took some hard time to me to find this.

  • @rigbyb
    @rigbyb Před 6 měsíci

    Thx very much

  • @ZephniStrife
    @ZephniStrife Před 2 měsíci

    Got excited about Ctrl + Enter to create a new line no matter where the cursor is within the previous line... but Copilot uses that shortcut for the multiple suggestions window :(
    Also, I used to use Ctrl + D to duplicate lines aswell... I think this may be because I came from "Sublime Text 2". But it helped in the end to just get used to using Alt + Shift + Down which is the default.

  • @mohsennoori1304
    @mohsennoori1304 Před 6 měsíci

    Nice, Programmers need these type of videos ❤

  • @angelethunder6723
    @angelethunder6723 Před 5 měsíci

    Quality coding content. Subbed !

  • @markgamboa8183
    @markgamboa8183 Před 5 měsíci

    Estoy en España y esta explicación me ha gustado, ya me suscribí.... Mil gracias, estoy empezando en programación. 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

  • @user-xq2wo4sp8q
    @user-xq2wo4sp8q Před měsícem

    realy helpfull

  • @zaidofficials
    @zaidofficials Před 6 měsíci +1

    I knew most of that but still helpfull.
    I'd like to add one more
    Ctrl + space = show suggestion
    Big fan sissy ❤

  • @wilhelmburger9588
    @wilhelmburger9588 Před 4 měsíci

    Thank you for these shortcuts. Made me use my mouse 500 times less every 30 minutes.

  • @MrAndrewsome
    @MrAndrewsome Před 4 měsíci

    🎉 I use them all

  • @strategistaow3520
    @strategistaow3520 Před 4 měsíci

    you should have also mention ctrl +z as it was bext thing i never knew that thing before i have coded for like 6 month without it and it was painful becauce teacher didnt used it proboble didnt knew

  • @salahdaniel
    @salahdaniel Před 5 měsíci +1

    hi
    what do you use to record ur screen ?

  • @lombervid
    @lombervid Před 6 měsíci

    Ctrl + K is used together with Ctrl + D, to skip one (the last) selection.

  • @tristanwait4itlegendary
    @tristanwait4itlegendary Před 3 měsíci

    Page down key is a Life saver

  • @Danione11
    @Danione11 Před 6 měsíci

    Welcome back coder : )

  • @tinaberry1355
    @tinaberry1355 Před 6 měsíci +1

    nice!

  • @ajayvadadre7660
    @ajayvadadre7660 Před 6 měsíci +1

    What camera do u use?

  • @judyodiakose6838
    @judyodiakose6838 Před 6 měsíci +2

    Great video... You can use Ctrl left or right arrow to move between words faster

    • @TheCoderCoder
      @TheCoderCoder  Před 6 měsíci +2

      That's a great one! I use it a lot 🔥

  • @kanokfaisalhaque8890
    @kanokfaisalhaque8890 Před 5 měsíci

    Assalamu walaikum.. Those are really great . thank you

  • @bhaveshbhingradiya2329
    @bhaveshbhingradiya2329 Před 3 měsíci

    very good

  • @cosecseccot
    @cosecseccot Před 5 měsíci +1

    Even better would be to install the vim plugin

  • @akhintheruvath
    @akhintheruvath Před 4 měsíci

    ctrl + shift + Enter to insert a line above

  • @joeneuman3799
    @joeneuman3799 Před 2 měsíci

    When I'm typing code in like a function Name( | ) I find myself stuck between the two ( ). How do I quickly get out past the last ) without clicking the End button on my keyboard?

  • @PeterRobinson-bk2hk
    @PeterRobinson-bk2hk Před 2 měsíci

    Pls I must ask wasn't davinci resolve you use to edit your video

  • @tanuj05
    @tanuj05 Před 5 měsíci

    Nice video

  • @TECHJOSEPH2006
    @TECHJOSEPH2006 Před 4 měsíci

    I need a Shortcut to jump to middle of next tag in vscode visual studio, thanks

  • @systemhacker
    @systemhacker Před 5 měsíci

    How to switch focus from editor to terminal and vice versa?

  • @programmersohel
    @programmersohel Před 6 měsíci

    Great!

  • @KhalidKhan-sb1xm
    @KhalidKhan-sb1xm Před 4 měsíci

    is there any shortcut for looking at camera and the screen

  • @sudeepmaharjan6378
    @sudeepmaharjan6378 Před 6 měsíci

    Perfect.

  • @mounirsud12
    @mounirsud12 Před 6 měsíci +1

    thank you

  • @birsingh5388
    @birsingh5388 Před 5 měsíci

    I like your snake plant behind your chair 😊

  • @AndriusRacing
    @AndriusRacing Před 3 měsíci

    im wondering is there shortcut to quit parenthesis without pressing arrow keys? thanks ☺

  • @sevenseen
    @sevenseen Před 2 měsíci

    [cmd] + [`~] didn't work on my mac... is it something i have to add myself, or is it supposed to be native?

  • @HikaruAkitsuki
    @HikaruAkitsuki Před 4 měsíci

    It's kinda different on Linux both in Fedora and Debian/Ubuntu a little bit. Since I use alternatively sometimes, I'm still stumbled.

  • @maheh360
    @maheh360 Před 6 měsíci

    WOW thank you so much maam😍👑❤

  • @sarojregmi200
    @sarojregmi200 Před 6 měsíci +4

    First few lines of this video, are the very reason people go with vim and nvim or emacs.
    Great video.

  • @user-bv2rd6nl2x
    @user-bv2rd6nl2x Před 6 měsíci +1

    Nice

  • @amdadullahraihan7694
    @amdadullahraihan7694 Před 6 měsíci

    Cntr+Enter is more efficient than manually moving the cursor.

  • @themarksmith
    @themarksmith Před 5 měsíci

    crazy usefil!