DiffLineDeleted

Plays a sound / audio cue when the focus moves to an deleted line in Accessible Diff Viewer mode or to the next/previous change.

{
  "accessibility.signals.diffLineDeleted": {
    "sound": "auto"
  } // default
}

Type

object

Default

{
  "sound": "auto"
}

Object Properties

KeyTypeDefaultRangeDescription
“sound”string“auto”“auto”, “off”, “on”Plays a sound when the focus moves to an deleted line in Accessible Diff Viewer mode or to the next/previous change.

Description

Controls if a sound signal will play when you focus a line that has been deleted in the Diff View. Sound signal will play when you move the cursor to the deleted line or when you use the Next Change/Previous Change commands. Note that deleting the contents of a line but not deleting the line itself will not play this signal, but will instead play the signal for accessibility.diffLineModified.

When sound is set to auto, the sound signal will play only if a screen reader is detected. When set to off, the sound signal will never play even when a screen reader is detected or when "editor.accessibilitySupport": "on". When set to on, the sound signal will always play even when a screen reader is not detected or when "editor.accessibiltySupport": "off".