I am using GitHub Copilot in VSCode.
Question: When Copilot says Sure, I'll add xyz to your code
, how do I tell it go ahead and do it?
Here is what is happening:
- I asked Copilot to Dockerize my spring boot based web applicaition.
- Copilot suggested changes. It correctly suggested to add
dockerfile
and.dockerignore
file - My next prompt was:
yes, I am ok with the suggestions. Go ahead and update the project with the changes you suggested.
- To which Copilot responded same suggested changes with first line saying
Sure, I'll add the Dockerfile and .dockerignore to your project.
(see the screenshot below). But it didnot
make any changes to the project. And I couldn't see any clickable button at the end of the suggestion to approve the action.
So the question is: How do I tell it to Just do it
?
Do I have to use any specific command to accept the suggestion?
Screenshot of the conversion:
I am using GitHub Copilot in VSCode.
Question: When Copilot says Sure, I'll add xyz to your code
, how do I tell it go ahead and do it?
Here is what is happening:
- I asked Copilot to Dockerize my spring boot based web applicaition.
- Copilot suggested changes. It correctly suggested to add
dockerfile
and.dockerignore
file - My next prompt was:
yes, I am ok with the suggestions. Go ahead and update the project with the changes you suggested.
- To which Copilot responded same suggested changes with first line saying
Sure, I'll add the Dockerfile and .dockerignore to your project.
(see the screenshot below). But it didnot
make any changes to the project. And I couldn't see any clickable button at the end of the suggestion to approve the action.
So the question is: How do I tell it to Just do it
?
Do I have to use any specific command to accept the suggestion?
Screenshot of the conversion:
Share Improve this question asked Jan 30 at 11:04 Dhaval DDhaval D 1,5152 gold badges21 silver badges30 bronze badges1 Answer
Reset to default 0I guess you'll have to create the file yourself since copilot can't create the file in your IDE but provide the code you needed then copy paste if that's what you want.