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.
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
.
This is because you possibly have accessibility Support enabled, so you just have to disable it.
...
"editor.accessibilitySupport": "off",
...
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.
Not an elegant solution, but works:
OR
THEN
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.
Feb 14 at 22:47
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
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:
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
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
go vscode settings
and type
Audio Cues
[Click to view an image of my settings in this format] (https://i.stack.imgur.com/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.
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
If using mac, go to code -> settings -> settings -> search sound in search bar -> and disable all audio features.