Visual Studio 2017 重置设置 [英] Visual Studio 2017 Reset Settings

查看:40
本文介绍了Visual Studio 2017 重置设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一份 Visual Studio Enterprise 2017 的副本,我通过我的大学收到并安装在我的台式计算机上.最近,我买了一台新的笔记本电脑,希望能够在不在家的时候处理我的作业和项目,所以我下载了 Visual Studio Community 2017 进行安装.当我第一次在我的笔记本电脑上打开 VS 时,我登录到与我的桌面相同的帐户,并注意到我的两台计算机之间同步了一些设置.然而,今天早上当我在我的桌面上工作时,我意识到,在我的笔记本电脑上安装 VS 后,一些设置(主要是代码格式设置,如使用制表符与空格等)已重置为我的默认值桌面.

I have a copy of Visual Studio Enterprise 2017 that I received through my university and installed on my desktop computer. Recently, I bought a new laptop, and wanted to be able to work on my assignments and projects while I was away from home, so I downloaded Visual Studio Community 2017 to install on it. When I opened VS on my laptop for the first time, I logged into the same account as my desktop, and noticed that some of the settings were synced over between my two computers. However, this morning when I was working on my desktop, I realized that, after installing VS on my laptop, some of the settings (mainly code format settings, like using tabs vs spaces, etc) had been reset to their default values on my desktop.

不得不返回并将我的设置更改为原来的设置会令人沮丧.有没有办法轻松地将我的所有设置恢复到重置之前?如果我在新计算机上安装 VS,有没有办法防止将来发生这种情况?

It's going to be frustrating having to go back and change my settings to what they originally were. Is there a way to easily revert all my settings back to before they were reset? And is there a way to prevent this from happening in the future, if I ever install VS on a new computer?

推荐答案

为了轻松恢复设置,请使用工具"->导入/导出设置"导出正确的设置.将此文件保存在您的所有设备上,并在发生更改时从此文件导入设置.更改您的设置可能是因为 VS 认为您的新安装是您的首选设置的主要安装.我在 3 种不同的设备上工作,但从未识别出设置更改.

For a easy restoring of your settings, export your correct settings with Tools-> Import/Export Settings. Save this file on all your devices and when something changed import the settings from this file. The change of your settings could have happen because VS thought your new installation is your main installation with your prefered settings. I work on 3 different devices and never recognised a settings change.

要完全重置,请转到工具->导入/导出设置.可以选择完全清除所有设置.如果您不确定,在下一个对话框中,有一个选项可以保存您当前的设置,以防您想要它们回来.接下来您可以选择新的默认设置.

For a complete reset, go to tools->Import/Export Settings. There is the option for a complete wipe off all your settings. If your not sure, in the next dialog, there's a option for saveing your current settings, in case you want them back. Next you can choose the new default setting.

这篇关于Visual Studio 2017 重置设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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