Code faster with these VS Code shortcuts

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 307

  • @sanketangane8658
    @sanketangane8658 Год назад +259

    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.

    • @strategistaow3520
      @strategistaow3520 11 месяцев назад +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

    • @vietnguyen-l4j2x
      @vietnguyen-l4j2x 10 месяцев назад

      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 7 месяцев назад

      thanks

    • @Sportgameww
      @Sportgameww 6 месяцев назад +1

    • @Programmerevangadi
      @Programmerevangadi 4 месяца назад

      Ctr + sht+ L= select all matches

  • @strategistaow3520
    @strategistaow3520 11 месяцев назад +4

    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
    shift+ alt = arrow right to select whole parent

  • @ehhhhhhhhhh
    @ehhhhhhhhhh Год назад +47

    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 6 месяцев назад +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 ?

    • @magia136
      @magia136 5 месяцев назад

      I use my mouse 4 and mouse 5 button for this

    • @tuananhdo1870
      @tuananhdo1870 Месяц назад

      I think the commands is: go back to navigation locations (correct me if I am wrong)

    • @ehhhhhhhhhh
      @ehhhhhhhhhh Месяц назад

      @@tuananhdo1870 Yes, searching VS Code's shortcut keys, you can locate my suggestion by searching for "canNavigateBack" and "canNavigateForward". In my editor, these are bound to alt+LeftArrow and alt+RightArrow. Really useful shortcut keys for switching between multiple locations within VS projects.

  • @hamed8945
    @hamed8945 9 месяцев назад +2

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

  • @VermaAman
    @VermaAman Год назад +18

    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  Год назад +2

      Oh that's great, thank you for sharing!

  • @jasoncabreros
    @jasoncabreros Месяц назад

    I'm so glad I found this video again! I was using your modified 'copy line down' shortcut all the time on my old computer. Just got a new computer, set up VS Code and was using 'duplicate selection', thinking it was the same thing. I couldn't figure out why the duplicated code pasted in at the end of the original code instead of a new line.

  • @Kiwhiz
    @Kiwhiz Месяц назад

    Thank you so much for these useful tips. I had been trying to figure out how to make changes in my code in different lines typing just once and had already given up trying when I found your video - it's going to save me a lot of time.

  • @danielmadison4451
    @danielmadison4451 Год назад +162

    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  Год назад +16

      Oh nice, thank you!

    • @robinheyer708
      @robinheyer708 Год назад +1

      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 11 месяцев назад +5

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

    • @Daddy12344
      @Daddy12344 10 месяцев назад

      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.

    • @vietnguyen-l4j2x
      @vietnguyen-l4j2x 10 месяцев назад

      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)

  • @paultapping9510
    @paultapping9510 Год назад +14

    ctrl+enter is an excellent tip, thank you!

    • @aromaldileep3386
      @aromaldileep3386 10 месяцев назад

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

  • @Alejandro00710
    @Alejandro00710 Год назад +4

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

  • @AllisonHammondAZAD
    @AllisonHammondAZAD Год назад +4

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

  • @MrShagiFpv
    @MrShagiFpv 2 месяца назад

    You have the voice of an ideal news reporter/tech narrator.

  • @solitarygrounds
    @solitarygrounds 8 месяцев назад +2

    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

  • @c2thamax246
    @c2thamax246 3 месяца назад

    Another great one is ctrl+alt+up/down arrow to duplicate your cursor. Really great when you have multiple lines of similar code that need something changed. Like say you want to change yi to zi and xi to xi^2 in:
    y1 = x1 + c1
    y2 = x2 + c2
    y3 = x3 + c3
    Even more helpful when changing longer variable or function names.

  • @phucnguyen0110
    @phucnguyen0110 Год назад +2

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

  • @hani5229
    @hani5229 11 месяцев назад +18

    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!

  • @williambreeze2659
    @williambreeze2659 Месяц назад

    Thanks for the pointers.

  • @Cocodrillo3011
    @Cocodrillo3011 8 месяцев назад

    You're a life saver! Awesome video!

  • @zebcode
    @zebcode 4 месяца назад

    ctrl + enter. Nice didnt know that one! With multi cursor (ctrl + shift + L | D) theres also an extension you can get that will match the case of whar you're changing. Works really well if it's justba single word.

  • @jacky1a2a3a4a
    @jacky1a2a3a4a Месяц назад

    you're the beginner's hero !

  • @dennbauer
    @dennbauer Месяц назад

    Thanks for helping my continuous improvement 😊

  • @Mcoder2023
    @Mcoder2023 11 месяцев назад +1

    You can find keyboard shortcuts reference in help menu

  • @danielmadison4451
    @danielmadison4451 Год назад +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  Год назад

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

    • @colindante5164
      @colindante5164 Год назад +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 Год назад +1

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

  • @wilhelmburger9588
    @wilhelmburger9588 11 месяцев назад +1

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

  • @TalesGrechi
    @TalesGrechi 4 месяца назад

    Nice tips! Another one I know is Ctrl + Shift + T to keep reopening the last file closed.
    This also works on browsers! 😃👍

  • @felixgraphx
    @felixgraphx Год назад +1

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

  • @lombervid
    @lombervid Год назад

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

  • @Tcrrxzz
    @Tcrrxzz 11 месяцев назад

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

  • @cihlacezet231
    @cihlacezet231 11 месяцев назад

    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.

  • @SSan-n3q
    @SSan-n3q Год назад +1

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

  • @yalmeme
    @yalmeme 11 месяцев назад +2

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

  • @arkapravabera3551
    @arkapravabera3551 Год назад +2

    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 😊😊😊😊😊😊

  • @zType2
    @zType2 4 месяца назад +1

    Thank you for this video.. learning to code is frustrating as it is, but learning to code without knowing any shortcuts is EXTREMELY frustrating 😭

  • @RadeonRavi-gv9kp
    @RadeonRavi-gv9kp 3 месяца назад

    Love your teaching method ❤❤❤

  • @joey2545
    @joey2545 Год назад +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  Год назад

      Thanks so much! The brand is called Tidbyt

  • @Mattias-mc1rm
    @Mattias-mc1rm 4 месяца назад

    I like these shortcuts.. and you are so cute when explaining 😍

  • @netsurfer2006
    @netsurfer2006 4 месяца назад

    Hey girl, Thank you so much for the Ctrl + Enter.

  • @Blackdiamond929_
    @Blackdiamond929_ 6 месяцев назад

    Excelente! thanks for making this less tedious for me.

  • @denqi1
    @denqi1 Год назад

    Thanks for these incredible shortcuts!

  • @lileightright
    @lileightright Год назад +8

    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.

  • @800yards
    @800yards Год назад

    Thanks for everything Jess!

  • @ZephniStrife
    @ZephniStrife 8 месяцев назад

    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.

  • @c2thamax246
    @c2thamax246 3 месяца назад

    I wondered what ctrl+enter was for! Bc to me it seemed to just be doing the same thing as enter itself. Thanks

  • @luciusrex
    @luciusrex Год назад

    thanks for sharing! needed this!

  • @nighthustler15
    @nighthustler15 Год назад +1

    I know it's silly but jusss clear me from this dude. which one is right to learn & start right now. I'm stucked here with outdated MERN stack course & i learnt some more things in React & Sass. Is there any way to land a job without paying to institution & who awaits a job for a money.
    NOTE : I'm following you from long so, don't ignore it & break my respect on you dude. Juss reply wisely.🌚

    • @TheCoderCoder
      @TheCoderCoder  Год назад

      Sorry, I'm not really up to date on JS stack stuff

  • @jackylam3322
    @jackylam3322 Год назад +1

    So useful but most RUclipsr never mentioned❤❤ Thank you

  • @malamincamara5939
    @malamincamara5939 Год назад +2

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

  • @zaidofficials
    @zaidofficials Год назад +1

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

  • @iSLaM_iS_BEauTiFuL_1122
    @iSLaM_iS_BEauTiFuL_1122 Месяц назад

    Thank you so much for your much useful information.

  • @arjunSingh-nh9sn
    @arjunSingh-nh9sn 11 месяцев назад

    this really helpful, love from India , thanks for sharing

  • @tomzor8971
    @tomzor8971 Год назад

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

  • @kostadinhariskov6137
    @kostadinhariskov6137 8 месяцев назад

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

  • @pranavgoel29
    @pranavgoel29 Год назад +10

    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  Год назад +3

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

    • @Striech
      @Striech Год назад +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  Год назад +1

      @@Striech that's a good point! 😅

  • @max_u6052
    @max_u6052 Год назад +2

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

  • @shaikhfoysal4426
    @shaikhfoysal4426 Год назад

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

  • @birsingh5388
    @birsingh5388 Год назад

    I like your snake plant behind your chair 😊

  • @iamtharunraj
    @iamtharunraj 7 месяцев назад

    Wow, this is super helpful! Thanks 😄

  • @mounirsud12
    @mounirsud12 Год назад +1

    thank you

  • @mtfreytag
    @mtfreytag 2 месяца назад

    My biggest annoyance with opt + Arrow to move lies is every line move is put in the undo list

  • @acubley
    @acubley Год назад

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

  • @vilyn4882
    @vilyn4882 Год назад +1

    Can you tell me the name of theme you are using?( Suggest me few themes 😅)

    • @TheCoderCoder
      @TheCoderCoder  Год назад

      I made my theme, it's linked in the description!

  • @Benjamin-Chavez
    @Benjamin-Chavez Год назад

    Subscribed. Thanks!

  • @Danione11
    @Danione11 Год назад

    Welcome back coder : )

  • @anotheryoutuberperson38
    @anotheryoutuberperson38 10 месяцев назад

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

  • @sritharan8783
    @sritharan8783 5 месяцев назад

    Mam your video lot of helpfull to run fast

  • @abelbeyene868
    @abelbeyene868 10 месяцев назад

    that was very helpful, thank you

  • @judyodiakose6838
    @judyodiakose6838 Год назад +2

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

    • @TheCoderCoder
      @TheCoderCoder  Год назад +2

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

  • @pranavjoshi7697
    @pranavjoshi7697 Год назад +1

    Thanks

  • @tristanwait4itlegendary
    @tristanwait4itlegendary 9 месяцев назад

    Page down key is a Life saver

  • @gauravmali6250
    @gauravmali6250 Год назад

    That's cool , Thanks for sharing with us.

  • @akhintheruvath
    @akhintheruvath 10 месяцев назад

    ctrl + shift + Enter to insert a line above

  • @TECHJOSEPH2006
    @TECHJOSEPH2006 11 месяцев назад

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

  • @anthonychan149
    @anthonychan149 Год назад +14

    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

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

    • @EmmanuelOloyede
      @EmmanuelOloyede Год назад

      ​@@TheCoderCoderyou'd love it 😅

    • @sutirk
      @sutirk Год назад

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

  • @salahdaniel
    @salahdaniel Год назад +1

    hi
    what do you use to record ur screen ?

  • @Sportgameww
    @Sportgameww 6 месяцев назад +1

    shift + arrows select line what do you want.

  • @ajayvadadre7660
    @ajayvadadre7660 Год назад +1

    What camera do u use?

  • @rendivs925
    @rendivs925 Год назад +1

    thanks miss

  • @hassaneoutouaya
    @hassaneoutouaya Год назад +1

    Thank you so much

  • @farzadbahadorifar1126
    @farzadbahadorifar1126 Год назад

    thank you this video is really helpful for me.

  • @RajSingh-gz6mr
    @RajSingh-gz6mr Год назад +3

    Just add vim extension and do a vimtutor command's 30 mins tutorial and then see which is good, I bet you won't want to go back to non-home keys again.

  • @truemufti
    @truemufti Год назад

    amazing shortcut.

  • @mohsennoori1304
    @mohsennoori1304 Год назад

    Nice, Programmers need these type of videos ❤

  • @joeneuman3799
    @joeneuman3799 8 месяцев назад

    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?

  • @markgamboa8183
    @markgamboa8183 11 месяцев назад

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

  • @sevenseen
    @sevenseen 8 месяцев назад

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

  • @yahmk3978
    @yahmk3978 Год назад

    Thank you very much!

  • @strategistaow3520
    @strategistaow3520 11 месяцев назад

    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

  • @xbeast7585
    @xbeast7585 19 дней назад

    Thank You So Much

  • @sanjayram12212
    @sanjayram12212 Год назад +1

    what vs code theme you are using ?

    • @karis7539
      @karis7539 11 месяцев назад

      rewatch last 10 second

  • @sarojregmi200
    @sarojregmi200 Год назад +4

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

  • @tarakrsn
    @tarakrsn Год назад

    Thanks a lot! I really need this ❤

  • @S.snowy63
    @S.snowy63 4 месяца назад

    Which theme you are using?

  • @datatech6589
    @datatech6589 11 месяцев назад

    very HELPFUL thank you

  • @snightmakesmemes7204
    @snightmakesmemes7204 Год назад +1

    What's the theme and the icon pack name you're using

  • @atharvsdesai3369
    @atharvsdesai3369 25 дней назад

    Hello mam,
    recently i have been struggling with " CREATING FOLDER AND FILES WITHOUT USING MOUSE" and
    for i have been struggling to create folder without embedding it in existing once (my shortcut is CTRL + ALT + N) using it after (CTRL + E)
    however i am able to make an individual unembbeded folder successfully i am confused about to create a file within the newly created folder using only keyboard shortcuts
    please let me know the shortcuts appropriate mam
    thank you ....

  • @KhalidKhan-sb1xm
    @KhalidKhan-sb1xm 11 месяцев назад

    is there any shortcut for looking at camera and the screen

  • @systemhacker
    @systemhacker 11 месяцев назад

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

  • @zavioxx8670
    @zavioxx8670 7 месяцев назад

    So Helpful!

  • @kushangshah-be7hn
    @kushangshah-be7hn 6 месяцев назад +1

    using shortcut on html is much easier than using it on python