2

I've been using VSCode for a little while. I wanted to see if I could change some aspects of the window decorations, so I tried installing the Custom CSS And JS Loader extension, along with the instructions for configuring it.

I did note the following in the information about it:

SPECIAL NOTE: If Visual Studio Code complains about that it is corrupted, simply click “Don't show again”.

I found that this extension wasn't able to help with my problem, so decided to uninstall it. However, what I'm finding is that I can't get rid of this "corrupted" message. There is no Don't show again prompt anywhere, and I frankly don't like having vscode think it is corrupted when it really isn't. If something else happens that actually corrupts it, I won't know the difference.

However, I really don't want to reinstall it as it is suggesting I do. That seems like a risky proposition. If I reinstall it, will it blow away any of my custom settings? Is there a way I can cleanly "uncorrupt" it so it will stop complaining about that?

Destroy666
  • 12,350

1 Answers1

2

As per this issue:

This is by design. This extension modifies VSCode itself so it will complain about it is "corrupted".

Also, it specifies it needs to be reenabled after VSCode updates. Which means that if you upgrade, the problem might solve itself, as long as the file is replaced back with original.

As per this extension code, the file is one of [VSCode install dir]\resources\app\out\vs\code\electron-sandbox\workbench\workbench.html, workbench-apc-extension.html or workbench.esm.html. I guess which one depends on VSCode version. So you could also steal the file from a fresh fully working install on another device and replace it.

The simpliest/quickest solution seems to still be reinstalling, though. Normally, at least on Windows, VSCode settings are stored in %APPDATA% = not overwritten/removed, as per standards. I can't say the same for sure for other systems, but should also be the case.

Destroy666
  • 12,350