Question

this is really getting on my nerves and, after too much Googling, I haven't found a satisfactory fix for it.

If I begin to type in code using XCode 4.6, for instance:

float x = y + z

(my caret is just after the z) and then decide that what I really want is float x = ceilf(y + z); and I begin the modification by typing the closing parenthesis, XCode 4 beeps at me. The parentheses aren't balanced, but I'm well aware of that. I want to turn off this annoying beep, without making it system-wide.

Any solutions?

Was it helpful?

Solution

There does not seem to be any way to edit this from within Xcode. It is registered as an alert sound. It works just like if you tried to close out of Finder with cmd + q. It is handled on a system level.

You can, however, disable all of these alert sounds.

Step 1: Go to system preferences.

System Preferences

Step 2: Open up the Sound menu.

Sound Menu

Step 3: Drag the little arrow of Alert Volume to 0.

Alert Volume

That is all that is technically necessary to disable the alert you hear when you type }, ), or ] without a prior opening brace/bracket. Some others also like to uncheck Play user interface sound effects because it removes some other annoying beeps and buzzes.

It is on the same page as the alert volume:

Play user interface sound effects

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top