Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to reset “Don't Show Again” preference #24815

Open
OliverJAsh opened this issue Apr 15, 2017 · 19 comments
Open

Allow to reset “Don't Show Again” preference #24815

OliverJAsh opened this issue Apr 15, 2017 · 19 comments
Labels
feature-request Request for new features or functionality workbench-notifications Notification widget issues
Milestone

Comments

@OliverJAsh
Copy link
Contributor

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: #23314

@ajitid
Copy link
Contributor

ajitid commented Apr 15, 2017

I want it too 🙋

@bpasero
Copy link
Member

bpasero commented Apr 18, 2017

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

@bpasero bpasero added feature-request Request for new features or functionality workbench labels Apr 18, 2017
@bpasero bpasero removed their assignment Apr 18, 2017
@bpasero bpasero added workbench-notifications Notification widget issues and removed workbench labels Nov 16, 2017
@bpasero bpasero changed the title Feature request: option to reset “Don't Show Again” preference Option to reset “Don't Show Again” preference Feb 10, 2018
@bpasero bpasero changed the title Option to reset “Don't Show Again” preference Allow to reset “Don't Show Again” preference Feb 20, 2018
@tmknight
Copy link

Any progress on this year old request?

@joshuaquek
Copy link

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?

@Peepijeep
Copy link

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]\AppData\Roaming\Code

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

@yaseralnajjar
Copy link

yaseralnajjar commented Aug 20, 2019

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]\AppData\Roaming\Code\User
  3. Rename globalStorage into globalStorage2

WARNING: THIS WILL REMOVE ALL YOUR GLOBAL SETTINGS

@MrJmpl3
Copy link

MrJmpl3 commented Sep 8, 2019

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

@yvess
Copy link

yvess commented Sep 16, 2019

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

@Dean-NC
Copy link

Dean-NC commented Sep 27, 2019

Any update ??

@bpasero bpasero added this to the Backlog milestone Oct 24, 2019
@DatXN
Copy link

DatXN commented Oct 30, 2019

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.

@AlJohri
Copy link

AlJohri commented Jan 8, 2020

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!

@amalj07
Copy link

amalj07 commented Feb 4, 2020

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]\AppData\Roaming\Code\User\globalStorage
  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

@onefork
Copy link

onefork commented May 3, 2020

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]\AppData\Roaming\Code\User\globalStorage
  4. Open state.vscdb file with SQLite

@nihaals
Copy link

nihaals commented Jul 10, 2020

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

@raulshma
Copy link

@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.

@godot11
Copy link

godot11 commented Oct 16, 2020

[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.

@nihaals
Copy link

nihaals commented Oct 16, 2020

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

@bpasero bpasero added the *out-of-scope Posted issue is not in scope of VS Code label Nov 2, 2020
@GitMensch
Copy link
Contributor

Can the mentioned workarounds be part of an official FAQ? Something like "things we don't plan to implement but you may want to do it by adjusting the used sqlite database following the steps mentioned here?

@meganrogge meganrogge removed the *out-of-scope Posted issue is not in scope of VS Code label Jan 13, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2021
@meganrogge meganrogge reopened this Jun 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality workbench-notifications Notification widget issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.