GitHub Copilot in 7 Minutes 👨‍💻🤖🚀

Поделиться
HTML-код
  • Опубликовано: 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.
  • ХоббиХобби

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

  • @DevelopersDigest
    @DevelopersDigest  9 месяцев назад +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.

  • @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😊

  • @Tanargat
    @Tanargat Год назад +8

    This video has been incredibly helpful for my programming journey.

  • @mintydog06
    @mintydog06 11 месяцев назад +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  11 месяцев назад

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

  • @masverol
    @masverol Год назад +4

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

  • @chvykillr
    @chvykillr Год назад +3

    Your explanations were clear and easy to follow.

  • @briannetennis06
    @briannetennis06 Год назад +4

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

  • @staskrakovsky9872
    @staskrakovsky9872 11 месяцев назад +5

    A very quick and extensive overview indeed! Thanks!

  • @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

  • @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

  • @NewNerdInTown
    @NewNerdInTown Год назад +6

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

  • @maltimoto
    @maltimoto 3 дня назад

    When you have to check and understand what Copilot suggests, you can also write the code by yourself and actually be proud

  • @BruceElgort
    @BruceElgort Год назад +22

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

  • @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

  • @donxnik
    @donxnik Год назад +3

    Thank you very much especially for Co-Pilot Labs

  • @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.

  • @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

  • @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!

  • @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!

  • @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!

  • @user-ps8ov4yh5v
    @user-ps8ov4yh5v 7 месяцев назад +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.

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

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

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

      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 8 месяцев назад

      @@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?

  • @campionpesate4647
    @campionpesate4647 5 месяцев назад +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  5 месяцев назад

      There is a data connector in AnythingLLM for Github that might work well for you!
      ruclips.net/video/or8XrZApfgE/видео.html

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

    Thanks

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

    Good explanation 🤝

  • @LyTuan9999
    @LyTuan9999 Год назад +1

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

  • @chrishogan4010
    @chrishogan4010 9 месяцев назад +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)

  • @kuralaybiehler5638
    @kuralaybiehler5638 Год назад +1

    Thank you a lot!

  • @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.

  • @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.

  • @holdendp
    @holdendp Год назад +1

    fabulous

  • @kenniealbritton6390
    @kenniealbritton6390 26 дней назад +1

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

    • @DevelopersDigest
      @DevelopersDigest  26 дней назад

      You can use program language specific comments not just //

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

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

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

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

  • @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/

  • @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 😀

  • @LanceThorpe
    @LanceThorpe Год назад +1

    sure i use this with chatgpt?

  • @JustinMacri007
    @JustinMacri007 10 месяцев назад +2

    I wish I had a friend that is a programmer

  • @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.

  • @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

  • @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 RUclips 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 6 месяцев назад

      @@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 Год назад

    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.