gpt4 book ai didi

visual-studio-2012 - 如何真正重置 Visual Studio 2012 中的每个设置?

转载 作者:行者123 更新时间:2023-12-03 05:10:08 24 4
gpt4 key购买 nike

我正在尝试重置 Visual Studio 中的每一个设置,因为我完全丢失了所有 IntelliSense 。我尝试了“工具”->“导入/导出设置”->“重置”,但这并没有清除所有设置。我知道不是,因为颜色主题没有重置,而且我仍然没有 IntelliSense。除了卸载和删除程序的所有痕迹(包括注册表)之外,还有其他方法将每个设置重置为出厂默认值吗?

最佳答案

Visual Studio 有多个标志来重置各种设置:

  • /ResetUserData - (AFAICT) 删除所有用户设置并让您重新设置它们。这将再次提示您进行设置、清除最近的项目历史记录等。
  • /ResetSettings - 恢复 IDE 的默认设置,可以选择重置为指定的 VSettings 文件。
  • /ResetSkipPkgs - 清除添加到 VSPackages 的所有 SkipLoading 标记。
  • /ResetAddin - 删除与指定加载项关联的命令和命令 UI。

最后三个在运行 devenv.exe/? 时显示。第一个似乎是无证/无支持/大锤子。来自 here :

Disclaimer: you will lose all your environment settings and customizations if you use this switch. It is for this reason that this switch is not officially supported and Microsoft does not advertise this switch to the public (you won't see this switch if you type devenv.exe /? in the command prompt). You should only use this switch as the last resort if you are experiencing an environment problem, and make sure you back up your environment settings by exporting them before using this switch.

关于visual-studio-2012 - 如何真正重置 Visual Studio 2012 中的每个设置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17203820/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com