Nice video, I use a few stuff which you have not mentioned 1. Write Test cases 2. Write documentation 3. Select a function in code editor space, and ask a fix on it or make an enhancement on it - in the chat window - This can be used when @workspace context is not needed, as in most cases 4. /explain to explain the selected snippet of code in detail - useful for undocumented code, it can be combined with @workspace to find usages and code change impacts
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.
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.
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.
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
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?
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.
@@MaxRohowsky 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.
So far the Copilot is pretty useless with complex projects - it might be helpful with small and simple ones only. But I don't lose the hope... I believe it will be there in a year or two... :)
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
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.
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
Did I miss any features? Let me know below :)
Hi Max, do i need to purchase the subscription before i can use copilot?
@@FateflyYip Yes at a minimal is 10 dollars a month for an individual.
Nice video, I use a few stuff which you have not mentioned
1. Write Test cases
2. Write documentation
3. Select a function in code editor space, and ask a fix on it or make an enhancement on it - in the chat window - This can be used when @workspace context is not needed, as in most cases
4. /explain to explain the selected snippet of code in detail - useful for undocumented code, it can be combined with @workspace to find usages and code change impacts
Thank you for the video. It's great to use the @workspace feature.
I liked the unit test cases creation feature using /test command
interesting... haven't seen that yet
Very informative, thank you!
glad i could help :)
Very good video. I was wondering about the @workspace stuff. Thank you!
yes, workspace helps to give context :)
When fixing is there a feature to add relevant stack overflow or Google search results as context?
How are you getting that star icon in terminal, I cant see it anywhere, do I need to enable something?
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
Thanks you, very useful video tutorial, go ahead pal.
Sei stato il più esaustivo.....grazie.
Short and sweet explanation ❤
Does it support writing code for codeigniter 4 ?
hey, thanks :) hmm unfortunately I'm not familiar with codeigniter...
Could I disable the copilot autosuggestion and call it at some point with a keyboard shortcut when I need it??
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.
Thanks@@Bogdanisar
Most helpful shortest video!!!
glad it was helpful! :)
Helpful, thanks man
Isn't there a feature where in the commandline you can run something like "/ create flask app" and it creates all the required files?
The /new keyword in chat. Type /new scaffold flask app
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.
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.
Sehr gut erklärt. Danke
Tach und Danke! 😁
Can the chat window be an isolated window? like has been added lately to vsc?
hey randy, that feature wasn't implemented last time I used copilot unfortunately
I recently tested it and you can isolate the window!
thanks, that was really helpful!!
Hi @MaxRohowsky - Can you make a video showing how to translate a code from one language to another language. May be from Scala to python?
In Github Copilot Chat, how do I remove the error "No parent node found" message when the /fix command fails?
Automatic suggestion fo github codes?
yes, that's helpful too
How to off Automatic suggestion for github codes? coz I want to code my own.
Cmd+Shift+I on my Mac doesn't work for some reason
we can write test cases and add documentation
Yes, true. Writing test cases manually was always quite cumbersome
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
Yea, workspace is a mystery sometimes. I also have issues with it sometimes.
it is VERY large, so yes, most likely source of error
@@MaxRohowsky Thank you :)
@@taquito5242 Yeah tell me about it. I need an AI to keep track of how it all fits together 😂 Then again...
wish there was one like this for Visual Studio!
It has
Man , I didn't knew it supports native lang and its easy to query in native lang
This is great
glad it helped :))
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
haha yes, true. I'm somehow used to saying hashtag 😂
Correct The Spelling fro "Fix It "
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?
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.
@@MaxRohowsky 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.
helpful video
awesome. glad it helped (:
So far the Copilot is pretty useless with complex projects - it might be helpful with small and simple ones only. But I don't lose the hope... I believe it will be there in a year or two... :)
❤
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
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.
that's cope.
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
brilliant