admin管理员组

文章数量:1315110

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:

  1. I asked Copilot to Dockerize my spring boot based web applicaition.
  2. Copilot suggested changes. It correctly suggested to add dockerfile and .dockerignore file
  3. My next prompt was: yes, I am ok with the suggestions. Go ahead and update the project with the changes you suggested.
  4. 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 did not 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:

  1. I asked Copilot to Dockerize my spring boot based web applicaition.
  2. Copilot suggested changes. It correctly suggested to add dockerfile and .dockerignore file
  3. My next prompt was: yes, I am ok with the suggestions. Go ahead and update the project with the changes you suggested.
  4. 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 did not 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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

I 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.

本文标签: How to get Copilot to implement its own suggestionStack Overflow