Skip to content

Ability to "Save As" GitHub Copilot chat in editor as Markdown using tab title as filename. #272076

Closed as not planned

Description

When typing in a chat that has been opened in the editor, we need the ability to:

  1. Use the "File > Save As..." command (Ctrl+Shift+S) or other command to save/export the chat.
    • A file save dialog should come up, with "Markdown" selected by default.
    • The file save dialog should have the current tab title (the summary of the chat) as the default filename.

That is a single command/keystroke!

Currently we have to go through all this:

  1. Right click on the chat content.
  2. Select "Copy All".
  3. Open a new editor tab that is not a chat ("File > New Text File").
  4. Paste the contents.
  5. Use the "File > Save As..." command (Ctrl+Shift+S).
  6. Manually type in title of the other tab.

Activity

  1. justschen commented on Nov 10, 2025

    @justschen
    Collaborator

    you can try Chat: Export Chat

  2. garretwilson commented on Nov 10, 2025

    @garretwilson
    Author

    Please reopen. This request is not "completed" as marked.

    Chat: Export Chat performs a different function: it exports to JSON. That's a completely different use case.

    Please read carefully the description; I explained in detail the requested functionality, which does not exist currently.

    If you would prefer to add "Markdown" as one of the options of Chat: Export Chat, that might work as well. We need the filename to default to the current tab title, as one would expect when saving or exporting any other type of file.

  3. justschen commented on Nov 10, 2025

    @justschen
    Collaborator

    apologies - skimming through a few issues at the moment.

    a few conversations about this have been brought up, namely #267396 about making something like this more front and center, but i'm a bit hesitant of making it that front and center. in the menu along with "copy/copy all" is maybe more okay though!

    If you would prefer to add "Markdown" as one of the options of Chat: Export Chat, that might work as well.

    however, this is probably the easiest way for us to make this happen since we already have some logic here. will give this a look, and see what works best. thanks for your patience

  4. Firstmeridian commented on Nov 19, 2025

    @Firstmeridian

    I need old command "/save". It can save the chat to Markdown easily. Not new "/savePrompt" command.
    "/savePrompt" command is good, but I need "/save" too.

  5. garretwilson commented on Nov 19, 2025

    @garretwilson
    Author

    Yeah, I don't know why this is so difficult to implement or even to understand.

    • VS Code is an IDE.
    • Each tab represents a view of some data stored in a model. (This is not a new concept; it's like MVC stuff from Borland C++ Object Windows Library (OWL) or Microsoft C++ Microsoft Foundation Classes (MFC) from like 30 years ago.)
    • The IDE presents a unified interface for doing things with the data in the model via the view in the tab. These things can be saving/exporting, whatever.

    In short, if a chat show up in a tab, I expect the same sort of commands to work as I would with a text file as far as saving it or exporting or printing it (haha) or whatever.

  6. Firstmeridian commented on Nov 20, 2025

    @Firstmeridian

    Yes, I wonder why they use "/savePrompt" command to replace "/save"

  7. emboss commented on Nov 26, 2025

    @emboss

    I think the old /save would have solved the OP's issue? I used it all the time and now I have to go through the tedious procedure again as described by the OP.

    /savePrompt is not a replacement for /save as it does something different. It takes a lot longer and involves the LLM to summarize. It's a good new feature to have but it's not replacing /save. With /save, my intention was to quickly capture an entire chat as Markdown as is, so I can save it for later reference. In addition to a plain Copy All, it added useful information such as the underlying model and mode:

    ---
    description: New prompt created from chat session
    mode: agent
    tools: ['codebase', ...]
    model: GPT-4.1
    ---

    Could we

    • get Ctrl+Shift+S as proposed by Garret Wilson (@garretwilson)
    • or Chat: Export Chat with Markdown as target format
    • or restore the original /save (while keeping /savePrompt)
    • or have Copy All behave like /save
      ?

    In any case, I would really appreciate if the final solution included the additional information such as model, mode etc. I think it was really helpful and helped saving some time by not having to add it manually.

  8. justschen commented on Dec 9, 2025

    @justschen
    Collaborator

    cc Martin Aeschlimann (@aeschli) i don't see /save anymore - did we remove this in favor of something else?

  9. aeschli commented on Dec 9, 2025

    @aeschli
    Contributor

    The idea of /save was always to create a reusable prompt out of the current conversation. It was not intended to be am 'export' or save conversation. I understand that in its original state it could be used like that.
    That's why we renamed /save to '/savePrompt`

  10. added
    feature-request
    on Dec 12, 2025
  11. vs-code-engineering commented on Dec 12, 2025

    @vs-code-engineering
    Contributor

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  12. garretwilson commented on Jan 22, 2026

    @garretwilson
    Author

    Note that with #286758 it's even very difficult to get the title of the session! So there are actually several additional steps just to get the list of sessions and be able to pretend to rename the session just in order to copy the title!!

  13. vs-code-engineering commented on Jan 31, 2026

    @vs-code-engineering
    Contributor

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  14. vs-code-engineering commented on Feb 10, 2026

    @vs-code-engineering
    Contributor

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

chatfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions