I'd like to know how to turn off sounds coming from VS Code. I'm running VSCode on Windows 10. I did a search in the settings:
and nothing showed up.
This is because you possibly have accessibility Support enabled, so you just have to disable it.
...
"editor.accessibilitySupport": "off",
...
Alternatively, click on the settings icon, type editor.accessibility in the command line and you will see Editor: Accessibility Support. Select the "off" option.
VS Code v1.87 update:
Audio cues
is being replaced by Accesibility Signals
in the settings. So search in the Settings for signals
and you will find many settings like:
Accesibility > Signals: Line has Breakpoint
See also v1.87 Release Notes: Accessibility signals:
Accessibility signals
Accessibility signals encompass both sounds, formerly called audio cues, and announcements, formerly called alerts.
The commands Help: List Signal Sounds and Help: List Signal Announcements allow users to view the available signals and configure them. Migration to this new configuration happens automatically.
Before:
"audioCues.clear": "on | auto | off" "accessibility.alert.clear": true | false
After:
"accessibility.signals.clear": { "sound": "auto | on | off", "announcement" (optional): "auto | off" }
As it mentions above, your settings should be migrated aiutomatically from Audio Cues
to this new Accessibility > Signals
terminology.
Prior to vscode v1.87:
Looks like there will be a new setting in vscode v1.76 for
Audio Cues: Terminal Command Failed
"Plays a sound when a terminal command fails (non-zero exit code)."
see add audio cue for when a terminal command fails
The previous audio cue setting: Audio Cues: Enabled
is being replaced by a series of more specific settings.
But as of v1.66 there is a volume control for all audio cues that you could set to 0
to turn off or increase if the default of 50
is too low in volume:
You can individually enable/disable these:
Audio Cues: Diff Line Detected
Audio Cues: Diff Line Inserted
Audio Cues: Diff Line Modified
Audio Cues: Line Has Breakpoint
Audio Cues: Line Has Error
Audio Cues: Line Has Folded Areas
Audio Cues: Line Has Inline Suggestion
Audio Cues: Line Has Warning
Audio Cues: No Inlay Hints
Audio Cues: Notebook Cell Completed
Audio Cues: Notebook Cell Failed
Audio Cues: On Debug Break
Audio Cues: Task Completed
Audio Cues: Task Failed
Audio Cues: Terminal Command Failed - in v1.76
Audio Cues: Terminal Quick Fix
The above are the available settings as of vscode v1.75. You can see the current list via the command Help: List Audio Cues
or by searching in your Settings for Audio Cues
.
The default auto
in the Settings means the sound is enabled if there is screen reader attached. On
will play the sound even if there is no screen reader attached,
See v1.64 Release Notes: Audio Cues:
Audio cues indicate if the current line has certain markers, such as errors, breakpoints, or folded text regions.
They are played when the primary cursor changes its line or the first time a marker is added to the current line. Audio cues are enabled automatically when a screen reader is attached, but can also be turned on manually by setting [the specific setting' to
on
.
MacOS / MacBook => VS Code Preferences => Accessibility Support => Off
** I was using VIM extension and it was triggering bell sound each time I pass over a line with some error shown by linter.
git show
command on MacOS, this was the one which stopped it for me.
Commented
Jun 5 at 18:35
Not an elegant solution, but works:
OR
THEN
I'm not sure if this is going to help anyone but I'll add it anyway.
MAKE SURE YOU HAVE THE accessibility settings turned off.
There are some truly horrible things that can happen when you have them turned on. the bell will go crazy with sounds every time you move around.
"editor.accessibilitySupport": "off", // Very F@#@ing IMPORTANT
The solution is simple. You just have to adjust the audio volume number to "0" by entering the Visual Studio Code settings. I left the steps of the tutorial:
audioCues.volume: 0
, and it still beeps a lot.
Commented
Feb 14, 2023 at 22:47
Windows Only
TL;DR Disable them system wide in Control Panel
I wanted to disable sound when discarding changes in VScode. It should work for all sounds tho since it's system wide.
From Windows Search Bar (next to Start): Control Panel -> Sound -> Sounds
In the drop down of sounds there are a number that play the same sound. You can test them first then set the ones U want to none. I disabled personally Asterisks, Close Program, Default Beep, & Exclamation to stop the sound.
This isn't a great solution since it disables the sounds via Windows system wide and not just in VScode, so be warned. These instructions are for Windows 10.
Sometimes this sounds irritates me also.. while using earphone and coding. The sound comes from github copilot
or from vscode itself inside. To remove the sound please do the following procedures as i mentioned below:
In my case, simply turning off the screen reader feature stops the sound. The condition here is that the audio cues settings must be set to default (most settings are on 'auto' or 'off'). screen reader setting
Do this:
In Visual Studio Code, Enter Show all Commands key - Ctrl + Shift + P
Now Type Open Accessibility Setting in Prefereneces. Now choose accesibility support to off enter image description here
You'll need to restart your terminals to make the following setting change to apply.
Add/update the following line : "terminal.integrated.enableBell": false
Open the user settings by either :
In the terminal panel, clicking the dropdown terminals list (in the upper-right corner) then "Configure Terminal Settings"
Or opening the Command Palette (ctrl+shift+P)
Scroll down to "Terminal> Integrated: Enable Bell" and uncheck it
fortunately setting audio cue sound volume to 0 (search audio
in edit > preferences
) seems to fix this... albeit every once in a while the sound effects are cute.
go vscode settings
and type
Audio Cues
[Click to view an image of my settings in this format] (https://i.sstatic.net/fdFeB.jpg)
select Audio Cues: of, then it's working
I had the same issue when moving Javscript files between directories.
Although there was a feature request to disable system beep sound, it wasn't accepted.
You can either:
disable windows beep sound altogether
On Windows, you can disable windows beep sound by opening Control Panel -> Hardware and Sound -> Change system sounds, and setting both "Asterisk" and "Default Beep" to None.
"Asterisk" is used when moving files, and "Default Beep" is used for when updating imports.
VS Code was beeping for me when saving files. I tried other answers here—setting volume to 0, turning off accessibility, etc.—and the only thing that fixed it for me was changing this setting:
Accessibility > Signals: Save
changed from userGesture
to never
.
It beeped once when I pressed OK (as it saved this setting) and then never again. Sweet silence.
This was for VS Code v1.87.2 on macOS
Search for "Sound" in the vscode settings and switch off "Enables sound effects about activity." It's within Liveshare > Accessibility: Sounds Enabled.
If using mac, go to code -> settings -> settings -> search sound in search bar -> and disable all audio features.