[英]How to reset and remove the Java language support which I had added for VS Code?
I had added support for Java in VS Code .我在 VS Code 中添加了对 Java 的支持。 I no longer need it so I want to remove the support and take my VS Code to the state it was before.我不再需要它,所以我想删除支持并将我的 VS Code 恢复到以前的状态。
You can uninstall it from the command line.您可以从命令行卸载它。 From the registry (regedit).从注册表(regedit)。 Open the key:打开钥匙:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Select the Uninstall key and "Find" from the "Edit" menu.从“编辑”菜单中选择“卸载”键和“查找”。 Search for "Java."搜索“Java”。 This will show you which subkey the Java is located under.这将显示 Java 位于哪个子项下。 Identify the "UninstallString."识别“UninstallString”。 keystring.键串。 Use this command to uninstall Java.使用此命令卸载 Java。
After backing up settings about other languages, you can delete the follwoing folders to reset VS Code.备份其他语言的设置后,您可以删除以下文件夹以重置 VS Code。 Then install other needed extensions.然后安装其他需要的扩展。
Windows - Delete
%APPDATA%\\Code
and%USERPROFILE%\\.vscode
. Windows - 删除%APPDATA%\\Code
和%USERPROFILE%\\.vscode
。
macOS - Delete$HOME/Library/Application Support/Code
and~/.vscode
. macOS - 删除$HOME/Library/Application Support/Code
和~/.vscode
。
Linux - Delete$HOME/.config/Code
and~/.vscode
. Linux - 删除$HOME/.config/Code
和~/.vscode
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.