How to turn off the beep on save in Visual Studio Code? - powershell

Visual Studio code has a double beep when saving a file that's particularly penetrating when wearing headphones. There doesn't appear to be a setting for it in the settings.
I did find a suggestion that it can be done in PowerShell with:
Set-PSReadlineOption -BellStyle None
but entering this in the terminal window of VS Code returned an ObjectNotFoundError.
Edit: I've discovered the problem is with PowerShell. I have a PowerShell window open to run the Angular 5 website and it's this that is beeping. I discovered this by switching to Visual Studio 2017 to edit the website and that happily beeped away on save too.

Related

Visual studio code ctrl + ~ doesn't open terminal in KDE plasma

Currently on Ubuntu I'm running KDE version 5.18.8, and I've just started coding in Visual Studio Code, but when toggling the console, I just get an old notification on the top right corner of my screen informing me how old it is, not using the shortcut entirely.
*(I toggled the terminal manually in the settings)
Is this a shortcut I have to change in vscode or KDE? Since there isn't anything online I can seem to find for this. It's a bit of an annoyance.

Watch is not working in VSCode, howto fix?

Some time ago a Watch window stop working in Visual Studio Code. I am using VsCode for Powershell only. Powershell is only one extension that is installed. However, I can see variables in Variables->Auto and when I put the mouse cursor on the variable. Windows with all updates and VScode is the latest version. Pressing "+" in the watch window sometimes allows adding variables sometimes not, but in all cases, the value is empty.
P.S. Start VCsode with local admin rights didn't help.

Error when launching Terminal in Visual Studio Code (terminated with exit code: 3221225477)

I'm a new user of Visual Studio Code and I came across the following error (see below) when trying to launch a Terminal inside VS Code.
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: 3221225477.
I've tried fixing this by following the instructions on [Visual Studio Code Troubleshoot Terminal] (https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch) and also going through the Get Started documentation on the Visual Studio Code website.
I've also tried copying the error message and pasting on Google to search for a solution but only one relevant site came up here and I still could not find a fix.
I'm using a Dell XPS machine running Windows 10 (x64) and Visual Studio Code 1.51.0 (x64 UserSetup).
Can someone please assist? Thanks in advance!
Try the following:
If your computer is running powershell, turn it off.
Control Panel -> Programs -> Turn Windows features on of off
Search Window Powershell 2.0 -> Uncheckbox -> OK
Restart

CMD-K in Visual Studio Code

I often clear the terminal on macOS with CMD-K (sort of equivalent to reset). When I use the terminal in Visual Studio Code and I press CMD-K, the banner at the bottom of the screen shows "(CMD-K) was pressed. Waiting for second key of chord..."
How can I make CMD-K pass through the editor to go to the terminal in Visual Studio Code?
I have occasionally run into this bug (VS Code on MacOS) and each time it randomly would fix itself until recently it kept persisting even through restarting my laptop. I have now found that closing all open projects seems to fix this issue for me.
Might be related to how VS Code stores your current workspace state (opened projects and file modifications). It seems maybe these state settings sometimes get corrupted somehow 🤔

Getting black screen in visual studio after Installation completed

I was getting black screen after opening Visual studio each time. I got a solution from Stack overflow i.e code --disable-gpu. It is working fine but my main issue is when I use to code in vs code. I am not getting suggestions as intellisense is not working and I am unable to install any extensions from Visual studio code.
to disable hardware acceleration permanently (without adding --disable-gpu argument) open folder "C:\Users\your_username_here\.vscode" than open file argv.json with any editor and look for
"//disable-hardware-acceleration": true, and just remove the tow slashes before disable. i think there is a similar workaround in linux
Hit Ctrl Shift P to open the command palette,
Type Developer and choose Developer: Toggle Developer Tools.
switch to the Network tab in Dev tools.
Search for extensions now
Go to properties of visual studio
change target . Add --disable-gpu
make sure to add a space before --
it will resolve your issue.