Hello everyone!
AI is everywhere, and we should benefit from the pro parts of AI.
When I first heard about GitHub Copilot, I imagined our future!
Today it's a newborn, but what about after a few years?
So, let's talk about this new incredible tool!
What is Github Copilot?
It is something like StackOverflow in your code editor. But no worries, it won't replace developers; it will help us - developers to do our job.
How does Github Copilot works?
GitHub Copilot is powered by Codex, the new AI system created by OpenAI.
Since it's using AI, it needs training data. So, it's actually been trained on source code from publicly available sources, including public GitHub repos.
How to install GitHub Copilot?
- First of all, you'll need to sign up for the waitlist to get access to the GitHub Copilot.
- You can install it on your favorite IDEs extensions. Search for "GitHub Copilot" and click the install button.
- Don't forget to restart the IDE.
How to test GitHub Copilot?
I'll play with JavaScript, but it works in most other languages.
- After you installed the GitHub Copilot extension, try to create a new js file; I'll go with index.js
- Then, inside index.js type "function randomNum"
- You will see the gray code which Copilot suggests.
- You can also Ctrl+click and see other possible options too.
- If you are okay with the solution, press the tab or click "Accept."
- GitHub Copilot will auto-complete the function for you.
The cool part is that you can create a function by writing a comment.
Example comment: // create an array of the numbers
What do you think? Will GitHub Codepilot be a StackOverflow killer?
What is GitHub Copilot?
#GitHub Codepilot
#How to install GitHub Copilot
#GitHub Copilot VSCode
#VSCode Extensions
#AI Programming
Rashad Mirza
Apr 1, 2022
Rashad Mirza
Lead senior developer, who spends his day by developing, tutoring and learning new languages
DEVELOPING
Since 2004
More posts
#Laravel
#Laravel Migration
#Laravel database
#Laravel Textarea
#nl2br
#Laravel blade textarea
#Textarea html laravel
#Laravel
#Laravel DebugBar
#Laravel testing
#Vue
#Vue.js
#Vuex
#Make Vuex state persistent
#Php artisan
#Laravel
#Laravel commands
#Migration