简体   繁体   English

如何完全重置Visual Code编辑器?

[英]How can I completely reset the Visual Code editor?

I'm trying to create a bug report for this editor that has some complicated steps, and I need to have a "fresh" install of VS Code. 我正在尝试为这个编辑器创建一个错误报告,其中包含一些复杂的步骤,我需要对VS Code进行“全新”安装。 I've tried uninstalling and deleting user settings, but I'm not getting various prompts that I did when I ran it the first time. 我已经尝试卸载和删除用户设置,但是我没有得到我第一次运行时所做的各种提示。

I want all extensions gone, all users settings, everything. 我想要所有扩展,所有用户设置,一切。

On my Linux box - the only box I currently have :p - there were two places where VSCode stored my settings. 在我的Linux机器上 - 我目前唯一拥有的盒子:p - 有两个地方,VSCode存储了我的设置。

  • ~/.config/Code 〜/的.config /代码
  • ~/.vscode 〜/ .vscode

These could be renamed/deleted. 这些可以重命名/删除。
Provided that you also are a *nix user, of course. 前提是你也是* nix用户。

However, I agree with Matthew Wetmore: use a Virtual Machine (VirtualBox, etc.) because that will ensure an 'untainted' system that can be used to reliably reproduce the issue you want to report. 但是,我同意Matthew Wetmore:使用虚拟机(VirtualBox等),因为这将确保可以用来可靠地重现您想要报告的问题的“无污染”系统。

You can use the --user-data-dir CLI option to load an instance with a fresh userdata directory. 您可以使用--user-data-dir CLI选项加载具有全新userdata目录的实例。 It will still load extensions from ~/.vscode , so you can rename that directory. 它仍将从~/.vscode加载扩展,因此您可以重命名该目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何完全重置 Visual Studio 代码 - How to Completely Reset Visual Studio Code 如何将 VS Code 重置为普通代码编辑器 - How can I reset the VS Code to normal code editor 在 Visual Code 编辑器中,如何将某个键绑定到哪些函数? - In Visual Code editor, how can I which functions a key is bound to? 如何将焦点重置到活动编辑器? - how can I reset focus to the active editor? 如何完全关闭在Visual Studio代码中打开的文件? - How can I close completely the file that I opened on visual studio code? 如何让 Visual Studio Code 重置 Rust 的 IntelliSense 引擎? - How can I get Visual Studio Code to reset the IntelliSense engine for Rust? 如何从 Visual Studio 代码的终端在 Visual Studio 代码的文本编辑器中打开文件? - How can I open a file in visual studio code's text editor from the visual studio code's terminal? 如何在 mac OS 的 visual studio 代码编辑器中将 `ctrl + click` 设置为 go 定义? - How I can make `ctrl + click` to go to definition in visual studio code editor for mac OS? 如何使用Visual Studio Code从活动编辑器跳至下一个找到的项目? - Using Visual Studio Code how can I jump to the next found item from the active editor? 如何在Visual Studio代码中重置PowerShell运行空间 - How can you reset the PowerShell runspace within Visual Studio Code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM