【问题标题】:VScode abnormal context menuVScode 异常上下文菜单
【发布时间】:2021-11-24 02:37:57
【问题描述】:

我对 VScode 中的上下文菜单(右键菜单)有疑问。在安装了几个扩展之后(目前我什至不能确切地说出哪个,我记得 GitLens,我认为这个破坏了我的 IDE)我的上下文菜单发生了变化,我不再有 Go to definition 和其他有用的东西。我试图通过编辑 settings.json 文件来重置设置,但那里没有什么异常。我还尝试完全重新安装 VScode,同时删除文件夹:

C:\Users(你的用户名)\AppData\Local\Programs\Microsoft VS Code

C:\Users(你的用户名)\AppData\Roaming\Code

但这没有帮助。我浏览了 google 和 stackoverflow,但没有一个解决方案有效或似乎不适合我的情况(建议之一是内存不足,但我喜欢 64G,所以这应该不是问题)。我发现一个 reddit 线程描述了我的问题,但那里没有补救措施。你能帮帮我吗?

my context menu

【问题讨论】:

  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: visual-studio-code


【解决方案1】:

以下内容与您的问题类似。

Go to definition not working in VS Code version 1.47.2

否则:

如果您有很多扩展,我建议您记下您拥有的所有扩展。

做一个消除过程,删除每个扩展,直到你得到菜单项。

如果你有太多的扩展,那么消除一半。

-> Has the problem disappeared?
   -> Yes. Then one of the extensions removed is the culprit.
   -> No. Then your problem extension is still there. 
      -> remove another half and keep removing until the issue is resolved.

【讨论】:

    猜你喜欢
    • 2012-04-26
    • 1970-01-01
    • 2017-05-14
    • 2022-01-17
    • 2022-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-24
    相关资源
    最近更新 更多