gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-03 14:59:57 25 4
gpt4 key购买 nike

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

最佳答案

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

  • /ResetUserData - (AFAICT) 删除所有用户设置并让您重新设置它们。这将再次为您提供设置的初始提示,清除您最近的项目历史记录等。
  • /ResetSettings - 恢复 IDE 的默认设置,可选择重置为指定的 VSSettings 文件。
  • /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/46706549/

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