Skip to content

Commit b55f35c

Browse files
authored
Merge pull request #2180 from gewarren/sync-settings
Reset synchronized settings
2 parents 59d73d9 + 1abed5c commit b55f35c

File tree

3 files changed

+47
-23
lines changed

3 files changed

+47
-23
lines changed

docs/ide/media/reset-all-settings.png

15.4 KB
Loading
18.9 KB
Loading
Lines changed: 47 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Synchronize your settings in Visual Studio
2+
title: Synchronize your settings
33
ms.date: 01/23/2017
44
ms.prod: visual-studio-dev15
55
ms.technology: vs-ide-general
@@ -13,55 +13,79 @@ manager: douge
1313
ms.workload:
1414
- "multiple"
1515
---
16-
# Synchronize your settings in Visual Studio
16+
# Synchronize Visual Studio settings across multiple computers
1717

18-
When you sign in to Visual Studio on multiple computers using the same personalization account, by default your settings are synchronized on all computers.
18+
When you sign in to Visual Studio on multiple computers using the same personalization account, your settings can be synchronized across the computers.
1919

2020
## Synchronized settings
2121

22-
By default, the following settings are synchronized.
22+
By default, the following settings are synchronized:
2323

24-
- Development settings (You have to select a set of settings the first time you run Visual Studio, but you can change the selection anytime. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).)
24+
- Development settings. You have to select a set of settings the first time you run Visual Studio, but you can change the selection anytime. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
2525

26-
- The following options in the **Tools** > **Options** pages:
26+
- User-defined command aliases. For more information about how to define command aliases, see [Visual Studio command aliases](../ide/reference/visual-studio-command-aliases.md).
2727

28-
- Theme and menu bar casing settings, on the **Environment** > **General** options page
28+
- User-defined window layouts in **Window** > **Manage Window Layouts** page.
2929

30-
- All settings on the **Environment** > **Fonts and Colors** options page
30+
- The following options in the **Tools** > **Options** pages:
3131

32-
- All keyboard shortcuts, on the **Environment** > **Keyboard** options page
32+
- Theme and menu bar casing settings on the **Environment** > **General** options page.
3333

34-
- All settings on the **Environment** > **Tabs and Windows** options page
34+
- All settings on the **Environment** > **Fonts and Colors** options page.
3535

36-
- All settings on the **Environment** > **StartUp** options page
36+
- All keyboard shortcuts on the **Environment** > **Keyboard** options page.
3737

38-
- All settings on the **Text Editor** options pages
38+
- All settings on the **Environment** > **Tabs and Windows** options page.
3939

40-
- All settings on the **XAML Designer** options pages
40+
- All settings on the **Environment** > **StartUp** options page.
4141

42-
- User-defined command aliases. For more information about how to define command aliases, see [Visual Studio command aliases](../ide/reference/visual-studio-command-aliases.md).
42+
- All settings on the **Text Editor** options pages.
4343

44-
- User-defined window layouts in **Window** > **Manage Window Layouts** page
44+
- All settings on the **XAML Designer** options pages.
4545

4646
## Turn off synchronized settings on a particular computer
4747

48-
Synchronized settings for Visual Studio are turned on by default. You can turn off synchronized settings on a computer by going to the **Tools** > **Options** > **Environment** > **Accounts** page and unchecking the checkbox. For example, if you decide not to synchronize Visual Studio's settings on Computer A, any setting changes made on Computer A do not appear on Computer B or Computer C. Computer B and C will continue to synchronize with each other, but not with Computer A.
48+
Synchronized settings for Visual Studio are turned on by default. You can turn off synchronized settings on a computer by going to the **Tools** > **Options** > **Environment** > **Accounts** page and unchecking **Synchronize settings across devices when signed into Visual Studio**. For example, if you decide not to synchronize Visual Studio's settings on computer "A", any setting changes made on computer "A" do not appear on computer "B" or computer "C". Computers "B" and "C" will continue to synchronize with each other, but not with computer "A".
49+
50+
## Reset settings
51+
52+
You can reset all settings to a collection of default settings by following these steps:
53+
54+
1. In Visual Studio, select **Tools** > **Import and Export Settings** to open the **Import and Export Settings Wizard**.
55+
56+
1. In the **Import and Export Settings Wizard**, select **Reset all settings** and then select **Next**.
57+
58+
![Import and Export Settings Wizard in Visual Studio](media/reset-all-settings.png)
59+
60+
1. On the **Save Current Settings** page, select either **Yes** or **No** and then select **Next**.
61+
62+
1. On the **Choose a Default Collection of Settings** page, choose a collection and then select **Finish**.
63+
64+
![Settings collections in Visual Studio](media/settings-collections.png)
65+
66+
1. On the **Reset Complete** page, select **Close**.
4967

5068
## Synchronize settings across Visual Studio family products and editions
5169

52-
Settings can be synchronized across any edition of Visual Studio, including the Community edition. Settings are also synchronized across Visual Studio family products. However, each of these family products may have its own settings that are not shared with Visual Studio. For example, settings specific to one product on Computer A will be shared with another on Computer B, but not with Visual Studio on Computer A or B.
70+
Settings can be synchronized across any edition of Visual Studio, including Community edition. Settings are also synchronized across Visual Studio family products. However, each of these family products may have its own settings that aren't shared with Visual Studio. For example, settings specific to one product on computer "A" are shared with another product on computer "B", but not with Visual Studio on computers "A" or "B".
5371

5472
## Side-by-side synchronized settings
5573

56-
In Visual Studio 15.3 and later, we've stopped sharing certain settings, like tool window layout, between different side-by-side installations of Visual Studio 2017 by changing the location of *CurrentSettings.vssettings* file in *%userprofile%\Documents\Visual Studio 2017\Settings* to an installation specific folder that is similar to *%localappdata%\Microsoft\VisualStudio\15.0_xxxxxxxx\Settings*.
74+
In Visual Studio 2017 version 15.3 and later, certain settings like tool window layout aren't shared between different side-by-side installations of Visual Studio 2017. The *CurrentSettings.vssettings* file in *%userprofile%\Documents\Visual Studio 2017\Settings* is in an installation-specific folder that is similar to *%localappdata%\Microsoft\VisualStudio\15.0_xxxxxxxx\Settings*.
5775

5876
> [!NOTE]
59-
> To use the new installation specific settings, you must complete a fresh installation. When you perform an upgrade of an existing Visual Studio 2017 installation to the most current update, it will use the existing shared location. If you currently have side-by-side installations of Visual Studio 2017 and decide to upgrade, and want to use the new installation specific settings file location, follow these steps:
77+
> To use the new installation-specific settings, do a fresh installation. When you perform an upgrade of an existing Visual Studio 2017 installation to the most current update, it uses the existing shared location.
78+
79+
If you currently have side-by-side installations of Visual Studio 2017 and want to use the new installation-specific settings file location, follow these steps:
80+
81+
1. Upgrade to Visual Studio 2017 version 15.3 or later.
82+
83+
1. Use the **Import\Export settings** wizard to export all your existing settings to some location outside of the *%localappdata%\Microsoft\VisualStudio\15.0_xxxxxxxx* folder.
84+
85+
1. Open the **Developer Command Prompt for VS 2017** of the upgraded Visual Studio installation and run `devenv /resetuserdata`.
6086

61-
1. After the upgrade, use the **Import\Export settings** wizard to export all our existing settings to some location outside of *%localappdata%\Microsoft\VisualStudio\15.0_xxxxxxxx* folder.
62-
2. Open the **Developer Command Prompt for VS 2017** of the upgraded Visual Studio installation and run `devenv /resetuserdata` from it.
63-
3. Launch Visual Studio and import the saved settings from the exported settings file.
87+
1. Launch Visual Studio and import the saved settings from the exported settings file.
6488

6589
## See also
6690

67-
[Personalize the IDE](../ide/personalizing-the-visual-studio-ide.md)
91+
[Personalize the IDE](../ide/personalizing-the-visual-studio-ide.md)

0 commit comments

Comments
 (0)