rubberduck-ai / rubberduck-vscode

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
MIT License
582 stars 70 forks source link

Add button to export conversation into Markdown #50

Closed nicoespeon closed 1 year ago

nicoespeon commented 1 year ago

This adds a button to each conversation that will export the whole conversation into Markdown format. User prompts are marked as # Question and bot answers are marked as # Answer.

Since the bot answers are already using Markdown syntax, we already get the proper formatting for free.

I decided to make it create a new document that can be saved. I think it makes it easier for the user to decide if they want to save it or not, and where to put it, how to name it, etc.

Closes #48

https://user-images.githubusercontent.com/1094774/220237710-41f2c7cc-c937-4ac8-a37f-5b242fd5399e.mp4