Vscode: Allow to reset “Don't Show Again” preference

Created on 15 Apr 2017  ·  18Comments  ·  Source: microsoft/vscode

VSCode’s “top banner” often includes a “Don't Show Again” button. However it's not clear how a user should undo this action.

Would it be possible to save these preferences to the user's workspace settings, perhaps? Then it is easy for the user to undo this action.

An example of a user needing this: https://github.com/Microsoft/vscode/issues/23314

*out-of-scope feature-request workbench-notifications

Most helpful comment

I clicked do not show again on an error message and now I dont ever see it anymore. However, I need to see what the error is now. How do I re-enable this error message to show again?

All 18 comments

I want it too 🙋

Yes there should be a way to reset any of the messages that have this option.

Any progress on this year old request?

I clicked do not show again on an error message and now I dont ever see it anymore. However, I need to see what the error is now. How do I re-enable this error message to show again?

Yeah! I clickend on "Don't show again", and I never get the message again! I can only solve my problem by

  1. deinstall Visual Studio Code,
  2. delete C:Users[Username].vscode
  3. delete C:Users[Username]AppDataRoamingCode

This is so awkward. Please implement feature where I can just reset my "Don't show it again" settings!

2 years later... this ain't solved!

I managed to fix this without removing vscode by:

  1. Close any opened VSCode and make sure it ain't running in the background
  2. Go to C:Users[Username]AppDataRoamingCode\User
  3. Rename globalStorage into globalStorage2

WARNING: THIS WILL REMOVE ALL YOUR GLOBAL SETTINGS

The way without lost your settings if using a SQLite Browser one the database in globalStorage and set dontShowPrompt in false

I needed this for the "Reopen in containers" popup in this case the sqlite key is "ms-vscode-remote.remote-containers" and the value is "{"showReopenInContainerNotification":true}" this was set to false. thanks @MrJmpl3

Any update ??

Thank to MrJmpl3, I be able to reset this on Mac without uninstalling VSCode. Here is how to do it on MAC OS:

  1. Quit all VS Code instances (Cmd +Q)
  2. Instal SQL Lite browser https://sqlitebrowser.org
  3. Go to: /Users/[user_name]/Library/Application Support/Code/User/workspaceStorage/ => Find the one that associate with your workspace that you previously clicked "Don't show this promt again" (by looking into workspace.json and identify the name)
  4. Open stage.vscdb file with SQL Lite
  5. Look for data key "ms-vscode.csharp"
  6. Edit _"assetPromptDisabled":true_ to _"assetPromptDisabled":false_
  7. Save change
  8. Reopen vs code

image

Hope we will have a better way to do this.

thanks @yvess, that worked for me. I opened ~/Library/Application\ Support/Code/User/globalStorage/state.vscdb using TablePlus and was able to change showReopenInContainerNotification from false to true.

there should definitely be an easier way to do this!

Hi, I was able to do this on Windows without uninstalling VS Code. it's pretty similar to the one said by @DatXN on MAC OS.

Here is how I did it:

  1. Quit all VS Code instances
  2. Instal SQL Lite browser https://sqlitebrowser.org
  3. Go to C:Users[user_name]AppDataRoamingCodeUserglobalStorage
  4. Open state.vscdb file with SQLite
  5. Look for data key integrityService
  6. Edit "_dontShowPrompt":true_ to "_dontShowPrompt":false_
  7. Save change
  8. Reopen vs code

vscode

For Windows the path to the SQL Lite file is %AppData%\Code\User\globalStorage\state.vscdb.

Hi, I was able to do this on Windows without uninstalling VS Code. it's pretty similar to the one said by @DatXN on MAC OS.

Here is how I did it:

  1. Quit all VS Code instances
  2. Instal SQL Lite browser https://sqlitebrowser.org
  3. Go to C:Users[user_name]AppDataRoamingCodeUserglobalStorage
  4. Open state.vscdb file with SQLite

Is there an easy way of finding which directory in User/workspaceStorage a workspace corresponds to?

@nihaals I don't know of a proper way but this will work. Open the workspace change a file and then sort by modified in the workspaceStorage folder.

[bump] as I believe there should be at least an in-app way to undo this. At least some commands like EditDisabledNotifications, or even just a ResetDisabledNotifications that forgets all "don't show again' settings.

I accidentally misclicked on a "There are extensions that can help opening ".png" files..." type of notification, and now I won't ever find out what were they unless I spend time installing an SQL editor and fiddle around with obscure files at obscure locations, possibly breaking my VS Code setup in the progress.

It's a very annoying very tiny thing.

There is also a trend of more things moving to the workspace database from settings, for example python.pythonPath, so having a way to edit these values is even more important

We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philipgiuliani picture philipgiuliani  ·  3Comments

shanalikhan picture shanalikhan  ·  3Comments

biij5698 picture biij5698  ·  3Comments

v-pavanp picture v-pavanp  ·  3Comments

trstringer picture trstringer  ·  3Comments