admin管理员组文章数量:1314843
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.
本文标签: How to get Copilot to implement its own suggestionStack Overflow
版权声明:本文标题:How to get Copilot to implement its own suggestion? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741971064a2407840.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论