Get to know GitHub Copilot in VS Code and be productive IMMEDIATELY

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

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

  • @CaseyHendley
    @CaseyHendley 2 месяца назад +12

    I am notoriously impatient and this is exactly the sort of "quick and dirty" intro guide I find very useful. You've got a new subscriber for getting straight to the point. Thanks!

  • @artemis_russo
    @artemis_russo Месяц назад +20

    Hot keys:
    Tab - accept a text completion
    Esc - dismiss the text
    Cmd + R arrow - accept a part of text completion
    Cmd + enter - suggestions
    Cmd + I - inline chat

  • @fengz-x7z
    @fengz-x7z 10 месяцев назад +60

    The most useful video on how to use Github Copilot in VS Code.

  • @kenniealbritton6390
    @kenniealbritton6390 8 месяцев назад +10

    Excellent job! Very concise. And you also provided both windows and mac. Some programmers forget some of us are windows users lol. So great job including both!

    • @code
      @code  8 месяцев назад +11

      ty! we use a lot of Windows ourselves here at MSFT... :)

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

      @@code lol

  • @kmunson007
    @kmunson007 5 месяцев назад +1

    Fantastic video! Straight to the point. I hit that Subscribe button in one second! I don't want to know every single thing that Copilot can do, just the super useful stuff. And, not to be too harsh, but I don't need a long intro with jokes and a 20 second intro with music and flashy images. I need this!!!

  • @robertf57
    @robertf57 5 месяцев назад +28

    As someone who started out writing code in M6800 Assembly Language, today's programmers have absolutely no idea how easy they have it. 😆

    • @CodeAsm
      @CodeAsm 4 месяца назад +3

      Back in 2010 I tried learning to code for the "old" original xbox. where is my IntelliSense ? where the docs? ow, cool, MSDN cd's.
      Then how did they make games in the 90s? ow, 1 book, maybe mailinglists. M68K is such a cool arch, like Z80 or 6502 but wide. I understand now why my dad got stuck in basic, he had just lost his computer buddy and other friends where not so tech savvy. You really needed to have a good book, social contacts or uni/workplace. these days, you can spend hours at home and get things done. (or not)
      you say its easy, and on this front, yes. but what language to pick? what tool to use for what? how do you tell if the AI is wrong? this comes with experience and this still is something you need to grind for. just like yesteryear. So your not wrong, but also... its differently the same. (like, ARM, x86 or RiscV be the best bet these days for assembler/bare metal C?)

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

      @@robertf57 over this long weekend I realized this and appreciate what we have. I am in healthcare, still learned typescript to the point of building apps using types generics async programming (these were probably the hardest concepts to grasp) and databases from scratch in 3 days.
      Like literally knew no typescript and only vaguely familiar with js. 3 days to literally build apps like a floor staffing management system that actually works!!
      I used gpt to help me learn, I used it so much but it just made it so easy compared to just following a book. I wouldnt trust gpt too too much for pathophysiology though lol

  • @AhmetKizilay0
    @AhmetKizilay0 11 месяцев назад +10

    Thanks for showing how to partially accept ghost code. I didn't know it existed, and I was very frustrated by too many lines of code that I didn't really need.

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

      😅😅😅😅😅😅😅

  • @hecktorzr
    @hecktorzr 10 месяцев назад +4

    Very informative and succinct. Thank you!

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

    Amazing video and amazing tool! As a newbie to the game dev field, this has helped me so much with learning C++.

  • @CiaoKizomba
    @CiaoKizomba 29 дней назад

    awesome content. brief, essential, and to the point.

  • @AlexandreDias18
    @AlexandreDias18 9 месяцев назад +1

    Thanks for your time! Excellent video and excellent explanation !

  • @NotHuman-bc1cc
    @NotHuman-bc1cc 11 месяцев назад +4

    I don’t know why, but sometimes when I am in Chat it shows that it matches with public code, even after I changed settings of code visibility in GitHub

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

    Thank you for making that clear

  • @beuzbeuz-dq4vy
    @beuzbeuz-dq4vy 6 месяцев назад

    What font are u using ? Many thanks!

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

    Thanks for the info!

  • @ashikeron9975
    @ashikeron9975 4 дня назад

    which font are you using ?

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

    How do you get that double star icon in the terminal at the end of the video?

  • @AdamsTaiwan
    @AdamsTaiwan 9 дней назад

    Can I know how many suggestions/chats are used? I would like to conserve for important tasks. Currently, I switch to Gemini browser for code bits just so I don't use up what I have.

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

    Thanks, great video. perfectly succinct.

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

    Very useful, thank you :)

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

    I used copilot for a long time using the license given by the github developer pack but this time I used all the features that exist.
    integration vscode with copilot is very indulgent 🤤

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

    Thank you for the guidance :)

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

    thanks for this really useful video, now i understand i could use ctrl+rightarrow to accept the next word of the inline suggestion, but when i try that key binding, i could not make things done in visual studio as in vs code, how could i get the similar feature in visual studio? do need your help very much

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

    So useful thank you🎉

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

    Great, video. spot on. you don't include the ctrl + shift + "i" - opens the chat/hides copilot's chat. - Go forward and see how better life will be with copilot ending remarks lol :-) thanks

  • @lordiblees
    @lordiblees 8 месяцев назад +1

    Just got copilot but it refuses to work for me :/
    It says it's enabled but I get no suggestions whatsoever

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

    Copilot is great, but sometimes I still need to get back to GPT (3.5) to solve some problems, where I need more general approach. I mean, it's to focused on code, and so even earlier and weaker llms are capable of solving some staff better.

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

    what iis the VS theme youre using ?

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

    Inline chat is great but still need to be improved. When using it in jupyter notebooks instead of giving me one extra line of code it deletes all the previous code and just leaves me with the ‘answer to my question’

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

      And readability is difficult as soon as the code it is modifying reaches 10 to 15 lines. There is yellow stuff green stuff red stuff. Some //// lines. Confusing

    • @code
      @code  11 месяцев назад +3

      @@coopernik thanks for the feedback. We're aware that inline chat has some room for improvement and we're working on it!

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

      I would also love it if it worked with the .NET interactive kernel and Polyglot notebooks.

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

    Ghost text doesn't seem to be available (at least for me) on Visual Studio (not vs code). And I can't find a setting that turns it on or off.

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

      VS may have two extensions - one for Ghost Text and one for Chat. Can you confirm you have GitHub Copilot and GitHub Copilot Chat installed?

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

      @@codeYep. Both are installed.

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

      @@codeTurns out there's a Setting for line complete that needed to be set to true. It works now.

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

    Does it support none coders like chatGPT? Just instruct with a text prompt what you want to create? Any beginner tutorial like that?

    • @code
      @code  Месяц назад +1

      Try it out. It's pretty beginner friendly.

  • @Charles.5277
    @Charles.5277 10 месяцев назад

    Awesome 🔥🔥

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

    is it me or is the shortcut for inline not well defined and often not working? you say CTRL I, in my visual studio it says ALT + / and neither works!

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

      Which computer do you have?
      code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
      code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
      code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf

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

    What's your theme bro? I want to use it

  • @maurod.asuajeg.73
    @maurod.asuajeg.73 8 месяцев назад

    Thanks so much, you kicked me do it! I just did it!

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

    Unless you are using 2 GitHub accounts. Then you can say goodbye to the Chat functionality. It just won't work. Then Copilot support will point fingers at the VSCode Team and vice versa

  • @AntoniBassolsLópez-z9g
    @AntoniBassolsLópez-z9g 3 месяца назад

    Good video! Thanks

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

    This video convinced me.

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

    when I add this comment "// function to remove a specific number from an array", it only adds ghost text for one line, not for the entire method

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

    is there a way to find specific text from github copilot chat ?

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

    Hello,
    how do I let Copilot index multiple files (like for a website project)?!
    For ex: I'd like to let Copilot add a sign-up option, via Google / FB account.
    How would you do that?
    Thanks.

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

      Have them opened in the editor, or specify @workspace in the Copilot Chat

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

      @@Naej7 @workspace is the answer!

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

    Wow this is amazing

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

    thanks for the video

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

    TYVM

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

    This takes impostor syndrome to another level.

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

    I mostly need it in edge cases and there it cant really help me... :(

  • @nomoredarts8918
    @nomoredarts8918 Месяц назад +1

    Biggest question is, can I turn it off?

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

    It can run in windows env but cannot run in wsl2 env

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

    Can't wait until Github Copilot has the year-old GPT-4.

    • @Simon-us4bn
      @Simon-us4bn 11 месяцев назад +2

      It’s been powered by gpt4 since November

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

      ​@@Simon-us4bn he's talking about turbo

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

      @@Simon-us4bnHaters gotta hate

  • @GB-nn2cx
    @GB-nn2cx 11 месяцев назад +2

    Magic ✨

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

    soooo worth it the $10/mo. but im a student so its even better bc its freeee!!!! thank you github!!

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

    02:05 MACOS (Control + Return)

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

    Note that Copilot won't be available during code interviews.

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

      Only if the interview/employer is crappy or for very specific extraconfidential projects

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

      @@TheMelo1993 if thats the case then i am sure more than 90 % of interviewers are crappy

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

    Visual Studio on MacOS:can't get to inline chat as Command-I gets trapped by VS!

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

    Thank you

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

    being more productive and more productive, more productive and more productive. be more productive and more productive. at the end there are no human.

  • @NotHuman-bc1cc
    @NotHuman-bc1cc 11 месяцев назад

    And also cmd + enter is not working on Mac. Look on this issue

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

      It looks like it's set to ctrl + enter on Mac. You can change it in your key bindings (search for "Open Completions Panel"). They should probably default to cmd instead of ctrl, but cmd + enter is also bound to "Inline Chat: Accept Changes" so they might have changed it to prevent a conflict.

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

      CTRL+Enter (instead of CMD+Enter) works for me as described on macOS VS Code

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

    just use the Cody extension

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

    fire!

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

    Is there any way to get it for free to learn it.

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

      There’s a try of one month

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

    I hate that you put a price on this

    • @Kayzewolf
      @Kayzewolf 9 месяцев назад +1

      It’s $10/mo… lol It costs money and development to provide this service, after all.

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

    wonderful

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

    Can i get for free? if not what is the free alternative?

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

    This guy reminds me of Jo Koy

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

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

    It's free now🎉🎉

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

    This no help. I subscribed, but am unable to access. Beginning video started AFTER what I need

  • @haha-eg8fj
    @haha-eg8fj 11 месяцев назад

    Not free...

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

    CMD + I
    Or
    CMD + ENTER

  • @DD-coder
    @DD-coder 6 месяцев назад

    I can hear all the Scrum master of the universe out there saying "YOu have GEnAI doing this for you ... WE SHOULD SLASH BY 90% all the story points"

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

    Gitpilot = money

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

    Plot Twist: The code shown at 0:44 is actually very bad and should not pass any checks.

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

      I haven’t tried it, but it looks good to me
      I just don’t know what the hell is the result variable doing here lol

  • @adiorthotos
    @adiorthotos 8 дней назад

    I don't like this guy. Having said that he explained it all very clearly.

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

    It's not free

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

    Nice tool to going be lazy ...

  • @SigmaScorpion
    @SigmaScorpion 11 месяцев назад +31

    Give me copilot for free .... I will watch all vs code copilot related videos 😅

    • @kiesun
      @kiesun 11 месяцев назад +3

      I have watched all, give me copilot for free.

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

      Pay up 😂

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

      just do open source development

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

      Dunbe a cheapskate

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

      Students can get it for free as part of GitHub Student Pack. But I wouldn't recommend it for inexperienced freshmen students, they'd get too lazy to learn the fundamentals of programming and would simply become coders, without understanding a thing of what they're doing