GitHub Copilot in VSCode: Top 10 Features Explained
GitHub Copilot's Top 10 Features Explained in the Visual Studio Code (VS Code) editor!
◾◾◾◾◾ Timestamps ◾◾◾◾◾
00:00 | GitHub Copilot - An Introduction
00:05 | 1. Q&A Comment Blocks
00:49 | 2. Copilot Chat Windows
01:36 | 3. Language Support
02:05 | 4. Cycle through Suggestions
03:20 | 5. Fit it & Explain it
04:30 | 6. Terminal Fix it Function
05:34 | 7. Generate Commit Messages
06:12 | 8. Workspace Agent
07:27 | 9. VSCode Agent
08:28 | 10. Pinned Comment
◾◾◾◾◾ 🌎 Let's Connect! ◾◾◾◾◾
🐦 Twitter (X): 🔗 / @max_on_tech
📂 GitHub: 🔗 github.com/maxontech
🔊 Discord: 🔗 / discord
🏹 ProductHunt: 🔗 www.producthunt.com/@m4x
✅ Blog: 🔗 maxontech.io/courses
◾◾◾◾◾ Hashtags ◾◾◾◾◾
#Copilot #GithubCopilot #VSCode
Пікірлер: 61
Did I miss any features? Let me know below :)
Thank you for the video. It's great to use the @workspace feature.
Sei stato il più esaustivo.....grazie.
Very good video. I was wondering about the @workspace stuff. Thank you!
@MaxOnTech
23 күн бұрын
yes, workspace helps to give context :)
Very informative, thank you!
@MaxOnTech
3 ай бұрын
glad i could help :)
thanks, that was really helpful!!
Thanks you, very useful video tutorial, go ahead pal.
Sehr gut erklärt. Danke
@MaxOnTech
3 ай бұрын
Tach und Danke! 😁
Most helpful shortest video!!!
@MaxOnTech
22 күн бұрын
glad it was helpful! :)
When fixing is there a feature to add relevant stack overflow or Google search results as context?
I liked the unit test cases creation feature using /test command
@MaxOnTech
12 күн бұрын
interesting... haven't seen that yet
Short and sweet explanation ❤ Does it support writing code for codeigniter 4 ?
@MaxOnTech
Ай бұрын
hey, thanks :) hmm unfortunately I'm not familiar with codeigniter...
This is great
@MaxOnTech
3 күн бұрын
glad it helped :))
Any tips on how to tell copilot to chill out on function arg completion? It hallucinates nearly half of the arg completions- intellisense is much more useful unless there's a way to tune this.
helpful video
@MaxOnTech
12 күн бұрын
awesome. glad it helped (:
Hi, how do I let it index multiple files (like for a website project), and ask it to do modfications in them?! ...like, add multiple sign up options (gmail/fb account). Thanks for the insight.
wish there was one like this for Visual Studio!
@KaviyaCommerce
Ай бұрын
It has
Very informative, exactly what I needed! The @workspace does not seem to work with the project I'm working in. Maybe it is too large? Over 1.2 million LOC lua
@MaxOnTech
3 ай бұрын
Yea, workspace is a mystery sometimes. I also have issues with it sometimes.
@taquito5242
3 ай бұрын
it is VERY large, so yes, most likely source of error
@zulupox
3 ай бұрын
@@MaxOnTech Thank you :)
@zulupox
3 ай бұрын
@@taquito5242 Yeah tell me about it. I need an AI to keep track of how it all fits together 😂 Then again...
In Github Copilot Chat, how do I remove the error "No parent node found" message when the /fix command fails?
Man , I didn't knew it supports native lang and its easy to query in native lang
Isn't there a feature where in the commandline you can run something like "/ create flask app" and it creates all the required files?
@FreeEasyAI
3 ай бұрын
The /new keyword in chat. Type /new scaffold flask app
How are you getting that star icon in terminal, I cant see it anywhere, do I need to enable something?
@MaxOnTech
3 ай бұрын
I think it only appears when there is an error in the terminal. You only need github copilot enabled and it should be there by default
Cmd+Shift+I on my Mac doesn't work for some reason
For me, the q-syntax doesn't work. Even though I can chat with Copilot using the chat window and Copilot making suggestions in my code while typing, I don't get an answer after typing the question as shown in Tip 1). Any idea why?
@MaxOnTech
3 күн бұрын
hey, yes, I think I know what the issue could be. Check what coding language you're using. The q needs to be in a comment. In python you make them with hashtags # but in other languages you dont.
@chrille91
2 күн бұрын
@@MaxOnTech Thanks for your answer! Unfortunately, that's not the reason. I'm currently programming in Python using Jupyter Notebooks in VS Code. But I'm using Windows and I have a friend using Windows, too who has the same problem, while another friend uses Mac and can use the syntax just fine.
Could I disable the copilot autosuggestion and call it at some point with a keyboard shortcut when I need it??
@Bogdanisar
Ай бұрын
Yes, you can. - First disable the automatic invocation of inline copilot by going to: Visual studio code settings > Extensions > Copilot > "Editor: Enable Auto Completions" > Untick the setting. - Second, make sure you have a keyboard shortcut assigned for the "Trigger inline suggestion" action. This is usually "Alt + \" on Windows or "Option + \" on Mac by default. If you don't have a shortcut, then you can set one in the Keyboard Shortcuts section of Visual Studio Code. Note: Even if you tell Copilot that you want a suggestion by pressing the shortcut, it doesn't always have a suggestion for you at that line in the code so nothing will happen in that case.
@abdoulbachirgadodanzama6171
18 күн бұрын
Thanks@@Bogdanisar
brilliant
we can write test cases and add documentation
@MaxOnTech
2 ай бұрын
Yes, true. Writing test cases manually was always quite cumbersome
Can the chat window be an isolated window? like has been added lately to vsc?
@MaxOnTech
3 ай бұрын
hey randy, that feature wasn't implemented last time I used copilot unfortunately
@aallxxmf
2 ай бұрын
I recently tested it and you can isolate the window!
Automatic suggestion fo github codes?
@MaxOnTech
Ай бұрын
yes, that's helpful too
Fun fact: it's just called a hash. "Hash tag" is a social media concept of tagging posts using a tag, not the name of the symbol
@MaxOnTech
Ай бұрын
haha yes, true. I'm somehow used to saying hashtag 😂
It's funny to me that 90% of it is here since decades. Like the where is my reference stuff. Maybe it wasn't your goal, but I would highly prefer to see these features against complex stuff instead. Because if this tool does not handle complex question, it is currently useless. Like asking a general question in copilot that is more constraint than a web search is pointless as you narrow the possible answers and you gain no time (switch tab and internet is so fast). IMO if the tool doesn't improve a lot in term of correctness, intuitive use (and fast), it will never be useful for anyone writing complex code. In term of learning, it's quite good instead, like you can smooth the learning of a new programming language a lot, or as a very beginner, you can feel less friction by never leave your code editor and having a sort of personal teacher is great. Personal teacher is one of the main field where it must go, like khan academy does. Of course as these tools improve *a lot* in the decades to come, my personal opinion will change
@xSchockZz
3 ай бұрын
He showed generel functions, not the accuracy of github copilot. You say that 90% was here before. Did you use copilot so far to know what it does and where it helps? Ur probably right, but the copilot helps u find those information way quicker and also shortens a lot of codetyping.
@chomage84chomage84
3 ай бұрын
that's cope.
@axeldaguerre7309
3 ай бұрын
Your answer didn't make me think differently, and I won't make more descriptions of my thinking. LLM can solve some problems we have, like a checker for an obvious error you have in your code, but the features are really not where we should celebrate them or even advise people to use them (as they are worse). Searching for something in my code is like 10x faster than this without adding the experience you will gain in navigating when you do it, and your brain will make a model of the complexity the source code may have. @xSchockZz