microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.99k stars 29.53k forks source link

Allow for exporting/importing Github Copilot Chat to be done programatically #228144

Open MyJumperBroke23 opened 2 months ago

MyJumperBroke23 commented 2 months ago

Right now, the workbench.action.chat.export command pops up the file save window. For a copilot extension I'm building, it would be very helpful to be able to do something like

vscode.commands.executeCommand('workbench.action.chat.export', 'filename', 'path/to/save/destination');

roblourens commented 2 months ago

Interesting, can you tell me more about your extension?

MyJumperBroke23 commented 2 months ago

Apologies, but I agreed with the person I'm working on this with to not reveal too much info as it's a part of a larger project. This feature would be super super helpful, if I write it out and create a PR for it, do you know how long it would take for it to get approved?