[FEATURE] Add option to disable/lock the delete button for chat history in VS Code
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When using Claude in VS Code, the chat history delete button is always enabled with no way to prevent accidental deletions. There should be a user-controlled setting to disable or lock the delete button for chat history.
Use case:
It's easy to accidentally click the delete button and lose valuable conversation history. A toggle in the extension settings to disable the delete button — or require a confirmation step — would give users more control and prevent unintended data loss.
Proposed Solution
Proposed solution:
Add a setting like claude.chatHistory.disableDelete: true/false in VS Code settings
When enabled, the delete button is hidden or grayed out
Optionally, add a confirmation dialog before deletion even when the button is active
Expected behavior:
Users can opt in to locking their chat history from deletion, preserving context across sessions without risk of accidental loss.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗