Optional ReadonlydetailDetail text for a modal.
Optional ReadonlymodalShow as a modal dialog (default: true).
Optional ReadonlynoText for the negative button (default: English 'No'). Localize for user-facing UI.
Optional ReadonlyrememberWhen set, adds a third button that answers yes and stops asking.
Choosing it writes true to remember, and every subsequent call with
the same store resolves to true immediately without prompting.
The default label says so — 'Yes, Always', not "Don't Ask Again".
The two are not the same promise: the second reads as "stop bothering me"
while doing the opposite of what a dismissal does, which is the worst place
for a button to be ambiguous. Override it with rememberText to
localize or to word it for a specific action.
VS Code's own window.show*Message has no native checkbox for extensions
— this is the button-plus-persistence pattern extensions build by hand.
A storage declared with defineStorage<boolean> satisfies this, which is
where the acknowledgement belongs: it is persisted state like any other,
with a key and a schema you can read in one place.
Optional ReadonlyrememberText for the remembering button (default: English 'Yes, Always').
Localize for user-facing UI. Ignored without remember.
Optional ReadonlyseverityIcon/dialog severity (default: 'warn'). Not every confirmation is
about a destructive action — use 'info' for a plain yes/no question.
Optional ReadonlyyesText for the affirmative button (default: English 'Yes'). Localize for user-facing UI.
Options for NotificationService.confirm.