editor: add confirmation prompt when executing clear editor history
#12496
Labels
editor
issues related to the editor
good first issue
good first issues for new contributors
ui/ux
issues related to user interface / user experience
Feature Description
The goal is to prompt end-users to confirm whether or not they want to actually clear their editor history (the history of recently opened editors). The confirmation will prevent clearing history accidentally for instance, and aligns with the behavior present in VS Code.
Related Code
Command Registration:
theia/packages/editor/src/browser/editor-navigation-contribution.ts
Lines 85 to 88 in 18b2503
ConfirmDialog:
Definition:
theia/packages/core/src/browser/dialogs.ts
Line 360 in 18b2503
Example Usage:
theia/packages/core/src/browser/dialogs.ts
Lines 394 to 402 in 18b2503
The text was updated successfully, but these errors were encountered: