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.
- Хобби
Check out my latest project! git.new/answr ⭐
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.
As always, let me know if you have any questions and if you enjoyed this! If you enjoyed, please like, comment & subscribe😊
i cant find copilot labs extension ?
This video has been incredibly helpful for my programming journey.
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.
Thank you for pointing this out. Please excuse me while I temporarily turn off co pilot! 👨✈️
I appreciate the step-by-step instructions you provided.
Your explanations were clear and easy to follow.
I can't wait to try out these techniques in my own projects.
A very quick and extensive overview indeed! Thanks!
Thanks for watching Stas!
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
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
Thanks Kyle! 🙏
@@DevelopersDigest do you currently have a discord
Immediately installed and signed up for the 2-month trial. Amazing stuff.
When you have to check and understand what Copilot suggests, you can also write the code by yourself and actually be proud
Outstanding. I learned a ton. Thanks for making it.
I'm not paying
Great video! Thank you! What theme is that? How did you figure that animation that makes sparkles pop when you click on a brush?
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
Thank you very much especially for Co-Pilot Labs
Thanks for watching Nick
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.
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?
Didn't know about the labs. Thanks :)
Thanks for watching DevOps Bytes!
Thank you for pointing me to Labs!
Thanks for watching!
The brushes are really useful looking
The brushes are super useful, I have found that the custom brush in particular has become my favourite feature without Copilot labs!
Thank you. This was very helpful
Thanks for watching! 🙂
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.
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!
What's the font you use in vscode? Very neat
I am using the Cobalt Next theme which combines the Oceanic Next and Cobalt2 Theme. Fonts are: Operator Mono, Menlo, monospace. Cheers!
For those on Linux: Alt+], Alt+[.
Shame you only provided the keys for macOS, but kudos for taking the time.
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!
It cracked me up when you clicked Add Types and it added `any` type everywhere
yes, and the "make robust" just adds a try/catch around the code.
Can you control Windows with Copilot voice commands like opening apps, using file explorer and browsing the web?
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!
@@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?
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.
There is a data connector in AnythingLLM for Github that might work well for you!
ruclips.net/video/or8XrZApfgE/видео.html
Thanks
Good explanation 🤝
Thank you 🙏
After installing, i meet errors like: Something went wrong checking access: No instance of has been registered.Can people help me?
Have you signed up for the trial before installing?
I'm so lost. How do I get the little bear on the right hand side of the screen?
Install the GitHub copilot extension (I assume it’s the GitHub copilot icon you are referring to)
Thank you a lot!
Thanks for watching Kuralay!
I can't seem to find github copilot labs in Android studio, I am not sure why..
This may be only available on certain editors at the moment!
@@DevelopersDigest Well, I hope they make it official very soon.
what do u mean by the option key is it the ALT ?
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
@@DevelopersDigest thx man apperciate it
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 😊
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!
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.
fabulous
Thanks Dave!
Does the comments need to be // or can we use # ?
You can use program language specific comments not just //
genuine question but will using copilot make you a worse programmer?
Shortcuts have changed - you should say the name of the keybinding so that users can find them, themselves
can I use this in vs 2022?
Yes you can, more info here: devblogs.microsoft.com/visualstudio/github-copilot-in-visual-studio-2022/
Does it generate documentation ?
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 😀
sure i use this with chatgpt?
You absolutely could if you’d like!
I wish I had a friend that is a programmer
👋
@@DevelopersDigest what's your contact or cell number
Can it read errors and give some solutions too ?
It most certainly can, the copilot brushes feature has a fix bug 🐜 button that you might find useful!
@@DevelopersDigest i didnt clarify better. I was thinking if it read the errors from the console ? And can act on that.
Great video and thumbs up...but sad news - i found the video 1 day before github is ending the labs trial (12-15) :( :( :(
Thank you! I unfortunately received that email that week as well.
so that's why i cant fight the extention
make an update about copilot X
I am currently on the wait list. Once I have access I will do a full breakdown similar to this… stay tuned 🙂
github copilot lab is not exist in jetbrains plugin
Thank you for letting us know!
Does anyone know how to use the recommended keyboard shortcuts in Windows?
docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment
is this sponsored?
Not sponsored! 🙂
Add types? adding any is actually worst than no types... come on copilot!
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.
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!! 🙏
@@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!
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
These next several years are going to be interesting to say the least!
@@DevelopersDigest yee very interesting indeed was not expecting AI will take off so quickly, and to keep yourself relevant better join the tribe
why do you have fake comments?
No idea Ross! 🤷♂️
No good. No option key.
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!
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
You say scary I say exciting
I can't wait to try out these techniques in my own projects.
Thanks
Thanks for watching Ahmed!
I can't wait to try out these techniques in my own projects.