You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Copilot Chat should directly apply suggestion as edited/new files #95
At a minimum we need to be able to give copilot access to the working directory and files.
I think many developers would like it to have write access as well as just read.
It could help speed up tasks such as making new reports when there are existing reports for copilot to use as a template.
Create new files based on what's being discussed etc.
I might be trying to jump a couple of years with the write access, but there's no reason it shouldn't be able to read what is right in front of it.
I would also love that. Atm it's not able to do some things that intellisense can do, just because it doesn't know even the full open file.(for example "remove unused imports")
Yeah, I thought it has a access to whole project, but seems it doesn't and also as I can see it's working using gpt-3.5 so it doesn't make sense to use it. ChatGPT plus will work better.
I see no reason why I should use Github Copilot Chat, when I have exactly the same user experience on https://chat.openai.com/ It would be a game changer if I could ask it questions regarding the whole codebase.
I do appreciate that it is able to access and understand GitHub repositories which allow easy integration but without it being able to read my active files I cannot have it work as efficiently as I need it to. It often forgets what I am referencing so it starts building new code. If it is using GPT-3 it is definitely falling behind however I have yet to see it make horrible mistakes like outdated includes which GPT does quite often.
changed the title [-]We need to be able to give it access to the project folder.[/-][+]Copilot Chat should directly apply suggestion as edited/new files[/+]on Jun 3, 2023
From what I understand, today the copilot has the same capacity as ChatGPT with an increase of being able to see the current context of the file that is open.
What I really wanted was to be able to give some commands like:
Copilot, create a crud for me based on the vehicles crud to register Elephants with id, name, sex and weight properties.
Copilot should already understand my source, my standards and create a list of new entity files, repository, models, controllers, routes etc and also modify more where necessary like permissions etc.
It could even show a summary of what would be changed first (like a GIT diff for example) and have an "Apply" button.
Copilot, change the "name" property to "fullName" in all files in the /public/resources directory.
After confirmation, the change should be applied.
Very close to what Microsoft is doing with the copilot for their tools, but in the entire VSCode project.
Reacted by Narek Hakobyan, cezer, Andres Kalle and Yevhen Hlotov
Hey 👋 subscribers and readers: The July release added a smart action for applying Chat's codeblocks directly to the open file – not for new file or multiple files yet, so I am keeping this issue open, but as we polish the quality of this basic flow, we will explore those.
Please try this out and report feedback (via new issues, please), helping us make this work rock-solid for y'all.
Reacted by Wladimir Kirjanovs, Jianbo Lin, Matěj Kubík, Lukasz Raczylo and Nathan T.A. Lewis
Activity
SirV00lkon commentedon May 23, 2023
This shoul be a must, optional of course, but ready to roll at any moment
NikiLentz commentedon May 24, 2023
I would also love that. Atm it's not able to do some things that intellisense can do, just because it doesn't know even the full open file.(for example "remove unused imports")
NarHakobyan commentedon May 24, 2023
Yeah, I thought it has a access to whole project, but seems it doesn't and also as I can see it's working using gpt-3.5 so it doesn't make sense to use it. ChatGPT plus will work better.
JohannesHoppe commentedon May 25, 2023
I see no reason why I should use Github Copilot Chat, when I have exactly the same user experience on https://chat.openai.com/ It would be a game changer if I could ask it questions regarding the whole codebase.
At least I have Chat GPT-4 there!

TitaniumKnight1 commentedon May 27, 2023
I do appreciate that it is able to access and understand GitHub repositories which allow easy integration but without it being able to read my active files I cannot have it work as efficiently as I need it to. It often forgets what I am referencing so it starts building new code. If it is using GPT-3 it is definitely falling behind however I have yet to see it make horrible mistakes like outdated includes which GPT does quite often.
[-]We need to be able to give it access to the project folder.[/-][+]Copilot Chat should directly apply suggestion as edited/new files[/+]digitarald commentedon Jun 3, 2023
Focusing this to the gist of the initial comment, giving Copilot write access.
angrypro commentedon Jun 19, 2023
From what I understand, today the copilot has the same capacity as ChatGPT with an increase of being able to see the current context of the file that is open.
What I really wanted was to be able to give some commands like:
Copilot should already understand my source, my standards and create a list of new entity files, repository, models, controllers, routes etc and also modify more where necessary like permissions etc.
It could even show a summary of what would be changed first (like a GIT diff for example) and have an "Apply" button.
After confirmation, the change should be applied.
Very close to what Microsoft is doing with the copilot for their tools, but in the entire VSCode project.
8 remaining items
kakadais commentedon May 20, 2024
This was not applied yet?
To edit the code on the editor directly like the other AI plugin like 'continue' or 'AI Assistant for jetbrains'.
s-nt-s commentedon Aug 20, 2024
Please let me know when github copilot can make bulk changes like "format code", "remove unused imports", "document functions", "add typing", etc.
From what I understand from this issue, this can't be done yet, right?
I'll wait until it can be done to buy the subscription.
riadhnet commentedon Aug 21, 2024
i agree, this would be a powerful thing, otherwise i would copy paste like i do with other ai sites
digitarald commentedon Aug 21, 2024
Hey 👋 subscribers and readers: The July release added a smart action for applying Chat's codeblocks directly to the open file – not for new file or multiple files yet, so I am keeping this issue open, but as we polish the quality of this basic flow, we will explore those.
Please try this out and report feedback (via new issues, please), helping us make this work rock-solid for y'all.
jwedel commentedon Oct 10, 2024
One step further, think about the follwoing use case:
isidorn commentedon Oct 31, 2024
This is now done, please try out the Copilot Edits view and let us know what you think
https://code.visualstudio.com/docs/copilot/copilot-edits