Basic Text Editing and Hotkeys in VS Code - Computer Stuff They Didn't Teach You #3

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 105

  • @mkd1964
    @mkd1964 4 роки тому +37

    "Lorem Ispum" is real Latin, it's just jumbled up. The words are real and some parts make sense in very small chunks, but it's so garbled that it makes no sense as a whole. Interestingly, It has been in use since the 1500s. The source of the text comes from Cicero's "De Finibus Bonorum et Malorum" (the extremes of good and evil), which begins: "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." which roughly means 'There is no one who wants pain itself, who seeks after it and wants to have it.
    Thanks for the video.. I learned a few tricks and I'll start using them.

  • @MichaelMurkovic
    @MichaelMurkovic 4 роки тому +22

    Instead of "Ctrl-Shift-L", I often use "Ctrl-D" in VSCode, because I want to slowly expand current selection to the next occurrence. Great video!

  • @shamanthnie
    @shamanthnie 4 роки тому +34

    Ctrl + backspace - delete word behind cursor. Awesome video. Thanks Scott

    • @sodiboo
      @sodiboo 4 роки тому +2

      interesting, i just did ctrl+shift+leftarrow, backspace

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

    I've been in IT for 19.5 years and didn't know some of these shortcuts. Thanks a bunch!

  • @halldorhrafngislason1052
    @halldorhrafngislason1052 4 роки тому +18

    Holy code Scottman!
    This is possibly your most basic, yet most important video to date :D
    They should teach this in elementary school.
    Thank you!

  • @MatthewMcGuff
    @MatthewMcGuff 3 роки тому +2

    Really been enjoying your videos Scott. Just discovered your content watching your current Windows 11 video. Your videos are always relevant, comprehensive and clear. Outstanding job.

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

    There is a typo @18:02. I think it is "SHIFT ALT --> " for expanding sexlection. line number 13

  • @tomek.z
    @tomek.z 4 роки тому +1

    ALT + LEFT/RIGHT ARROW - this one is also great! Basically it's a history of your cursor positions across ALL FILES so you can quickly go back to exact places you were before with ALT + LEFT

  • @mhamd2020
    @mhamd2020 4 роки тому +3

    I love the uniqueness and the quality material you put on your channel.
    Thank you so much.

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

    I know about triple-click for a while. But it's the first time I see someone else talk about this feature. Thanks for the fourth, Scott!

  • @Gozi101
    @Gozi101 3 роки тому +1

    I thought I knew most of them but Alt-Shift Right Arrow blew my mind. Now I can expand if statements, without having to find the end and beginning bracket

  • @chrishnicholas
    @chrishnicholas 4 роки тому +3

    Hey Scott - minor thing: in your summary @ 17:56 you type CTRL ALT -> for expand selection, when you meant (and said out loud) SHIFT ALT ->

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

    Loved all the new shortcuts I didn't know / use often enough. Great content, keep it up!

  • @AndrewMillarNZ
    @AndrewMillarNZ 4 роки тому +14

    Thank you so much for this video, i thought I knew a few cool shortcuts and but you have blown my mind and now you have shown me some new ones. Thanks

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

    Another great video. I was a Senior Architect 7 years into my Dev career when I learned Shift + Ctrl + ⬅️.

  •  4 роки тому +2

    Thanks Scott. Very useful even if you are not a beginner developer.

  • @MyGroo
    @MyGroo 3 роки тому +1

    7:35 Where do you buy a Microsoft Natural Ergo Keyboard 4000 in 2021? 🤔

  • @ManishJaiswalUK
    @ManishJaiswalUK 3 роки тому +1

    Hi Scott, Always great to listen to you.
    Guess one typo in your video at the end when summarising at 18:09. "CTRL ALT ->" instead of "SHIFT ALT ->"

  • @Gruggo
    @Gruggo 4 роки тому +2

    Woah, I learned something new today, many of these I had no idea about, love the move line and copy line hotkeys you showed near the end.

  • @nileshmitra4394
    @nileshmitra4394 4 роки тому +6

    Thus is really awesome. Could we have a specific session in visual studio editing

  • @radulaski
    @radulaski 4 роки тому +2

    Thank you for the video, but I think that ALT + SHIFT + LEFT/RIGHT and not CTRL + ALT + LEFT/RIGHT is used for expand/shrink selection (summary). Side note, it is good to disable graphic hotkeys on most Intel graphic Windows machines so that you do not accidentally rotate screen by pressing CTRL + ALT + LEFT.

  • @Mr_Matrix
    @Mr_Matrix 4 роки тому +4

    This is so good Scot! I have never heard about most of those shortcuts before. Thanks! 😃👍

  • @Steve-Richter
    @Steve-Richter 4 роки тому +3

    CTRL D to select the word where the cursor is located. Then F3 to find the next instance of that word.

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

      you can achieve the same result by redoing Ctrl + D

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

    I know some of the shortcut, but there are many that I just happen to know in the video. Well done.

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

    What's that software you mentioned at @2:33? Karnak? Can't seem to find the right way to spell it.

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

    This series is really helpful, you should do more of this.
    Thanks in advance I hope one day we will be able to pay you or the technology that you are teaching us one day.

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

    Scott is the hero. Super helpful video.

  • @randy4ii411
    @randy4ii411 3 роки тому +1

    What you are doing is very needed. Thank you. Also you probably should have left the Latin alone.😀

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

    I got obsessed with KB shortcuts forever ago, and then I went to a TKL to make the hand-mouse journey shorter when I had to use it. Then I went 60%, and I can't ever go back. Having everything you need literally right under your fingers is incredibly efficient. The journey to arrow keys becomes like going to the mouse. I'm really fast, but I am practically useless on any KB that isn't 60% and programmed with my version of QMK! 😂

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

    I like, how you don't discard mouse completely, but advise to use it wisely, unlike some purists, who think mouse is completely useless. In some cases using mouse is actually faster than control clicking through several words.
    Also a little tip: you can grab your selected text with a mouse, and drag it into a different spot in the document, which is the equivalent of cutting and pasting without using the clipboard.

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

    CTRL + ENTER is another favorite of mine. Inserts and jumps to a new line below selected line.

  • @PareshBhatewara
    @PareshBhatewara 4 роки тому +3

    In the last section when you review the commands, for expand selection you say Shift Alt but you write Ctrl Alt. I think it’s Shift Alt, but just so you know.

  • @SRG-Learn-Code
    @SRG-Learn-Code 4 роки тому +2

    Awesome, some I did know, although multiline quick change is way amazing. Also Carnac! nice adittion

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

    Amazing! A lot of neat tricks I didn't know of!

  • @ahmedroberts4883
    @ahmedroberts4883 2 роки тому

    Wow! Great Vid. So helpful. You have saved me so much time! Thank you.

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

    Hi Scott, Can you cover video for hotkeys for mac? if its not possible then sheet of hotkeys should do the job as well.

  • @minastaros
    @minastaros 2 роки тому

    I overrode CTRL-D to "delete current line" as in Eclipse. Very useful when programming.

  • @enzocardeal
    @enzocardeal 4 роки тому +5

    wow, this is exactly what I was looking for. Thank you!

  • @stendall
    @stendall 4 роки тому +2

    Lorem ipsum, contrary to popular belief, is not random. It is Latin. It is a poem by Marcus Tullius Cicero. A contemporary of Julius Caesar, who had served as consul, and played a key, though perhaps disingenuous, role in legitimizing the rise of the first emperor Augustus.

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

    I remember when i learned multicursor concepts in text editors (with sublime text) and it just change the game for me and I use the package manager to do aligning, selecting by reg ex, increment selection, and so many more cool extensions. makes the use of excel obsolete to me.

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

    Very useful! Always more to learn! Love the series!

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

    I'd be very interested in getting more on vs code tips.

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

    Keep this series going

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

    Summary start: 14:53

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

    Hmmm.... strange, many of the shortcuts shown do not work neither VS nor VS Code on my pc, which is interesting as I use the default configuration

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

    10:41 What sorcery is this? 😆

  • @bekatchigladze541
    @bekatchigladze541 2 роки тому

    Thank you, these keyboard skills are amazing

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

    11:25 I am pretty experienced at this type of stuff, but that is pretty wild. Kind of like a targeted "rename" or "refactor". Nice!

  • @satyabratamohapatra3397
    @satyabratamohapatra3397 4 роки тому +3

    Thanks. Very helpful indeed.

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

    Is Carnac available for mac user in this USA?

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

    Great video! Is it bad that I stil use ctrl-ins, shift-ins and shift-del for cut & paste?

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

    Woah! Ctrl + Shift + L was something I didn’t know about!

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

    Is there a way in VS code to create the multiple cursors without using the mouse?

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

    The expand collection one was really cool 😯

  • @thomasbates9189
    @thomasbates9189 2 роки тому

    Could you make a video on path variables and adding things to path?

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

    Anyone knows what theme is used in the video?

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

      That's "Yonce" from Mina Markham

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

    does anyone know what theme is he using??

  • @vahidmiraqae6355
    @vahidmiraqae6355 4 роки тому +2

    Thank you. You are awesome.

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

    Very detailed video. Thanks a lot guy!

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

    If I click the menu Selection -> Select all occurrences it works, but if I Ctrl + Shift + L it deletes a line. :(

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

    Hey Scott, thank you so much for the videos. Could you do one on hex editors? I only have used them once or twice to see BOMs but I don't know why would they be useful.

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

      ua-cam.com/video/jeIBNn5Y5fI/v-deo.html

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

      Ian Leff Thank you

  • @MichaelProcario
    @MichaelProcario 7 місяців тому

    I knew vim could do this, but I could not find it in vscode.

  • @funtertainment2552
    @funtertainment2552 3 роки тому +1

    Thanks 👍👍👍👍👍👍 great

  • @LFrigoDeSouza
    @LFrigoDeSouza 4 роки тому +4

    0:56 Ok, now I'm waiting for a Vim video! 😄

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

    Some of the shortcuts unfortunately don't work in Visual Studio, would be cool to have them all also in VS not just in code. Great video :)

    • @strandloper
      @strandloper 4 роки тому +3

      If it's the selection expansion you're after in Visual Studio, use Shit+Alt+= for Expand Selection or Shit+Alt+] for Expand Selection To Containing Block.

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

    Which theme are you using in VSCode ?

  • @sundhaug92
    @sundhaug92 3 роки тому +1

    ALT+SHIFT+UP/DOWN: Copy current line(s) up or down

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

    Fun times when you're on a deadline and your mouse dies while you have no replacement! This happened to me once, I discovered how slow a mouse causes me to become. After that incident, I made a great effort to do anything without a mouse. There were few obstacles, notably accessing a context menu with some system tray notification applications.

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

      Also, yes, I do have some backup input devices...

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

    Thank you!

  • @9739718777
    @9739718777 3 роки тому +1

    AMAZING

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

    Great stuff

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

    I think your next video on Internationalization of the code, like in general with all programming languages.

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

    fantastic

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

    "You've got one hand on the left side of the keyboard, if you've got two hands". Just in case you only had one hand and were still interested in efficiency of typing.

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

    Thanks fella!

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

    It takes some time to get your muscle memory used to new shortcuts

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

    I wish you did this for Mac too

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

      Just replace any control with command or alt. The rest is the same.

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

    I knew the ones with Alt existed, just not what the hotkeys were.

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

    "and they will go up here . . and they will press this bit . . "
    Yep. Nothing worse than waiting for a menu-using supervisor copy and paste.

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

    I was also today days old when I learned Shift + Alt 😮😮.

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

    Learn vi bindings. Done!

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

    Speaking my language! Avoid the mouse at all costs is my motto.

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

    I pretended to be a programmer until this.

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

    And I'm sitting here wishing half these worked in MATLAB :'(

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

    Scott, do a video on braiding hair. I really want to see you do it

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

    When I was in school VS Code didn't even exist ;)

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

    Your microphone is too high quality. Gum smacks are loud

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

      Thanks for shift+ctrl+\ though!

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

    OMG, what! We are talking keyboard efficiency and you are using “Ctrl-p >”!! Just us F1 my good man. lol

    •  4 роки тому

      Exactly! :-) CTRL+SHIFT+P works too