Pro VSCode Tricks

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 75

  • @ArnasJelizarovas
    @ArnasJelizarovas 5 років тому +42

    Harry, when selecting multiple parts with Ctrl + D, you can skip unwanted ones with Ctrl + K.

    • @LearnWebCode
      @LearnWebCode 5 років тому +3

      eric-wareheim-mind-blown.gif

    • @hswolff
      @hswolff  5 років тому +2

      oh my god. mind blown as well. that's awesome Arnas, thank you!!!

    • @alejov
      @alejov 5 років тому +1

      Thank you man

    • @gavinlindridge
      @gavinlindridge 3 роки тому

      Love this!

  • @VidarrKerr
    @VidarrKerr Рік тому

    alt + up/down arrows with multiple lines selected is awesome. Lot of great time savers here. Thanks!

  • @abubakar.khawaja
    @abubakar.khawaja 3 роки тому

    My mind is blown !!! Thanks HARRY!!

  • @LearnWebCode
    @LearnWebCode 5 років тому +2

    Awesome video. cmd+j is so much easier to press compared to control + tilde; love it! I also had no clue about the cmd + p to quickly search for a file.

    • @hswolff
      @hswolff  5 років тому

      Yaaasss!!! The learnings increase!

  • @abdulazeez.98
    @abdulazeez.98 2 роки тому

    Awesome tips!
    I’ve always procrastinated searching for those keyboard shortcuts.

  • @ModestJoke
    @ModestJoke 4 роки тому

    One nice thing I've enjoyed is being able to Ctrl-Click a file name in a Python exception message and it jumps not just to that file, but to the line from the error message as well. So clever!

  • @sarahwbs
    @sarahwbs 5 років тому +1

    In addition to Option + up/down to move a line up or down, you can hold Shift at the same time to copy the current line up or down.

    • @hswolff
      @hswolff  5 років тому

      😱 that’s awesome! Thank you Sarah!

  • @louiscunyfr
    @louiscunyfr 5 років тому +9

    Great content Harry. You can insert multiple cursors at the end of every line without plugin by pressing SHIFT + ALT + I

    • @hswolff
      @hswolff  5 років тому

      Aha! So you can!! Lovely, thank you!

    • @Southpaw101
      @Southpaw101 4 роки тому

      Cool

  • @mayankramina
    @mayankramina 4 роки тому +1

    I came to comment section to find a good comment on the siren in background, couldnt find one

  • @alemesa.youtube
    @alemesa.youtube 5 років тому +1

    man you deserve ten times more followers, great video and keep it up

    • @hswolff
      @hswolff  5 років тому

      Tell EVERYONE YOU KNOW!!! haha :D

  • @planetmall2
    @planetmall2 5 років тому +1

    Great job as always.

    • @hswolff
      @hswolff  5 років тому

      Eyy, thank you!

  • @aaronvandyke2597
    @aaronvandyke2597 4 роки тому

    Quick mnemonic device: cmd+b opens the "bide" and cmd+j opens the jottom, or jerminal, if that's easier for you to remember! Leave it to Microsoft for that intuitive UX.

  • @ndbe
    @ndbe 5 років тому +1

    you can add cursor in line up or down with "ctr + alt +up" or "ctr + alt + down"

    • @ArnasJelizarovas
      @ArnasJelizarovas 5 років тому

      Yes! No extension required!

    • @hswolff
      @hswolff  5 років тому

      :o It's not working for me? Maybe I have a different keybindings installed?

    • @ArnasJelizarovas
      @ArnasJelizarovas 5 років тому

      It works on my windows pc, but testing on linux laptop didn't seem to work. I would guess it has to do something with the physical keyboard fn keys (its defaulting to 'home' or 'end' on mine)

  • @blank001
    @blank001 4 роки тому +1

    I use vim in sublime, most of the features you mentioned here are in build in VIM. VS code also has a VIM plugin just give it a try, and you'll just love it. But there is a steep learning cure to it, but it's worth it.

    • @love.ly.
      @love.ly. 4 роки тому

      Ram Bhosale worth it no doubt

    • @Chronohz
      @Chronohz 4 роки тому

      I use Vim in VS Code. I know you can do the Ctrl + D trick with "gb", but do you know how it is possible to skip lines like you can with Ctrl + K?

  • @abc_cba
    @abc_cba 4 роки тому

    This is the first VS code tips based video of the hundreds that I have ever watched in my saved later section.
    Keep your good work.
    Only tip is don't embedd your face into the tutorials, it's too gorgeous and I have difficulty focusing on the code. 😂
    Jokes apart, you deserve the subscription. Thanks.

  • @vinayakshahdeo7578
    @vinayakshahdeo7578 5 років тому +2

    Harry time for some sockets and graphs in react?

    • @secretagentx-9908
      @secretagentx-9908 5 років тому

      Websockets and d3?

    • @vinayakshahdeo7578
      @vinayakshahdeo7578 5 років тому

      @@secretagentx-9908 I don't know about d3 but sure why not

    • @hswolff
      @hswolff  5 років тому

      You want to see d3 with react?
      While you wait for a new video, check out this old presentation I made of D3 in React Native :o hswolff.com/blog/react-native-art-presentation/

  • @Southpaw101
    @Southpaw101 4 роки тому

    Multiline tip is very cool!!!

  • @eastcoastcoder
    @eastcoastcoder 5 років тому

    Stellar! I remeber you mentioning you were considering making a guide to VSCode back in the podcast days. Really hyped for this one 😎

    • @hswolff
      @hswolff  5 років тому

      Did it live up to expectations?!

  • @Maikel13mg
    @Maikel13mg 4 роки тому

    Great video !! It should be a must to master our tools to be more productive doing our work.

    • @hswolff
      @hswolff  4 роки тому

      I agree! It helps me be so much more productive!

  • @keithprice3369
    @keithprice3369 5 років тому

    You're using Yarn? Do you see significant advantages of that over npm? Or, is it just what you got used to?

    • @hswolff
      @hswolff  5 років тому +2

      Over time I've found Yarn to just be more reliable and faster than npm. I have higher confidence in yarn than npm nowadays.

  • @vishnyo
    @vishnyo 5 років тому

    As of Visual Studio Code version 0.10.9, you can now do a Create Multiple Cursors from Selected Lines by selecting multiple lines, and pressing Shift+Alt+I no need to install Additional plugin

    • @hswolff
      @hswolff  5 років тому +1

      Awesome! Thank you!

  • @seanaguinaga
    @seanaguinaga 5 років тому

    Most lit thumbnail yet, Harry

    • @hswolff
      @hswolff  5 років тому

      Awwww yeaaah!!! So glad you like! I had a lot of fun making it :D

  • @keithprice3369
    @keithprice3369 5 років тому

    You can place your cursor in multiple places by Alt clicking. Do you know if there's a keyboard equivalent?

    • @zameeebasha
      @zameeebasha 5 років тому +1

      You can add cursor on multiple lines by holding down option shift and dragging down, you can use the same to add cursor to end of lines by dragging till the line end.

    • @keithprice3369
      @keithprice3369 5 років тому

      @@zameeebasha Thanks for that. I'm on Windows and neither Alt Shift nor Ctl Shift with arrow key works for me. :(

    • @hswolff
      @hswolff  5 років тому +1

      Ah yes, forgot about that one! So good!

  • @captainspeedy108
    @captainspeedy108 4 роки тому

    I messed up my titlebar color in visual studio code. Can you recommend a perfect color for a dark theme??

  • @ManasTunga
    @ManasTunga 5 років тому

    Nice Video Harry, useful pro tips !! 💓 it book marked it.

    • @hswolff
      @hswolff  5 років тому

      Woohoo! Thank you Manas!

  • @rose123998
    @rose123998 4 роки тому

    sublime so far is my fav one it has everything you showed here but i used vscode just because git support

  • @fabioramatis2373
    @fabioramatis2373 4 роки тому

    It's fun to see you doing things in vscode and I see if I can do the same in vim haha
    Learn for all communities!

  • @noface960
    @noface960 4 роки тому

    vscodevim plugin, contains much of what you showed and more, thank

  • @ValentinoHudhra
    @ValentinoHudhra 4 роки тому

    Vim with VSCode 🤯

  • @gavinlindridge
    @gavinlindridge 3 роки тому

    Everyone seems to use ctrl + shift + p to open command palette. I'm pretty sure I never made a modification and just use F1 instead, soo much easier to hit 👍

  • @danielmadison4451
    @danielmadison4451 4 роки тому

    Harry, I want to like this video but I am obviously missing something that must be obvious to others. I have been looking all over my Keyboard for the CMD key??????? LOL

  • @zach4216
    @zach4216 5 років тому

    1. This video is so dope. Thanks!
    2. Kind suggestion: get a better microphone for your vids :)

    • @hswolff
      @hswolff  5 років тому

      Hah thanks! I actually have a fairly good mic, curious what sounds off to you? It may be the room I’m in, it’s fairly echoey.

    • @zach4216
      @zach4216 5 років тому

      @@hswolff Oh ok, perhaps it is just the room then. It sounds a bit reverbish/echoish to me. Like you're a bit distant and not super crisp. It could just be me!

  • @Diamonddrake
    @Diamonddrake 5 років тому

    Cmd + shift + k deletes a line without copying it. But it’s a little awkward.

    • @hswolff
      @hswolff  5 років тому

      Yeah, not my favorite at all. But at least it's there!

  • @whynot9963
    @whynot9963 4 роки тому +1

    Ctrl/cmd + g to open "go to line" instead of going cmd+p and typing :

  • @Venezuelangel
    @Venezuelangel 4 роки тому

    This UA-camr: "Arcane, Pro Moves with VS Code"
    Everyone else: "Beginner hotkeys to get you started with VS Code".
    Should have known it was clickbait. Making sure youtube never recommends your channel to me again.

    • @hswolff
      @hswolff  4 роки тому

      You knew these moves already? In my experience few people do. Curious what you’d push beyond those hot keys?

  • @HiPh0Plover1
    @HiPh0Plover1 5 років тому

    are you an actual wolf ?

  • @saleemdigital
    @saleemdigital 4 роки тому

    u have a nice bedroom

    • @hswolff
      @hswolff  4 роки тому +1

      Thank you 🙃

  • @pkavenger9990
    @pkavenger9990 3 роки тому

    write Mac or Linux in the title.