add unique sound for save (#247077)

fixes #239372
This commit is contained in:
Megan Rogge
2025-04-21 13:54:24 -07:00
committed by GitHub
parent 5f920106d0
commit 4fdad2d96c
3 changed files with 2 additions and 1 deletions

View File

@@ -319,6 +319,7 @@ export class Sound {
public static readonly editsKept = Sound.register({ fileName: 'editsKept.mp3' });
public static readonly editsUndone = Sound.register({ fileName: 'editsUndone.mp3' });
public static readonly nextEditSuggestion = Sound.register({ fileName: 'nextEditSuggestion.mp3' });
public static readonly terminalCommandSucceeded = Sound.register({ fileName: 'terminalCommandSucceeded.mp3' });
private constructor(public readonly fileName: string) { }
}
@@ -498,7 +499,7 @@ export class AccessibilitySignal {
public static readonly terminalCommandSucceeded = AccessibilitySignal.register({
name: localize('accessibilitySignals.terminalCommandSucceeded', 'Terminal Command Succeeded'),
sound: Sound.success,
sound: Sound.terminalCommandSucceeded,
announcementMessage: localize('accessibility.signals.terminalCommandSucceeded', 'Command Succeeded'),
settingsKey: 'accessibility.signals.terminalCommandSucceeded',
});