Copilot Chat should directly apply suggestion as edited/new files · Issue #95 · microsoft/vscode-copilot-release · GitHub
Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
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

Closed

Description

@AndyOR-R

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.

Activity

  1. SirV00lkon commented on May 23, 2023

    @SirV00lkon

    This shoul be a must, optional of course, but ready to roll at any moment

  2. NikiLentz commented on May 24, 2023

    @NikiLentz

    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")

  3. NarHakobyan commented on May 24, 2023

    @NarHakobyan

    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.

  4. JohannesHoppe commented on May 25, 2023

    @JohannesHoppe

    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!
    Screenshot 2023-05-25 at 13 18 12

  5. TitaniumKnight1 commented on May 27, 2023

    @TitaniumKnight1

    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.

  6. 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
  7. digitarald commented on Jun 3, 2023

    @digitarald
    Contributor

    Focusing this to the gist of the initial comment, giving Copilot write access.

  8. self-assigned this
    on Jun 12, 2023
  9. angrypro commented on Jun 19, 2023

    @angrypro

    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.

  10. 8 remaining items

  11. kakadais commented on May 20, 2024

    @kakadais

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

  12. s-nt-s commented on Aug 20, 2024

    @s-nt-s

    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.

  13. riadhnet commented on Aug 21, 2024

    @riadhnet

    i agree, this would be a powerful thing, otherwise i would copy paste like i do with other ai sites

  14. digitarald commented on Aug 21, 2024

    @digitarald
    Contributor

    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.

    Image

    Please try this out and report feedback (via new issues, please), helping us make this work rock-solid for y'all.

  15. removed
    chat-contextEditor context for grounding conversations
    context-increaseRequest that ask us to increase our current scope of contextual understanding
    on Aug 21, 2024
  16. jwedel commented on Oct 10, 2024

    @jwedel

    One step further, think about the follwoing use case:

    • I want to apply a transformation to multiple files
    • I select let's say 5 files
    • Enter a prompt like "Remove all comments" or "transform the bullet point list into an AsciiDoc table using xy as headers.."
    • Apply that to all files (sequencially). There is actually no need to put all files into context at the same time.
  17. isidorn commented on Oct 31, 2024

    @isidorn

    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

  18. locked and limited conversation to collaborators on Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitypanel-chatChat conversation sidepanel

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions