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

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • This video takes you through all of the places to find GitHub Copilot in your editor and how to interact with it, along with best kept secret about Copilot that will dramatically increase your productivity almost immediately.
    00:00 - Intro
    00:26 - Ghost Text
    01:25 - Copilot anticipates your next move
    01:53 - Viewing all Ghost Text options
    02:12 - Inline Chat
    02:57 - Chat View / Sidebar
    03:42 - Other places to find Copilot in the editor
    #vscode #githubcopilot #ai
  • Věda a technologie

Komentáře • 70

  • @fengz-x7z
    @fengz-x7z Před 3 měsíci +28

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

  • @kenniealbritton6390
    @kenniealbritton6390 Před měsícem +4

    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  Před měsícem +2

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

  • @hecktorzr
    @hecktorzr Před 3 měsíci +3

    Very informative and succinct. Thank you!

  • @AlexandreDias18
    @AlexandreDias18 Před 2 měsíci

    Thanks for your time! Excellent video and excellent explanation !

  • @kp_kovilakam
    @kp_kovilakam Před 4 měsíci +1

    Thanks for the info!

  • @sivajinandimandalam6329
    @sivajinandimandalam6329 Před měsícem

    Very useful, thank you :)

  • @user-mo3mt3zw2n
    @user-mo3mt3zw2n Před 2 měsíci

    Thank you for the guidance :)

  • @NotHuman-bc1cc
    @NotHuman-bc1cc Před 4 měsíci +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

  • @Charles.5277
    @Charles.5277 Před 3 měsíci

    Awesome 🔥🔥

  • @AhmetKizilay0
    @AhmetKizilay0 Před 4 měsíci +5

    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 Před 4 měsíci

      😅😅😅😅😅😅😅

  • @dreamsfloatjoe
    @dreamsfloatjoe Před 4 měsíci +2

    TYVM

  • @GB-nn2cx
    @GB-nn2cx Před 4 měsíci +2

    Magic ✨

  • @maurod.asuajeg.73
    @maurod.asuajeg.73 Před měsícem

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

  • @techtransformers7464
    @techtransformers7464 Před 2 měsíci

    what iis the VS theme youre using ?

  • @devgatling
    @devgatling Před 2 měsíci

    fire!

  • @leshiq4214
    @leshiq4214 Před 2 měsíci

    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.

  • @trannhathungnguyen352
    @trannhathungnguyen352 Před 4 měsíci

    wonderful

  • @yuriygerasimovich4187
    @yuriygerasimovich4187 Před 4 měsíci

    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

  • @lordiblees
    @lordiblees Před měsícem

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

  • @Andy_B.
    @Andy_B. Před 4 měsíci

    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 Před 4 měsíci +2

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

    • @code
      @code  Před 4 měsíci

      @@Naej7 @workspace is the answer!

  • @martapfahl940
    @martapfahl940 Před 3 měsíci

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

  • @keithprice3369
    @keithprice3369 Před 4 měsíci +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  Před 4 měsíci

      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 Před 4 měsíci

      @@codeYep. Both are installed.

    • @keithprice3369
      @keithprice3369 Před 4 měsíci

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

  • @coopernik
    @coopernik Před 4 měsíci +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 Před 4 měsíci +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  Před 4 měsíci +3

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

    • @user-zt4ny6lx5l
      @user-zt4ny6lx5l Před 4 měsíci

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

  • @creativehacksolutions
    @creativehacksolutions Před 2 měsíci

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

  • @maneshipocrates2264
    @maneshipocrates2264 Před 4 měsíci +4

    Gitpilot = money

  • @skystar3
    @skystar3 Před 4 měsíci

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

  • @AdalbertoCaccia
    @AdalbertoCaccia Před 2 měsíci

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

  • @2099EK
    @2099EK Před 4 měsíci

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

    • @Simon-us4bn
      @Simon-us4bn Před 4 měsíci +2

      It’s been powered by gpt4 since November

    • @GabenGiveaways
      @GabenGiveaways Před 4 měsíci

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

    • @Naej7
      @Naej7 Před 4 měsíci

      @@Simon-us4bnHaters gotta hate

  • @NotHuman-bc1cc
    @NotHuman-bc1cc Před 4 měsíci

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

    • @parasight
      @parasight Před 4 měsíci

      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 Před 4 měsíci +1

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

  • @AllisonBernard_RI
    @AllisonBernard_RI Před 4 měsíci

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

    • @Naej7
      @Naej7 Před 4 měsíci +1

      There’s a try of one month

  • @polskizwiazeknaczelnychhej1100

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

  • @ardenttechie
    @ardenttechie Před 4 měsíci +1

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

    • @TheMelo1993
      @TheMelo1993 Před 4 měsíci

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

    • @sanjeevsethi6330
      @sanjeevsethi6330 Před 3 měsíci

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

  • @jered1
    @jered1 Před měsícem

    This guy reminds me of Jo Koy

  • @Tzalive
    @Tzalive Před 2 měsíci +1

    I hate that you put a price on this

    • @Kayzewolf
      @Kayzewolf Před 2 měsíci +1

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

  • @haha-eg8fj
    @haha-eg8fj Před 4 měsíci

    Not free...

  • @SigmaScorpion
    @SigmaScorpion Před 4 měsíci +18

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

    • @kiesun3276
      @kiesun3276 Před 4 měsíci +2

      I have watched all, give me copilot for free.

    • @aar021
      @aar021 Před 4 měsíci

      Pay up 😂

    • @cyclone760
      @cyclone760 Před 4 měsíci

      just do open source development

    • @vancekang
      @vancekang Před 4 měsíci

      Dunbe a cheapskate

    • @one_step_sideways
      @one_step_sideways Před 4 měsíci

      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

  • @devlim
    @devlim Před 3 měsíci

    It's not free

  • @sirkato7751
    @sirkato7751 Před 4 měsíci

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

    • @Naej7
      @Naej7 Před 4 měsíci

      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