The sound you're hearing is the terminal bell in VSCode. You can disable it by modifying your VSCode settings. Here’s how:
1. Open VSCode and go to Preferences → Settings** (or press ⌘+,)
2. In the search bar, type “terminal bell” or “enableBell.”
3. Find the setting Terminal › Integrated: Enable Bell and uncheck it.
4. Alternatively, you can open your `settings.json` file and add the following line: "terminal.integrated.enableBell": false
This will disable the beep sound in the integrated terminal. If you still experience any sounds, it might be coming from your shell configuration, so check your shell settings as well.