Skip to content

Commit 0f502b8

Browse files
authored
Merge pull request #1 from MicrosoftDocs/main
syncing fork
2 parents 1c89172 + 59d9c24 commit 0f502b8

File tree

128 files changed

+412
-2912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+412
-2912
lines changed

.openpublishing.redirection.json

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,181 @@
13551355
"redirect_url": "/troubleshoot/developer/visualstudio/tools-utilities/troubleshooting-office-solution-security",
13561356
"redirect_document_id": false
13571357
},
1358+
{
1359+
"source_path": "docs/vsto/accessibility-in-office-projects.md",
1360+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/accessibility-in-office-projects?view=vs-2017&preserve-view=true",
1361+
"redirect_document_id": false
1362+
},
1363+
{
1364+
"source_path": "docs/vsto/changes-to-the-design-of-office-projects-that-target-the-dotnet-framework-4-or-the-dotnet-framework-4-5.md",
1365+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/changes-to-the-design-of-office-projects-that-target-the-dotnet-framework-4-or-the-dotnet-framework-4-5?view=vs-2017&preserve-view=true",
1366+
"redirect_document_id": false
1367+
},
1368+
{
1369+
"source_path": "docs/vsto/collaborative-development-of-office-solutions.md",
1370+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/collaborative-development-of-office-solutions?view=vs-2017&preserve-view=true",
1371+
"redirect_document_id": false
1372+
},
1373+
{
1374+
"source_path": "docs/vsto/data-in-office-solutions-walkthroughs.md",
1375+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/data-in-office-solutions-walkthroughs?view=vs-2017&preserve-view=true",
1376+
"redirect_document_id": false
1377+
},
1378+
{
1379+
"source_path": "docs/vsto/how-to-add-a-form-region-to-an-outlook-add-in-project.md",
1380+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-add-a-form-region-to-an-outlook-add-in-project?view=vs-2017&preserve-view=true",
1381+
"redirect_document_id": false
1382+
},
1383+
{
1384+
"source_path": "docs/vsto/how-to-add-controls-to-the-backstage-view.md",
1385+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-add-controls-to-the-backstage-view?view=vs-2017&preserve-view=true",
1386+
"redirect_document_id": false
1387+
},
1388+
{
1389+
"source_path": "docs/vsto/how-to-add-xmlmappedrange-controls-to-worksheets.md",
1390+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-add-xmlmappedrange-controls-to-worksheets?view=vs-2017&preserve-view=true",
1391+
"redirect_document_id": false
1392+
},
1393+
{
1394+
"source_path": "docs/vsto/how-to-add-xmlnode-controls-to-word-documents.md",
1395+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-add-xmlnode-controls-to-word-documents?view=vs-2017&preserve-view=true",
1396+
"redirect_document_id": false
1397+
},
1398+
{
1399+
"source_path": "docs/vsto/how-to-add-xmlnodes-controls-to-word-documents.md",
1400+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-add-xmlnodes-controls-to-word-documents?view=vs-2017&preserve-view=true",
1401+
"redirect_document_id": false
1402+
},
1403+
{
1404+
"source_path": "docs/vsto/how-to-attach-managed-code-extensions-to-documents.md",
1405+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-attach-managed-code-extensions-to-documents?view=vs-2017&preserve-view=true",
1406+
"redirect_document_id": false
1407+
},
1408+
{
1409+
"source_path": "docs/vsto/how-to-cache-data-in-a-password-protected-document.md",
1410+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-cache-data-in-a-password-protected-document?view=vs-2017&preserve-view=true",
1411+
"redirect_document_id": false
1412+
},
1413+
{
1414+
"source_path": "docs/vsto/how-to-expose-code-to-vba-in-a-visual-basic-project.md",
1415+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-expose-code-to-vba-in-a-visual-basic-project?view=vs-2017&preserve-view=true",
1416+
"redirect_document_id": false
1417+
},
1418+
{
1419+
"source_path": "docs/vsto/how-to-open-office-solutions-without-running-code.md",
1420+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-open-office-solutions-without-running-code?view=vs-2017&preserve-view=true",
1421+
"redirect_document_id": false
1422+
},
1423+
{
1424+
"source_path": "docs/vsto/how-to-programmatically-add-an-entry-to-outlook-contacts.md",
1425+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-add-an-entry-to-outlook-contacts?view=vs-2017&preserve-view=true",
1426+
"redirect_document_id": false
1427+
},
1428+
{
1429+
"source_path": "docs/vsto/how-to-programmatically-cache-a-data-source-in-an-office-document.md",
1430+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-cache-a-data-source-in-an-office-document?view=vs-2017&preserve-view=true",
1431+
"redirect_document_id": false
1432+
},
1433+
{
1434+
"source_path": "docs/vsto/how-to-programmatically-check-spelling-in-worksheets.md",
1435+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-check-spelling-in-worksheets?view=vs-2017&preserve-view=true",
1436+
"redirect_document_id": false
1437+
},
1438+
{
1439+
"source_path": "docs/vsto/how-to-programmatically-delete-appointments.md",
1440+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-delete-appointments?view=vs-2017&preserve-view=true",
1441+
"redirect_document_id": false
1442+
},
1443+
{
1444+
"source_path": "docs/vsto/how-to-programmatically-display-worksheet-comments.md",
1445+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-display-worksheet-comments?view=vs-2017&preserve-view=true",
1446+
"redirect_document_id": false
1447+
},
1448+
{
1449+
"source_path": "docs/vsto/how-to-programmatically-restore-selections-after-searches.md",
1450+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-restore-selections-after-searches?view=vs-2017&preserve-view=true",
1451+
"redirect_document_id": false
1452+
},
1453+
{
1454+
"source_path": "docs/vsto/how-to-scroll-through-database-records-in-a-worksheet.md",
1455+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-scroll-through-database-records-in-a-worksheet?view=vs-2017&preserve-view=true",
1456+
"redirect_document_id": false
1457+
},
1458+
{
1459+
"source_path": "docs/vsto/one-or-more-properties-in-the-dot-ofs-file-are-not-valid-for-the-message-class-selected .md",
1460+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/one-or-more-properties-in-the-dot-ofs-file-are-not-valid-for-the-message-class-selected?view=vs-2017&preserve-view=true",
1461+
"redirect_document_id": false
1462+
},
1463+
{
1464+
"source_path": "docs/vsto/password-protection-on-office-documents.md",
1465+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/password-protection-on-office-documents?view=vs-2017&preserve-view=true",
1466+
"redirect_document_id": false
1467+
},
1468+
{
1469+
"source_path": "docs/vsto/persisting-dynamic-controls-in-office-documents.md",
1470+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/persisting-dynamic-controls-in-office-documents?view=vs-2017&preserve-view=true",
1471+
"redirect_document_id": false
1472+
},
1473+
{
1474+
"source_path": "docs/vsto/project-upgrade-options-dialog-box.md",
1475+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/project-upgrade-options-dialog-box?view=vs-2017&preserve-view=true",
1476+
"redirect_document_id": false
1477+
},
1478+
{
1479+
"source_path": "docs/vsto/publish-page-project-designer-office-development-in-visual-studio.md",
1480+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/publish-page-project-designer-office-development-in-visual-studio?view=vs-2017&preserve-view=true",
1481+
"redirect_document_id": false
1482+
},
1483+
{
1484+
"source_path": "docs/vsto/required-changes-to-run-office-projects-that-you-migrate-to-the-dotnet-framework-4-or-the-dotnet-framework-4-5.md",
1485+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/required-changes-to-run-office-projects-that-you-migrate-to-the-dotnet-framework-4-or-the-dotnet-framework-4-5?view=vs-2017&preserve-view=true",
1486+
"redirect_document_id": false
1487+
},
1488+
{
1489+
"source_path": "docs/vsto/secure-deployment.md",
1490+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/secure-deployment?view=vs-2017&preserve-view=true",
1491+
"redirect_document_id": false
1492+
},
1493+
{
1494+
"source_path": "docs/vsto/security-and-deployment-walkthroughs.md",
1495+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/security-and-deployment-walkthroughs?view=vs-2017&preserve-view=true",
1496+
"redirect_document_id": false
1497+
},
1498+
{
1499+
"source_path": "docs/vsto/updating-form-regions-in-outlook-projects-that-you-migrate-to-the-dotnet-framework-4-or-the-dotnet-framework-4-5.md",
1500+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/updating-form-regions-in-outlook-projects-that-you-migrate-to-the-dotnet-framework-4-or-the-dotnet-framework-4-5?view=vs-2017&preserve-view=true",
1501+
"redirect_document_id": false
1502+
},
1503+
{
1504+
"source_path": "docs/vsto/upgrading-and-migrating-office-solutions.md",
1505+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/upgrading-and-migrating-office-solutions?view=vs-2017&preserve-view=true",
1506+
"redirect_document_id": false
1507+
},
1508+
{
1509+
"source_path": "docs/vsto/user-interface-reference-office-development-in-visual-studio.md",
1510+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/user-interface-reference-office-development-in-visual-studio?view=vs-2017&preserve-view=true",
1511+
"redirect_document_id": false
1512+
},
1513+
{
1514+
"source_path": "docs/vsto/walkthrough-creating-a-master-detail-relation-using-a-cached-dataset.md",
1515+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/walkthrough-creating-a-master-detail-relation-using-a-cached-dataset?view=vs-2017&preserve-view=true",
1516+
"redirect_document_id": false
1517+
},
1518+
{
1519+
"source_path": "docs/vsto/working-with-mail-items.md",
1520+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/working-with-mail-items?view=vs-2017&preserve-view=true",
1521+
"redirect_document_id": false
1522+
},
1523+
{
1524+
"source_path": "docs/vsto/xmlmappedrange-control.md",
1525+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/xmlmappedrange-control?view=vs-2017&preserve-view=true",
1526+
"redirect_document_id": false
1527+
},
1528+
{
1529+
"source_path": "docs/vsto/xmlnode-control.md",
1530+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/vsto/xmlnode-control?view=vs-2017&preserve-view=true",
1531+
"redirect_document_id": false
1532+
},
13581533
{
13591534
"source_path": "docs/debugger/troubleshoot-data-breakpoint-errors.md",
13601535
"redirect_url": "visualstudio/debugger/troubleshooting-breakpoints",

docs/ide/customizing-window-layouts-in-visual-studio.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Customize window layouts and personalize document tabs
33
description: Learn how to customize tabs and windows in Visual Studio to create layouts that work best for your development workflows.
4-
ms.date: 08/24/2022
4+
ms.date: 08/30/2023
55
ms.topic: conceptual
66
f1_keywords:
77
- vs.windows
@@ -40,7 +40,7 @@ You can also name and save a custom layout and then switch between layouts with
4040

4141
### Tool and document windows
4242

43-
The IDE has two basic window types, *tool windows* and *document windows*. Tool windows include **Solution Explorer**, **Server Explorer**, **Output Window**, **Error List**, the designers, the debugger windows, and so on. Document windows contain source code files, arbitrary text files, config files, and so on. Tool windows can be resized and dragged by their title bar. Document windows can be dragged by their tab. Right-click on the tab or title bar to set other options on the window.
43+
The IDE has two basic window types, *tool windows* and *document windows*. Tool windows include **Solution Explorer**, **Server Explorer**, **Output Window**, **Error List**, the designers, the debugger windows, and so on. Document windows contain source code files, arbitrary text files, config files, and so on. You can resize or drag tool windows by their title bar. You can drag document windows by their tab. Right-click on the tab or title bar to set other options on the window.
4444

4545
The **Window** menu shows options for docking, floating, and hiding windows in the IDE. Right-click on a window tab or title bar to see more options for that specific window. You can display more than one instance of certain tool windows at a time. For example, you can display more than one web browser window, and you can create extra instances of some tool windows by selecting **New Window** on the **Window** menu.
4646

@@ -74,7 +74,7 @@ To arrange tool and document windows, you can place your cursor on the title bar
7474

7575
#### Dock windows
7676

77-
When you select and drag the title bar of a tool window or the tab of document window, a guide diamond appears. During the drag operation, when the mouse cursor is over one of the arrows in the diamond, a shaded area appears that shows you where the window will be docked if you release the mouse button.
77+
When you select and drag the title bar of a tool window or the tab of document window, a guide diamond appears. During the drag operation, when the mouse cursor is over one of the arrows in the diamond, a shaded area appears that shows you where the window can be docked if you release the mouse button.
7878

7979
To move a dockable window without snapping it into place, press the **Ctrl** key while you drag the window.
8080

@@ -92,7 +92,7 @@ The following screenshot shows **Solution Explorer** being docked in a new locat
9292

9393
:::image type="content" source="media/docked-diamond-solution-explorer-example-sml.png" alt-text="Screenshot of what appears in the IDE when you want to dock Solution Explorer in a new position." lightbox="media/docked-diamond-solution-explorer-example-lrg.png":::
9494

95-
### Close and auto-hide tool windows
95+
### Close and autohide tool windows
9696

9797
You can close a tool window by selecting the **X** in the upper right of the title bar. To reopen the window, select the tool windows you want by using **View** on the menu bar, or by using its associated keyboard shortcut.
9898

@@ -111,7 +111,7 @@ Tool windows support a feature named **Auto Hide**, which causes a window to sli
111111
If you have a second monitor and your operating system supports it, you can select which monitor displays a window. You can even group multiple windows together in *rafts* on other monitors.
112112

113113
> [!TIP]
114-
> You can create multiple instances of **Solution Explorer** and move them to another monitor. Right-click the [**Solution** node](use-solution-explorer.md#solution-node-context-menu-options) and select **New Solution Explorer View**. To close the extra instances, double-click each one while pressing the **Ctrl** key.
114+
> You can create multiple instances of **Solution Explorer** and move them to another monitor. Right-click the [**Solution** node](use-solution-explorer.md#solution-explorer-ui) and select **[New Solution Explorer View](use-solution-explorer.md#solution-node-menu-options)**. To close the extra instances, double-click each one while pressing the **Ctrl** key.
115115
116116
#### Reset, name, and switch between window layouts
117117

@@ -129,7 +129,7 @@ Visual Studio enables you to save up to 10 custom window layouts and quickly swi
129129

130130
##### Create a project and customize the layout
131131

132-
First, we'll create a user interface (UI) project. The idea is to maximize the space for the designer window by moving other tool windows out of the way.
132+
First, create a user interface (UI) project. The idea is to maximize the space for the designer window by moving other tool windows out of the way.
133133

134134
1. Create a new C# **WPF Application** project.
135135

@@ -145,9 +145,9 @@ First, we'll create a user interface (UI) project. The idea is to maximize the s
145145

146146
##### Create a database project and layout
147147

148-
Next, we'll add a new SQL Server database project to the solution.
148+
Next, add a new SQL Server database project to the solution.
149149

150-
1. Right-click the **Solution** node in **Solution Explorer** to open its [context menu](use-solution-explorer.md#the-add-context-menu-fly-out), select **Add**, and then select **New Project**.
150+
1. Right-click the **Solution** node in **Solution Explorer** to open its [context menu](use-solution-explorer.md#solution-explorer-context-menu), select **Add**, and then select **New Project**.
151151

152152
1. In the **Add a new project** dialog, select **SQL** from the **All project types** drop-down list, and then select **SQL Server Database Project**.
153153

@@ -157,7 +157,7 @@ Next, we'll add a new SQL Server database project to the solution.
157157

158158
When you do so, Visual Studio displays the **SQL Server Object Explorer** window, which enables you to access tables, views and other objects in your database. You can either float this window or leave it docked. Adjust the other tool windows the way you want them. For added realism, you can add an actual database, but it's not necessary for this walk-through.
159159

160-
1. When your layout is how you want it, select **Window** from the menu bar, and then select **Save Window Layout**. Name this layout "DB Project". (We won't bother with a debug mode layout for this project.)
160+
1. When your layout is how you want it, select **Window** from the menu bar, and then select **Save Window Layout**. Name this layout "DB Project". (Don't bother with a debug mode layout for this project.)
161161

162162
##### Switch between the layouts
163163

@@ -184,6 +184,9 @@ These layouts automatically roam between Visual Studio [editions](https://visual
184184

185185
You can personalize tabs to interact with document windows in several different ways. For example, you can view a preview of a file in the editor without opening the file, you can group your tabs, arrange them in multiple rows, and more.
186186

187+
> [!TIP]
188+
> To learn more about how to manage tabs in Visual Studio 2022 and later, see the following blog post: [Too many tabs open? No problem!](https://devblogs.microsoft.com/visualstudio/too-many-tabs-open-no-problem/)
189+
187190
### Preview tab
188191

189192
In the **Preview** tab, you can view files in the editor without opening them. You can preview files by selecting them in **Solution Explorer**, during debugging when you step into files, with **Go to Definition**, and when you browse through results of a search. Preview files appear in a tab on the right side of the document tab well. The file opens for editing if you modify it or select **Open**.
@@ -218,7 +221,7 @@ You can apply vertical document tabs in the following ways:
218221

219222
### Color document tabs
220223

221-
Visual Studio 2022 includes new personalization options you can use to help you code more efficiently. Now, you can color file tabs by project so that you don't have to hunt for your open files.
224+
Visual Studio 2022 includes new personalization options that can help you code more efficiently. Now, you can color file tabs by project so that you don't have to hunt for your open files.
222225

223226
To use color tabs, navigate to **Tools** > **Options** > **Environment** > **Tabs and Windows**, and then select **Colorize document tabs by project**.
224227

@@ -244,7 +247,7 @@ The following screenshot shows an example of how to personalize the color scheme
244247

245248
### Multiple rows of tabs
246249

247-
We’ve added the capability to wrap tabs into multiple rows so you can have more horizontal tabs open at a time. Pinned tabs will show in a separate row from unpinned tabs.
250+
We’ve added the capability to wrap tabs into multiple rows so you can have more horizontal tabs open at a time. Pinned tabs show up in a separate row from unpinned tabs.
248251

249252
:::image type="content" source="media/vs-2022/tabs-multiple-rows-sml.png" alt-text="Screenshot of an example of tabs arranged in multiple rows." lightbox="media/vs-2022/tabs-multiple-rows-lrg.png":::
250253

0 commit comments

Comments
 (0)