Get to know GitHub Copilot in VS Code and be productive IMMEDIATELY
Ғылым және технология
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
Пікірлер: 65
The most useful video on how to use Github Copilot in VS Code.
@AwaisAli-bb7rk
Ай бұрын
yes that's true
Very informative and succinct. Thank you!
Thanks for your time! Excellent video and excellent explanation !
Thanks for the info!
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
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
2 ай бұрын
😅😅😅😅😅😅😅
Thank you for the guidance :)
Awesome 🔥🔥
Magic ✨
what iis the VS theme youre using ?
fire!
TYVM
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
2 ай бұрын
Have them opened in the editor, or specify @workspace in the Copilot Chat
@code
2 ай бұрын
@@Naej7 @workspace is the answer!
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.
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
2 ай бұрын
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
2 ай бұрын
@@codeYep. Both are installed.
@keithprice3369
2 ай бұрын
@@codeTurns out there's a Setting for line complete that needed to be set to true. It works now.
wonderful
I mostly need it in edge cases and there it cant really help me... :(
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
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
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
2 ай бұрын
@@coopernik thanks for the feedback. We're aware that inline chat has some room for improvement and we're working on it!
@user-zt4ny6lx5l
2 ай бұрын
I would also love it if it worked with the .NET interactive kernel and Polyglot notebooks.
Visual Studio on MacOS:can't get to inline chat as Command-I gets trapped by VS!
Gitpilot = money
is there a way to find specific text from github copilot chat ?
@code
10 күн бұрын
like a search for chat history?
@creativehacksolutions
3 күн бұрын
@@code yes
And also cmd + enter is not working on Mac. Look on this issue
@parasight
2 ай бұрын
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
2 ай бұрын
CTRL+Enter (instead of CMD+Enter) works for me as described on macOS VS Code
Can't wait until Github Copilot has the year-old GPT-4.
@Simon-us4bn
2 ай бұрын
It’s been powered by gpt4 since November
@GabenGiveaways
2 ай бұрын
@@Simon-us4bn he's talking about turbo
@Naej7
2 ай бұрын
@@Simon-us4bnHaters gotta hate
Can i get for free? if not what is the free alternative?
Is there any way to get it for free to learn it.
@Naej7
2 ай бұрын
There’s a try of one month
being more productive and more productive, more productive and more productive. be more productive and more productive. at the end there are no human.
Note that Copilot won't be available during code interviews.
@TheMelo1993
2 ай бұрын
Only if the interview/employer is crappy or for very specific extraconfidential projects
@sanjeevsethi6330
Ай бұрын
@@TheMelo1993 if thats the case then i am sure more than 90 % of interviewers are crappy
Give me copilot for free .... I will watch all vs code copilot related videos 😅
@kiesun3276
2 ай бұрын
I have watched all, give me copilot for free.
@aar021
2 ай бұрын
Pay up 😂
@cyclone760
2 ай бұрын
just do open source development
@vancekang
2 ай бұрын
Dunbe a cheapskate
@one_step_sideways
2 ай бұрын
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
Not free...
That sidebar chat is stupid... I use GPT instead for long context problem now.
@Naej7
2 ай бұрын
It’s good for small question only, I agree
I hate that you put a price on this
@Kayzewolf
12 күн бұрын
It’s $10/mo… lol It costs money and development to provide this service, after all.
Plot Twist: The code shown at 0:44 is actually very bad and should not pass any checks.
@Naej7
2 ай бұрын
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
It's not free