GitHub Copilot in 7 Minutes 👨‍💻🤖🚀

Поділитися
Вставка
  • Опубліковано 21 лют 2023
  • GitHub Co-Pilot is an AI-powered code assistant that uses machine learning to suggest and complete lines of code as you type. In this video, we take a deep dive into Co-Pilot and explore how it can help developers be more productive and efficient in their coding workflow. We show you how to set up Co-Pilot in Visual Studio Code, and how it can be used to generate code for popular programming languages like JavaScript and Python. We also discuss the potential of AI-powered programming and the implications of using tools like Co-Pilot in the development process. Whether you're a beginner or experienced developer, this video will provide insights into how Co-Pilot can enhance your coding experience and accelerate your development process.
  • Навчання та стиль

КОМЕНТАРІ • 118

  • @DevelopersDigest
    @DevelopersDigest  8 місяців тому +1

    Check out my latest project! git.new/answr ⭐

  • @jamessullenriot
    @jamessullenriot Рік тому +52

    I finally gave into AI and have been using this. It does have some issues but so do I and every other dev on the planet. The biggest thing this does for me is remove blockers or help me get unstuck. Much in the same way when I would get stuck on something and chat with another dev about it. Sometimes in explaining the issue I actually come up with the answer. This is a tool to keep me engaged. Last week I was working on an issue that took roughly 2 -3 hours to solve. Normally that issue would have taken double, triple, or even more time. Not actual work time, but just getting up when I was stuck just to break the monotony. Using this tool I was engaged the whole time and was only limited by what I could think to ask. So overall I'm hooked. One caveat, currently you still need to know what you are doing and know all the basics. So its not like anyone can just jump in an start writing code and putting it all together to make something tangible.

  • @joewhite4564
    @joewhite4564 Рік тому +2

    This is ridiculous. I love it. This is how I pictiured Mannie programming Mike when I read "Moon is a Harsh Mistress" back in the 80's

  • @Tanargat
    @Tanargat Рік тому +8

    This video has been incredibly helpful for my programming journey.

  • @mintydog06
    @mintydog06 10 місяців тому +11

    I noticed Visual Studio has started doing something similar this recently, and I didn't even set up or install anything new, it just started doing it.

    • @DevelopersDigest
      @DevelopersDigest  10 місяців тому

      Thank you for pointing this out. Please excuse me while I temporarily turn off co pilot! 👨‍✈️

  • @NewNerdInTown
    @NewNerdInTown Рік тому +6

    Immediately installed and signed up for the 2-month trial. Amazing stuff.

  • @briannetennis06
    @briannetennis06 Рік тому +4

    I can't wait to try out these techniques in my own projects.

  • @masverol
    @masverol Рік тому +4

    I appreciate the step-by-step instructions you provided.

  • @chvykillr
    @chvykillr Рік тому +3

    Your explanations were clear and easy to follow.

  • @DevelopersDigest
    @DevelopersDigest  Рік тому +2

    As always, let me know if you have any questions and if you enjoyed this! If you enjoyed, please like, comment & subscribe😊

  • @TopBreakfastChef
    @TopBreakfastChef Рік тому +5

    thank you for this video, I had github already installed and paid for and I was looking for these tools because I seen it in another video online, but I didn't understand why these tools weren't available or showing. This explained everything currently testing it. I subbed hope you stay in the tech loop

  • @staskrakovsky9872
    @staskrakovsky9872 11 місяців тому +5

    A very quick and extensive overview indeed! Thanks!

  • @FreeEasyAI
    @FreeEasyAI 3 місяці тому

    The thing with code generators is, if you know how to code, it's great. You can tell it what you want, in small chunks, and let it do the grunt work of typing the code. But if you don't know how to code, it's hard to ask for what you want. And often hard to use what it gives you.
    For example, telling AI to "write a python tensorflow app for image classification" works fine. But it doesn't do you much good if you don't know what all those words mean, and don't know what to do with the code it generates.

  • @donxnik
    @donxnik Рік тому +3

    Thank you very much especially for Co-Pilot Labs

  • @cgj5132
    @cgj5132 Рік тому +1

    Great video! Thank you! What theme is that? How did you figure that animation that makes sparkles pop when you click on a brush?

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

      Right now I use cobalt 2, I believe the theme itself was slightly different for this video however. The sparkles to my knowledge were GitHub Copilot, I might have to circle back and see if it could be a side effect from another plug-in though! Cheers

  • @BruceElgort
    @BruceElgort Рік тому +22

    Outstanding. I learned a ton. Thanks for making it.

  • @christerjohanzzon
    @christerjohanzzon 5 місяців тому

    Great tooling that helps dev speed up their delivery, and spend more time eating popcorn. :D
    On a more serious note, is it possible to have copilot train on your own stack? Let stay a companys own code stack with algos, functions etc. used throughout the platform?

  • @devopsbytes
    @devopsbytes Рік тому +4

    Didn't know about the labs. Thanks :)

  • @doctorgoose7
    @doctorgoose7 Рік тому +2

    Thank you for pointing me to Labs!

  • @tommy516
    @tommy516 Рік тому +1

    The brushes are really useful looking

    • @DevelopersDigest
      @DevelopersDigest  Рік тому +1

      The brushes are super useful, I have found that the custom brush in particular has become my favourite feature without Copilot labs!

  • @sonny5497
    @sonny5497 Рік тому +2

    Thank you. This was very helpful

  • @user-ps8ov4yh5v
    @user-ps8ov4yh5v 6 місяців тому +1

    It cracked me up when you clicked Add Types and it added `any` type everywhere

    • @eco8user
      @eco8user Місяць тому

      yes, and the "make robust" just adds a try/catch around the code.

  • @usoppgostoso
    @usoppgostoso Рік тому +2

    For those on Linux: Alt+], Alt+[.
    Shame you only provided the keys for macOS, but kudos for taking the time.

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

      Thank you for pointing that out for others! 🙏 I apologize for not including Linux/Windows keys. If I have time, I will try and annotate these!

  • @gijovarughesemathew5479
    @gijovarughesemathew5479 Рік тому +1

    What's the font you use in vscode? Very neat

    • @DevelopersDigest
      @DevelopersDigest  Рік тому +1

      I am using the Cobalt Next theme which combines the Oceanic Next and Cobalt2 Theme. Fonts are: Operator Mono, Menlo, monospace. Cheers!

  • @bmp713
    @bmp713 7 місяців тому +2

    How do you get Copilot to show full code block suggestions from typing comments?
    My Copilot is only ever suggesting 1 line at a time, and no multiple suggestions. I have to hit Tab and Enter for each line which is extremely annoying.

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

      It does depend, since making this video GitHub copilot chat does now have a beta generally available where there should be the ability to type an input inline instead of a comment. I would give that a shot if you haven’t already!

  • @aexorsystem
    @aexorsystem 9 місяців тому +1

    Thanks

  • @bmp713
    @bmp713 7 місяців тому +1

    Can you control Windows with Copilot voice commands like opening apps, using file explorer and browsing the web?

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

      I haven’t heard of this functionality yet but I would imagine it’s coming soon. The technical pieces to make that possible are all there!

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

      @@DevelopersDigest You can use Serenade for coding, all Windows commands, mousing, and keyboard keys with voice. But I don't think Serenade is supported anymore.
      Is there an industry standard software stack for people with RSI to write code, mouse and control Windows/Mac with Voice alone?

  • @ashanthilochana4339
    @ashanthilochana4339 5 місяців тому +1

    Good explanation 🤝

  • @kuralaybiehler5638
    @kuralaybiehler5638 Рік тому +1

    Thank you a lot!

  • @chrishogan4010
    @chrishogan4010 8 місяців тому +1

    I'm so lost. How do I get the little bear on the right hand side of the screen?

    • @DevelopersDigest
      @DevelopersDigest  8 місяців тому

      Install the GitHub copilot extension (I assume it’s the GitHub copilot icon you are referring to)

  • @lonleybeer
    @lonleybeer 2 місяці тому

    genuine question but will using copilot make you a worse programmer?

  • @campionpesate4647
    @campionpesate4647 4 місяці тому +1

    I'm not a coder, but i need something that can analyze and explain to me code on github so that I get how it works. Can copilot do that? Chat GPT can't do this because it's a lot of code spread across many files.

    • @DevelopersDigest
      @DevelopersDigest  4 місяці тому

      There is a data connector in AnythingLLM for Github that might work well for you!
      ua-cam.com/video/or8XrZApfgE/v-deo.html

  • @RuneJeppesen
    @RuneJeppesen 2 місяці тому

    Shortcuts have changed - you should say the name of the keybinding so that users can find them, themselves

  • @kenniealbritton6390
    @kenniealbritton6390 14 днів тому +1

    Does the comments need to be // or can we use # ?

    • @DevelopersDigest
      @DevelopersDigest  14 днів тому

      You can use program language specific comments not just //

  • @alfykerolous1869
    @alfykerolous1869 8 місяців тому +1

    what do u mean by the option key is it the ALT ?

    • @DevelopersDigest
      @DevelopersDigest  8 місяців тому +1

      Option for Mac, Alt for Windows should work for most commands. Reference for different OS short cuts can be found here docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment

    • @alfykerolous1869
      @alfykerolous1869 8 місяців тому

      @@DevelopersDigest thx man apperciate it

  • @aarondiaz2506
    @aarondiaz2506 Рік тому +5

    It's so easy to code with copilot it give me in a second algorithms that would take me half an hour of thinking in the past 🤣 but you should know how to code because i have to correct bugs often so no shame 😊

    • @DevelopersDigest
      @DevelopersDigest  Рік тому +1

      Absolutely, copilot can really accelerate quite a lot but it is still not and will not be for some time a replacement for critical thinking and having to understand and comprehend code!

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

      Sometimes it kick me out of my line of thinking since if i'm deep in an algorithm the suggestions often distract me if they are in a different path to solving the problem that the one i was working on my mind. That is a thing of copilot that i dont like, sometimes i think well..i won't think anymore and i will let copilot do it for me...🤣but i don't feel happy with that, so i ignore the suggestions often even knowing i could be faster if i accept them.

  • @miladyshady5895
    @miladyshady5895 10 місяців тому +1

    I can't seem to find github copilot labs in Android studio, I am not sure why..

    • @DevelopersDigest
      @DevelopersDigest  10 місяців тому +1

      This may be only available on certain editors at the moment!

    • @miladyshady5895
      @miladyshady5895 10 місяців тому

      @@DevelopersDigest Well, I hope they make it official very soon.

  • @LyTuan9999
    @LyTuan9999 Рік тому +1

    After installing, i meet errors like: Something went wrong checking access: No instance of has been registered.Can people help me?

  • @JustinMacri007
    @JustinMacri007 10 місяців тому +2

    I wish I had a friend that is a programmer

  • @holdendp
    @holdendp Рік тому +1

    fabulous

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

    Does it generate documentation ?

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

      It can help in this process but it doesn’t yet have the ability to generate a full read me if that’s what you are looking for 😀

  • @nyhustler208
    @nyhustler208 Рік тому +1

    can I use this in vs 2022?

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

      Yes you can, more info here: devblogs.microsoft.com/visualstudio/github-copilot-in-visual-studio-2022/

  • @Answerphone
    @Answerphone 5 місяців тому +1

    Great video and thumbs up...but sad news - i found the video 1 day before github is ending the labs trial (12-15) :( :( :(

    • @DevelopersDigest
      @DevelopersDigest  5 місяців тому

      Thank you! I unfortunately received that email that week as well.

    • @mohammadsamra2068
      @mohammadsamra2068 5 місяців тому

      so that's why i cant fight the extention

  • @LanceThorpe
    @LanceThorpe Рік тому +1

    sure i use this with chatgpt?

  • @marcin6386
    @marcin6386 Рік тому +1

    Can it read errors and give some solutions too ?

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

      It most certainly can, the copilot brushes feature has a fix bug 🐜 button that you might find useful!

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

      @@DevelopersDigest i didnt clarify better. I was thinking if it read the errors from the console ? And can act on that.

  • @jordan-ho7gt
    @jordan-ho7gt Рік тому +2

    make an update about copilot X

    • @DevelopersDigest
      @DevelopersDigest  Рік тому +1

      I am currently on the wait list. Once I have access I will do a full breakdown similar to this… stay tuned 🙂

  • @lloricode
    @lloricode 8 місяців тому +1

    github copilot lab is not exist in jetbrains plugin

  • @katrinvanloechtern6292
    @katrinvanloechtern6292 9 місяців тому +1

    Does anyone know how to use the recommended keyboard shortcuts in Windows?

    • @DevelopersDigest
      @DevelopersDigest  9 місяців тому

      docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment

  • @Gokuguy1243
    @Gokuguy1243 3 місяці тому +2

    is this sponsored?

  • @pablollanos7421
    @pablollanos7421 10 місяців тому +1

    Add types? adding any is actually worst than no types... come on copilot!

  • @timothyrayner3626
    @timothyrayner3626 6 місяців тому +1

    Nice guide that gives a good idea of how copilot works. Would be nice that you didn't just assume that all developers code on Macs. \the option Key only exists on Macs. My only other criticism is that your commentary has the annoying jump-cut style ubiquitously added to all dialogue, in fact at the end of some sentences you don't even let the last word complete fully. Jump cuts should be used sparingly for flavoour otherwise they can be annoying and even confusing.

    • @DevelopersDigest
      @DevelopersDigest  6 місяців тому +1

      My apologies on not having windows commands.
      I have since moved away from jump cuts for the vast majority of videos I have made. This video was about a month into my UA-cam journey - looking back on it there is a number of improvements I would make for a round two! I completely agree for any future videos where I use jump cuts using them sparingly and making sure there are no hard cuts would be a great improvement.
      Thank you for your feedback!! 🙏

    • @timothyrayner3626
      @timothyrayner3626 5 місяців тому

      @@DevelopersDigest Might I add that it's great to have constructive criticism accepted graciously! It's put me in a great mood only slightly marred by the fact that there's an advert for "the Ridley Method" running in the background while I type this. That guy really annoys me!

  • @questwithshahzad3058
    @questwithshahzad3058 3 місяці тому +1

    well somebody or Govt. has to intervene and slow down these technologies getting into market otherwise software engineers like me who are SAFE under cover that we write something alien could be out of job in 5 years guys few years ago i was watching videos with coffee that how our IT system are going to replace accounts, typists with pride that we are doing something today again with a coffee i am thinking in few years we will also be history damn if somebody put a AI programmer who takes simple text input from a stupid business analyst and generate the working code for him and these AI programmers will not even spend time learning a new technology they simply know it from day 1 damn

    • @DevelopersDigest
      @DevelopersDigest  3 місяці тому

      These next several years are going to be interesting to say the least!

    • @questwithshahzad3058
      @questwithshahzad3058 3 місяці тому

      @@DevelopersDigest yee very interesting indeed was not expecting AI will take off so quickly, and to keep yourself relevant better join the tribe

  • @ross8824
    @ross8824 11 місяців тому

    why do you have fake comments?

  • @kenwood7195
    @kenwood7195 Місяць тому +1

    No good. No option key.

    • @DevelopersDigest
      @DevelopersDigest  Місяць тому

      Sorry about that! I wasn't expecting this video to get as much attention that it did when I made it. I had a few others mention it was too bad I didn't mention the windows key binding. Next time I will make sure to include!

  • @jayleejw1801
    @jayleejw1801 Рік тому +2

    Jesus Christ, these AI tools are so scary that soon, humans just need to describe a single line and AI will build the whole app from scratch

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

      You say scary I say exciting

  • @Avensisdansgrupp
    @Avensisdansgrupp Рік тому +1

    I can't wait to try out these techniques in my own projects.

  • @ahmedabuqamar1517
    @ahmedabuqamar1517 Рік тому +1

    Thanks

  • @Emijon
    @Emijon Рік тому +1

    I can't wait to try out these techniques in my own projects.