From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Save a chat thread

Save a chat thread

Copilot saves your chat sessions in your local workspace, meaning the history lives only on your machine. Each team member has their own private chat history and nothing is shared through the repository. This is good because it keeps exploratory conversations and half-formed ideas private, preventing unnecessary clutter from being committed to the project and ensures you never lose your older conversations or discussions. Everything stays for you to revisit whenever you need it. To preserve a session intentionally you have two options export chat or save prompt. Exporting is useful when you want to share a conversation or keep a copy outside of Copilot. This is saved as a JSON file so the way you export a file is to open the command palette that's control shift P on my computer and then type in chat and here's the item we're for export chat. Once you've exported a chat, you can also import it into another copy of Visual Studio using import chat. I'll choose the top item that brings up…

Contents