Code faster with these VS Code shortcuts

Поділитися
Вставка
  • Опубліковано 4 чер 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 місяців тому +148

    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 Місяць тому

      thanks

    • @Sportgameww
      @Sportgameww День тому +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 місяців тому +27

    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 6 днів тому +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!

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

  • @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 21 день тому

    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 :) 🙏

  • @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 UA-camr never mentioned❤❤ Thank you

  • @acubley
    @acubley 5 місяців тому

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

  • @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 2 місяці тому

    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.

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

  • @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😍👑❤

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