如何撤消“不再显示此提示"在 vscode python 中? [英] How to undo "Don't show this prompt again" in vscode python?
本文介绍了如何撤消“不再显示此提示"在 vscode python 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 VSCode Python 中提示安装 Pylint 时不小心选择了不再显示此提示".我应该如何撤消/重置操作以便再次出现提示?
Accidentally selected "Don't show this prompt again" when prompted to install Pylint in VSCode Python. How should I undo/reset the action so the prompt will appear again?
推荐答案
这里是如何在 macOS 上做到这一点,而无需卸载 VS Code 或删除 globalStorage:
Here is how to do it on macOS without uninstalling VS Code or delete globalStorage:
- 退出所有 VS Code 实例 (Cmd +Q)
- 安装 SQL Lite 浏览器 https://sqlitebrowser.org
- 转到:/Users/[user_name]/Library/Application Support/Code/User/workspaceStorage/=> 找到与您之前单击不再显示此提示"的工作区相关联的那个(通过查看进入workspace.json并确定名称)
- 使用 SQL Lite 打开 stage.vscdb 文件
- 查找数据键ms-vscode.csharp"
- 将 "assetPromptDisabled":true 修改为 "assetPromptDisabled":false
- 保存更改
- 重新打开 vs 代码
https://github.com/microsoft/vscode/issues/24815#issuecomment-547733206
这篇关于如何撤消“不再显示此提示"在 vscode python 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文