In visual studio code showing [Unsupported] this in the title bar.
And showing "extension host terminated unexpectedly" in notification bar.
if VS Code files have been mistakenly quarantined or removed by anti-virus software.
what will change anti-virus software settings?(quick heal pro).
1. Install the extension "Fix VSCode Checksums"
2. Open the command palette (Ctrl + Shift + P) and then write and select "Fix Checksums: Apply"
3. Finally, close VS Code and open it again.
Related
Updating vscode doesn't show user code snippets.
If I move the cursor after entering the prefix, it appear only then.
This issue can be resolved by following these steps:
Close Visual Studio Code.
Go to your user snippets folder, usually located at ~/.config/Code/User/snippets (for Linux), %APPDATA%\Code\User\snippets (for Windows) or ~/Library/Application Support/Code/User/snippets (for Mac).
Backup your user snippets folder by renaming it to something like snippets_backup.
Reopen Visual Studio Code.
Check if your user snippets are appearing now.
If the above steps don't solve the problem, you can try clearing the Visual Studio Code's cache:
Go to the Command Palette (Ctrl + Shift + P on Windows, or Cmd + Shift + P on Mac).
Type in "Developer: Delete Settings File".
Select the option "Developer: Delete Settings File" from the dropdown.
Confirm the deletion of the settings file by clicking on the "Yes" button.
Reopen Visual Studio Code.
These steps should resolve the issue with your user code snippets not appearing after updating Visual Studio Code.
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.
Summarize the problem
Include details about your goal
I want the Live Server extension in Visual Studio Code to automatically run and open my HTML, CSS and JS files in a website
Describe expected and actual results
Expected: After clicking on "Go Live", a browser tab automatically pops up and runs my website.
Actual: After clicking on "Go Live", a port is created but the tab doesn't open.
Include any error messages
No error messages occurred.
Describe what you’ve tried
Installing his Chrome extension,
Watching these YouTube videos
1
2
Setting liveServer.settings.useBrowserPreview to false.
Reinstalling his Visual Studio Code extension.
Solution
Uninstall the Visual Studio Code (VSC) extension first.
Reinstall it.
Once you open a JavaScript file, press F5.
Copy the four-digit number in "url".
Press Ctrl + Shift + P and go to Preferences: Open Settings (JSON)
Copy and paste this within the curly brackets:
"liveServer.settings.multiRootWorkspaceName": "",
"liveServer.settings.port": xxxx
Replace xxxx with the four-digit number copied in step 4.
Press the "Go Live" button at the bottom right corner of VSC.
Press F5 and it should work.
Thanks to Swapnil G Thaware for the tutorial at https://stackoverflow.com/a/55459597/13510906
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.
I've recently uninstalled VS 2015 and some other packages which I don't recall. Ever since the uninstallation I've not been able to view the the icon of VS Code, VS Code Insider and Windows Defender. All those software were working properly previously.
[
If I click on those application, they won't open.
But if I selected a file or folder and open them by selecting the option "Open with VS Code or VS Code Insiders", there is no any problem. The icon of those software can't be seen on the taskbar too even if they are opened.
What package should I need to install again to make them appear? What other software might be affected?