Code faster with these VS Code shortcuts

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 มิ.ย. 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

ความคิดเห็น • 273

  • @sanketangane8658
    @sanketangane8658 5 หลายเดือนก่อน +147

    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 5 หลายเดือนก่อน +5

      L*

    • @strategistaow3520
      @strategistaow3520 4 หลายเดือนก่อน +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 4 หลายเดือนก่อน

      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 29 วันที่ผ่านมา

      thanks

    • @Sportgameww
      @Sportgameww 17 ชั่วโมงที่ผ่านมา +1

  • @danielmadison4451
    @danielmadison4451 5 หลายเดือนก่อน +112

    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  5 หลายเดือนก่อน +10

      Oh nice, thank you!

    • @robinheyer708
      @robinheyer708 5 หลายเดือนก่อน

      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 4 หลายเดือนก่อน +1

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

    • @Daddy12344
      @Daddy12344 4 หลายเดือนก่อน

      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 4 หลายเดือนก่อน

      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)

  • @ehhhhhhhhhh
    @ehhhhhhhhhh 5 หลายเดือนก่อน +26

    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".

  • @hamed8945
    @hamed8945 3 หลายเดือนก่อน +1

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

  • @hani5229
    @hani5229 5 หลายเดือนก่อน +11

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

  • @josselogam
    @josselogam 5 วันที่ผ่านมา +1

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

  • @Alejandro00710
    @Alejandro00710 5 หลายเดือนก่อน +2

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

  • @AllisonHammondAZAD
    @AllisonHammondAZAD 5 หลายเดือนก่อน +2

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      haha no problem!

  • @phucnguyen0110
    @phucnguyen0110 5 หลายเดือนก่อน +1

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      Glad you enjoyed it!

  • @denqi1
    @denqi1 5 หลายเดือนก่อน

    Thanks for these incredible shortcuts!

  • @solitarygrounds
    @solitarygrounds หลายเดือนก่อน

    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

  • @VermaAman
    @VermaAman 5 หลายเดือนก่อน +15

    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  5 หลายเดือนก่อน +1

      Oh that's great, thank you for sharing!

  • @max_u6052
    @max_u6052 5 หลายเดือนก่อน

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

  • @arkapravabera3551
    @arkapravabera3551 5 หลายเดือนก่อน +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 😊😊😊😊😊😊

  • @anotheryoutuberperson38
    @anotheryoutuberperson38 3 หลายเดือนก่อน

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

  • @luciusrex
    @luciusrex 5 หลายเดือนก่อน

    thanks for sharing! needed this!

  • @fantasticpirate5196
    @fantasticpirate5196 5 หลายเดือนก่อน

    Thanks for everything Jess!

  • @Cocodrillo3011
    @Cocodrillo3011 2 หลายเดือนก่อน

    You're a life saver! Awesome video!

  • @paultapping9510
    @paultapping9510 5 หลายเดือนก่อน +6

    ctrl+enter is an excellent tip, thank you!

    • @aromaldileep3386
      @aromaldileep3386 3 หลายเดือนก่อน

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

  • @iamtharunraj
    @iamtharunraj 20 วันที่ผ่านมา

    Wow, this is super helpful! Thanks 😄

  • @malamincamara5939
    @malamincamara5939 5 หลายเดือนก่อน +1

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      awesome, glad you found this helpful!

  • @kostadinhariskov6137
    @kostadinhariskov6137 หลายเดือนก่อน

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

  • @shaikhfoysal4426
    @shaikhfoysal4426 5 หลายเดือนก่อน

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

  • @mohidenadam
    @mohidenadam 5 หลายเดือนก่อน +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.

  • @Tcrrxzz
    @Tcrrxzz 5 หลายเดือนก่อน

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

  • @farzadbahadorifar1126
    @farzadbahadorifar1126 5 หลายเดือนก่อน

    thank you this video is really helpful for me.

  • @anthonychan149
    @anthonychan149 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +5

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

    • @EmmanuelOloyede
      @EmmanuelOloyede 5 หลายเดือนก่อน

      ​@@TheCoderCoderyou'd love it 😅

    • @sutirk
      @sutirk 5 หลายเดือนก่อน

      ​@@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

  • @arjunSingh-nh9sn
    @arjunSingh-nh9sn 4 หลายเดือนก่อน

    this really helpful, love from India , thanks for sharing

  • @user-yz2mv8kn4x
    @user-yz2mv8kn4x 5 หลายเดือนก่อน +1

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      Glad this could help!

  • @zavioxx8670
    @zavioxx8670 12 วันที่ผ่านมา

    So Helpful!

  • @felixgraphx
    @felixgraphx 5 หลายเดือนก่อน +1

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

  • @jackylam3322
    @jackylam3322 5 หลายเดือนก่อน +1

    So useful but most TH-camr never mentioned❤❤ Thank you

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      Glad this could help!

  • @acubley
    @acubley 5 หลายเดือนก่อน

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน +1

      I used to use Notepad++ too!

  • @abelbeyene868
    @abelbeyene868 3 หลายเดือนก่อน

    that was very helpful, thank you

  • @MoonlitRitual
    @MoonlitRitual 2 หลายเดือนก่อน

    I had a mindgasm. Thanks for the faster shortcuts

  • @gauravmali6250
    @gauravmali6250 5 หลายเดือนก่อน

    That's cool , Thanks for sharing with us.

  • @joey2545
    @joey2545 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

      Thanks so much! The brand is called Tidbyt

  • @tomzor8971
    @tomzor8971 5 หลายเดือนก่อน

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

  • @nandakresna41
    @nandakresna41 5 หลายเดือนก่อน

    Thanks a lot! I really need this ❤

  • @Benjamin-Chavez
    @Benjamin-Chavez 5 หลายเดือนก่อน

    Subscribed. Thanks!

  • @yahmk3978
    @yahmk3978 5 หลายเดือนก่อน

    Thank you very much!

  • @user-nz7ww6lq1v
    @user-nz7ww6lq1v 2 หลายเดือนก่อน

    Excellent as usual.

  • @hassaneoutouaya
    @hassaneoutouaya 5 หลายเดือนก่อน +1

    Thank you so much

  • @pranavgoel29
    @pranavgoel29 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +2

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

    • @Striech
      @Striech 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +1

      @@Striech that's a good point! 😅

  • @Mcoder2023
    @Mcoder2023 5 หลายเดือนก่อน +1

    You can find keyboard shortcuts reference in help menu

  • @datatech6589
    @datatech6589 4 หลายเดือนก่อน

    very HELPFUL thank you

  • @Milamor_
    @Milamor_ 5 หลายเดือนก่อน

    Your videos are amazing 😊

  • @truemufti
    @truemufti 5 หลายเดือนก่อน

    amazing shortcut.

  • @Mahmudul_Hasan92
    @Mahmudul_Hasan92 หลายเดือนก่อน

    Really helpful, thanks.

  • @user-bh9ur3qq3v
    @user-bh9ur3qq3v หลายเดือนก่อน

    Brilliant!

  • @cihlacezet231
    @cihlacezet231 4 หลายเดือนก่อน

    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.

  • @pranavjoshi7697
    @pranavjoshi7697 5 หลายเดือนก่อน +1

    Thanks

  • @surajmaurya1515
    @surajmaurya1515 8 วันที่ผ่านมา

    Thank You👍👍

  • @doudi0101
    @doudi0101 4 หลายเดือนก่อน

    thanks ❤

  • @mohsennoori1304
    @mohsennoori1304 5 หลายเดือนก่อน

    Nice, Programmers need these type of videos ❤

  • @BudaSuyasa
    @BudaSuyasa 5 หลายเดือนก่อน +1

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

  • @hxntw
    @hxntw 2 หลายเดือนก่อน

    Thank you

  • @markgamboa8183
    @markgamboa8183 4 หลายเดือนก่อน

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

  • @stevenluoma1268
    @stevenluoma1268 4 หลายเดือนก่อน

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

  • @danielmadison4451
    @danielmadison4451 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

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

    • @colindante5164
      @colindante5164 5 หลายเดือนก่อน +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 5 หลายเดือนก่อน +1

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

  • @lombervid
    @lombervid 5 หลายเดือนก่อน

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      Cool! Thanks for sharing it!

  • @mh_kohansal
    @mh_kohansal 4 หลายเดือนก่อน

    thanks

  • @wilhelmburger9588
    @wilhelmburger9588 4 หลายเดือนก่อน

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

  • @beingnoushad
    @beingnoushad 5 หลายเดือนก่อน

    Aweome tricks and tips .

  • @salahdaniel
    @salahdaniel 5 หลายเดือนก่อน +1

    hi
    what do you use to record ur screen ?

  • @rigbyb
    @rigbyb 5 หลายเดือนก่อน

    Thx very much

  • @zaidofficials
    @zaidofficials 5 หลายเดือนก่อน +1

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

  • @ajayvadadre7660
    @ajayvadadre7660 5 หลายเดือนก่อน +1

    What camera do u use?

  • @rendivs925
    @rendivs925 5 หลายเดือนก่อน +1

    thanks miss

  • @SST0087
    @SST0087 2 หลายเดือนก่อน

    Excuse me if the comment is irrelevant, to the video.
    But i started using vs code for python lately, and i noticed that the code runs much slower on debug mode. This is a problem to me as my codes can take too long already. so if i wanted to debug the last lines it would take much time for the debugger to get to the breakpoint.
    Is there a way for the debugger to run as fast as the regular run?

  • @Danione11
    @Danione11 5 หลายเดือนก่อน

    Welcome back coder : )

  • @PeterRobinson-bk2hk
    @PeterRobinson-bk2hk 2 หลายเดือนก่อน

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

  • @ZephniStrife
    @ZephniStrife 2 หลายเดือนก่อน

    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.

  • @MrAndrewsome
    @MrAndrewsome 4 หลายเดือนก่อน

    🎉 I use them all

  • @programmersohel
    @programmersohel 5 หลายเดือนก่อน

    Great!

  • @sarojregmi200
    @sarojregmi200 5 หลายเดือนก่อน +4

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

  • @angelethunder6723
    @angelethunder6723 5 หลายเดือนก่อน

    Quality coding content. Subbed !

  • @tinaberry1355
    @tinaberry1355 5 หลายเดือนก่อน +1

    nice!

  • @kanokfaisalhaque8890
    @kanokfaisalhaque8890 5 หลายเดือนก่อน

    Assalamu walaikum.. Those are really great . thank you

  • @abanoubmaher6273
    @abanoubmaher6273 5 หลายเดือนก่อน

    thank you ❤
    what is the theme name you using in vs code

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน

      Coder Coder Dark 😁

  • @user-xq2wo4sp8q
    @user-xq2wo4sp8q หลายเดือนก่อน

    realy helpfull

  • @sudeepmaharjan6378
    @sudeepmaharjan6378 5 หลายเดือนก่อน

    Perfect.

  • @sevenseen
    @sevenseen 2 หลายเดือนก่อน

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

  • @strategistaow3520
    @strategistaow3520 4 หลายเดือนก่อน

    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

  • @akhintheruvath
    @akhintheruvath 4 หลายเดือนก่อน

    ctrl + shift + Enter to insert a line above

  • @judyodiakose6838
    @judyodiakose6838 5 หลายเดือนก่อน +2

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

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน +2

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

  • @tristanwait4itlegendary
    @tristanwait4itlegendary 2 หลายเดือนก่อน

    Page down key is a Life saver

  • @joeneuman3799
    @joeneuman3799 2 หลายเดือนก่อน

    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?

  • @user-bv2rd6nl2x
    @user-bv2rd6nl2x 5 หลายเดือนก่อน +1

    Nice

  • @KhalidKhan-sb1xm
    @KhalidKhan-sb1xm 4 หลายเดือนก่อน

    is there any shortcut for looking at camera and the screen

  • @maheh360
    @maheh360 5 หลายเดือนก่อน

    WOW thank you so much maam😍👑❤

    • @TheCoderCoder
      @TheCoderCoder  5 หลายเดือนก่อน +1

      You're welcome!

  • @TECHJOSEPH2006
    @TECHJOSEPH2006 4 หลายเดือนก่อน

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

  • @bhaveshbhingradiya2329
    @bhaveshbhingradiya2329 3 หลายเดือนก่อน

    very good

  • @systemhacker
    @systemhacker 4 หลายเดือนก่อน

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

  • @yalmeme
    @yalmeme 4 หลายเดือนก่อน +1

    after ctrl + up/down, how do I focus on for example center of area, visible in current moment? without mouse

  • @amdadullahraihan7694
    @amdadullahraihan7694 5 หลายเดือนก่อน

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

  • @srinadh1064
    @srinadh1064 3 หลายเดือนก่อน

    what is the theme you are using?

  • @teachitkh
    @teachitkh 5 หลายเดือนก่อน

    great

  • @nabil731
    @nabil731 14 วันที่ผ่านมา

    Which theme did you use?

  • @lancetv4826
    @lancetv4826 2 หลายเดือนก่อน +1

    Just learned ctrl + Enter from this video and it was life changing