You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/finding-and-using-visual-studio-extensions.md
+55-3Lines changed: 55 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ ms.subservice: general-ide
19
19
20
20
# Find, install, and manage extensions for Visual Studio
21
21
22
-
::: moniker range="vs-2022"
22
+
::: moniker range=">=vs-2022"
23
23
24
24
This article describes how to find, install, and manage extension packages in Visual Studio. [Extensions](../extensibility/index.yml) are code packages that run inside Visual Studio and provide new or improved features. Extensions can be controls, samples, templates, tools, or other components that add functionality to Visual Studio, for example, [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsls-vs-2022) or [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilotvs).
25
25
@@ -42,7 +42,7 @@ For information about creating Visual Studio extensions, see [Visual Studio SDK]
42
42
43
43
In the Visual Studio IDE, Extension Manager is the tool you use to find, install, and manage Visual Studio extensions. To open Extension Manager, select **Extensions** > **Manage Extensions**. Or type **extensions** in the search box and select **Manage Extensions**.
44
44
45
-
::: moniker range="vs-2022"
45
+
::: moniker range=">=vs-2022"
46
46
47
47
:::image type="content" source="media/finding-using-visual-studio-extensions/vs-2022/extensions-and-updates.png" alt-text="Screenshot of Extension Manager in Visual Studio.":::
48
48
@@ -56,6 +56,16 @@ In the Visual Studio IDE, Extension Manager is the tool you use to find, install
56
56
57
57
The left pane categorizes extensions by those that are available on Visual Studio Marketplace (**Browse**), those that are installed, and those that have updates available. The **Roaming** tab lists all the Visual Studio extensions that you have installed on any machine or instance of Visual Studio. It's designed to let you find your favorite extensions more easily.
58
58
59
+
:::moniker range=">=vs-2022"
60
+
61
+
Tabs have command buttons to filter and sort extensions, and a gear icon that takes you to the **Tools** > **Options** screen.
62
+
63
+
Use the filter command button to filter extensions by category, which includes **Enabled**, **Disabled**, or **Incompatible** extensions. In 17.14 and later, you can also filter by **Pending**, which means extensions that have updates that will be available the next time you restart Visual Studio.
64
+
65
+
Use the sort button to sort by extension name, extension author, or date.
66
+
67
+
:::moniker-end
68
+
59
69
## Find and install extensions
60
70
61
71
You can install extensions from [Visual Studio Marketplace](https://marketplace.visualstudio.com) or from Extension Manager in Visual Studio.
@@ -66,7 +76,7 @@ To install extensions from Visual Studio:
66
76
67
77
1. Select **Install**.
68
78
69
-
::: moniker range="vs-2022"
79
+
::: moniker range=">=vs-2022"
70
80
71
81
After the download completes, you see a notification at the top of Extension Manager: "Your changes are scheduled. The modifications will begin when Microsoft Visual Studio is closed."
72
82
@@ -119,6 +129,20 @@ To restrict when per-user extensions load:
119
129
120
130
### Automatic extension updates
121
131
132
+
:::moniker range="<=vs-2019"
133
+
134
+
Extensions are updated automatically when a new version is available on Visual Studio Marketplace. The new version of the extension is detected and installed in the background. The next time you open Visual Studio, the new version of the extension will be running.
135
+
136
+
If you want to disable automatic updates, you can disable the feature for all extensions or for only specific extensions.
137
+
138
+
- To disable automatic updates for all extensions, select the **View Settings** button in the **Extensions** > **Manage Extensions** dialog. In the **Options** dialog, under **Environment** > **Extensions**, clear **Automatically update extensions**.
139
+
140
+
- To disable automatic updates for a specific extension, clear the **Automatically update this extension** option in the extension's details pane on the right side of Extension Manager.
141
+
142
+
:::moniker-end
143
+
144
+
:::moniker range=">=vs-2022"
145
+
122
146
Extensions are updated automatically when a new version is available on Visual Studio Marketplace. The new version of the extension is detected and installed in the background. The next time you open Visual Studio, the new version of the extension will be running.
123
147
124
148
If you want to disable automatic updates, you can disable the feature for all extensions or for only specific extensions.
@@ -127,6 +151,34 @@ If you want to disable automatic updates, you can disable the feature for all ex
127
151
128
152
- To disable automatic updates for a specific extension, clear the **Automatically update this extension** option in the extension's details pane on the right side of Extension Manager.
129
153
154
+
The rest of this section describes changes available in Visual Studio 2022 17.14 and later. The changes make it easier to see what's going on with extension updates, and manage auto-update settings from Extension Manager or in **Tools** > **Options**.
155
+
156
+
Whenever you open the Extension Manager window, you automatically trigger updates. This ensures you are consistently working with the latest features and fixes without needing to manually initiate updates.
157
+
158
+
When an update is available for an extension, you see a notification in a yellow infobar:
159
+
160
+
:::image type="content" source="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-notification-bar.png" alt-text="Screenshot showing how Visual Studio notifies you about extension updates that are available.":::
161
+
162
+
Also, an infobar appears when updates are applied, reminding you to restart Visual Studio so that the extensions take effect.
163
+
164
+
You can change settings for automatic updates on the extension's page in Extension Manager.
165
+
166
+
:::image type="content" source="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-update-automatically.png" alt-text="Screenshot showing how to toggle whether an extension is updated automatically." lightbox="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-update-automatically.png" :::
167
+
168
+
The **Pending** category enables you to view only extensions with pending updates.
169
+
170
+
:::image type="content" source="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-category-pending.png" alt-text="Screenshot showing how to filter the extension list to view only extensions with pending updates." lightbox="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-category-pending.png" :::
171
+
172
+
#### Auto update settings
173
+
174
+
You can also configure auto-update settings in **Tools > Options**.
175
+
176
+
:::image type="content" source="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-tools-options.png" alt-text="Screenshot showing how to configure automatic extension updates in Tools > Options." lightbox="./media/vs-2022/finding-and-using-visual-studio-extensions/extension-manager-tools-options.png" :::
177
+
178
+
The list under **Extensions excluded from automatic updates** shows the extensions currently set to not be updated automatically. You might use this to ensure the stability and consistency of the extensions you're using during a critical phase of your development lifecycle.
179
+
180
+
:::moniker-end
181
+
130
182
### Crash and unresponsiveness notifications
131
183
132
184
Visual Studio notifies you if it suspects that an extension was involved in a crash during a previous session. When Visual Studio crashes, it stores the exception stack. The next time Visual Studio starts, it examines the stack, starting with the leaf and working towards the base. If Visual Studio determines that a frame belongs to a module that's part of an installed and enabled extension, it shows a notification.
0 commit comments