Feature Request: Auto-persist Imported Chat State
Summary
When importing a previously exported chat into VS Code, the chat state should be automatically persisted by the IDE, just as it is for chats created in regular chat windows.
Problem
Currently, when a chat is imported from an exported file, its state is not automatically saved. This creates a critical data loss risk:
- If the editor crashes before the user exports the chat again, all changes are lost
- If the user forgets to manually export the chat and closes the editor, the state is lost
- The imported chat behaves inconsistently with regular chats, which are auto-saved
Current Behavior
- User exports a chat to a file (e.g.,
exported-chat.json)
- User imports that chat in another workspace/session
- User continues the conversation, making modifications
- State is not persisted — unless the user manually exports again
- Any unexpected closure (crash, accidental exit) results in data loss
Expected Behavior
- User exports a chat to a file
- User imports that chat in another workspace/session
- VS Code automatically saves the chat state, treating imported chats the same as regular chats
- Chat persistence works transparently without requiring manual export steps
Use Case
- Backup & Restore: Users want to back up important chats and resume them later without data loss
- Multi-workspace Usage: Users want to move chats between different VS Code workspaces and maintain state continuity
- Multi-session Continuation: Users want to close the editor and resume an imported chat later with full state intact
Proposed Solution
Extend VS Code's chat persistence mechanism to include imported chats, using the same auto-save strategy applied to regular chats. This would:
- Eliminate manual export/import cycles
- Provide consistent data persistence regardless of chat origin
- Reduce user friction when working with exported chats
Additional Context
- This is particularly important for users who collaborate on chats or need to preserve chat history across sessions
- The existing persistence mechanism for regular chats proves VS Code can handle this; imported chats should follow the same pattern
Feature Request: Auto-persist Imported Chat State
Summary
When importing a previously exported chat into VS Code, the chat state should be automatically persisted by the IDE, just as it is for chats created in regular chat windows.
Problem
Currently, when a chat is imported from an exported file, its state is not automatically saved. This creates a critical data loss risk:
Current Behavior
exported-chat.json)Expected Behavior
Use Case
Proposed Solution
Extend VS Code's chat persistence mechanism to include imported chats, using the same auto-save strategy applied to regular chats. This would:
Additional Context