You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add Hard Reset button to clear Electron caches
- Implements a new hardResetElectronCache method in ClineProvider
- Adds 'Hard Reset' button to the About settings section
- Clears platform-specific Electron and VS Code cache directories
- Handles macOS, Windows, and Linux cache locations
- Includes comprehensive user confirmation and feedback
- Adds JSDoc documentation for the new functionality
- Includes all necessary translations
Fixes#8419
Copy file name to clipboardExpand all lines: src/i18n/locales/en/common.json
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@
16
16
},
17
17
"confirmation": {
18
18
"reset_state": "Are you sure you want to reset all state and secret storage in the extension? This cannot be undone.",
19
+
"hard_reset_electron_cache": "Are you sure you want to perform a hard reset? This will clear all Electron caches and VS Code data.",
20
+
"hard_reset_electron_cache_detail": "This action will:\n• Clear all VS Code caches\n• Clear all Electron caches\n• Clear IndexedDB, Local Storage, and Session Storage\n• Reset all extension settings\n\nYou will need to restart VS Code after this operation.",
21
+
"hard_reset_complete": "Hard reset completed. {{count}} cache directories were cleared.{{failed}}",
22
+
"hard_reset_some_failed": " ({{count}} directories could not be deleted)",
23
+
"hard_reset_no_caches_found": "No cache directories were found to clear.",
19
24
"delete_config_profile": "Are you sure you want to delete this configuration profile?",
20
25
"delete_custom_mode_with_rules": "Are you sure you want to delete this {scope} mode?\n\nThis will also delete the associated rules folder at:\n{rulesFolderPath}"
0 commit comments