完全卸载 VS Code 扩展 [英] Completely uninstall VS Code extensions

查看:64
本文介绍了完全卸载 VS Code 扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从 VS Code 的最新版本以来,每当我打开 C# 文件时都会收到错误消息(我已经安装了由 OmniSharp 提供支持的 csharp 语言扩展).这是我得到的错误:

Since the latest release of VS Code, I get an error whenever I open a C# file (I have installed the csharp language extension, powered by OmniSharp). This is the error I get:

我尝试卸载扩展并重新安装,同样的问题.我完全卸载了应用程序并重新安装了它 - 但是当我这样做时,我的扩展仍然安装(例如 Python 和 reStructuredText 仍然存在).我再次卸载并删除了 %USER%\AppData\Roaming|Local\Code 目录.当我重新安装时,扩展程序仍然存在.

I tried uninstalling the extension and re-install it, same problem. I uninstalled the application altogether and reinstalled it - but when I do that, my extensions are still installed (for instance Python and reStructuredText were still there). I uninstalled yet again and deleted the %USER%\AppData\Roaming|Local\Code directory. When I reinstalled, the extensions were still there.

如何彻底删除已安装的扩展程序?在打开 OmniSharp 扩展程序崩溃的错误之前,我想确保我是从头开始.

How do I completely remove the installed extensions? I'd like to be sure I'm starting from scratch before opening a bug for the OmniSharp extension crash.

推荐答案

原来扩展存储在 %USER%\.vscode\extensions 下.删除它可以摆脱它们.

Turns out the extensions are stored under %USER%\.vscode\extensions. Deleting that gets rid of them.

对于 Windows:%USER%\\.vscode\extensions(或者)%USERPROFILE%\.vscode\extensions

For Windows : %USER%\\.vscode\extensions (or) %USERPROFILE%\.vscode\extensions

Linux/MAC 扩展的位置:~/.vscode/extensions

Location of extensions for Linux/MAC: ~/.vscode/extensions

这篇关于完全卸载 VS Code 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆