DiffLineInserted

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

{
  "accessibility.signals.diffLineInserted": {
    "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 inserted 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 inserted 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 adding a blank line weirdly counts as a modified line and not an inserted line and will instead play the signal for accessibility.signals.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.accessibilitySupport": "off".