Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"redirections": [
{
"source_path": "docs/ide/reference/command-window.md",
"redirect_url": "/visualstudio/ide/command-window",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/error-list-window.md",
"redirect_url": "/visualstudio/ide/error-list-window",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/output-window.md",
"redirect_url": "/visualstudio/ide/output-window",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/user-notifications-window.md",
"redirect_url": "/visualstudio/ide/user-notifications-window",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/trust-settings.md",
"redirect_url": "/visualstudio/ide/trust-settings",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/team-explorer-reference.md",
"redirect_url": "/visualstudio/ide/team-explorer-reference",
"redirect_document_id": true
},
{
"source_path": "docs/ide/reference/options-text-editor-all-languages-tabs.md",
"redirect_url": "/visualstudio/ide/options-text-editor-all-languages-tabs",
Expand Down
28 changes: 14 additions & 14 deletions docs/ide/reference/command-window.md → docs/ide/command-window.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Command Window
description: Learn how you can use the Command window to execute commands or aliases directly in the Visual Studio IDE.
ms.date: 11/04/2016
ms.topic: reference
ms.date: 8/27/2025
ms.topic: concept-article
f1_keywords:
- VS.CommandWindow
helpviewer_keywords:
Expand All @@ -19,10 +19,10 @@ ms.subservice: general-ide
---
# Command Window

The **Command** window is used to execute commands or aliases directly in the Visual Studio integrated development environment (IDE). You can execute both menu commands and commands that do not appear on any menu. To display the **Command** window, choose **Other Windows** from the **View** menu, and select **Command Window**.
The **Command** window is used to execute commands or aliases directly in the Visual Studio integrated development environment (IDE). You can execute both menu commands and commands that don't appear on any menu. To display the **Command** window, choose **Other Windows** from the **View** menu, and select **Command Window**.

## Displaying the Values of Variables
To check the value of a variable `varA`, use the [Print Command](../../ide/reference/print-command.md):
To check the value of a variable `varA`, use the [Print Command](reference/print-command.md):

```cmd
>Debug.Print varA
Expand All @@ -34,7 +34,7 @@ The question mark (?) is an alias for `Debug.Print`, so this command can also be
>? varA
```

Both versions of this command will return the value of the variable `varA`.
Both versions of this command return the value of the variable `varA`.

## Entering Commands
The greater than symbol (`>`) appears at the left edge of the Command window as a prompt for new lines. Use the UP ARROW and DOWN ARROW keys to scroll through previously issued commands.
Expand Down Expand Up @@ -62,12 +62,12 @@ When you click on any previous line in the **Command** window, you shift automat
## The Equals (=) Sign
The window used to enter the `EvaluateStatement` command determines whether an equals sign (=) is interpreted as a comparison operator or as an assignment operator.

In the **Command** window, an equals sign (=) is interpreted as a comparison operator. You cannot use assignment operators in the **Command** window. So, for example, if the values of variables `varA` and `varB` are different, then the command `>Debug.EvaluateStatement(varA=varB)` will return a value of `False`.
In the **Command** window, an equals sign (=) is interpreted as a comparison operator. You can't use assignment operators in the **Command** window. So, for example, if the values of variables `varA` and `varB` are different, then the command `>Debug.EvaluateStatement(varA=varB)` returns a value of `False`.

In the **Immediate** window, by contrast, an equals sign (=) is interpreted as an assignment operator. So, for example, the command `>Debug.EvaluateStatement(varA=varB)` will assign to variable `varA` the value of variable `varB`.
In the **Immediate** window, by contrast, an equals sign (=) is interpreted as an assignment operator. So, for example, the command `>Debug.EvaluateStatement(varA=varB)` assigns to variable `varA` the value of variable `varB`.

## Parameters, Switches, and Values
Some Visual Studio commands have required and optional arguments, switches and values. Certain rules apply when dealing with such commands. The following is an example of a rich command to clarify the terminology.
Some Visual Studio commands have required and optional arguments, switches, and values. Certain rules apply when dealing with such commands. The following example shows a rich command to clarify the terminology.

```cmd
Edit.ReplaceInFiles /case /pattern:regex var[1-3]+ oldpar
Expand All @@ -86,25 +86,25 @@ In this example,
> [!NOTE]
> Any command, parameter, switch, or value that contains spaces must have double quotation marks on either side.

The position of switches and parameters can be interchanged freely on the command line with the exception of the [Shell](../../ide/reference/shell-command.md) command, which requires its switches and parameters in a specific order.
The position of switches and parameters can be interchanged freely on the command line, except for the [Shell](reference/shell-command.md) command, which requires its switches and parameters in a specific order.

Nearly every switch supported by a command has two forms: a short (one character) form and a long form. Multiple short-form switches can be combined into a group. For example, `/p /g /m` can be expressed alternately as `/pgm`.

If short-form switches are combined into a group and given a value, that value applies to every switch. For example, `/pgm:123` equates to `/p:123 /g:123 /m:123`. An error occurs if any of the switches in the group does not accept a value.

## Escape Characters
A caret (^) character in a command line means that the character immediately following it is interpreted literally, rather than as a control character. This can be used to embed straight quotation marks ("), spaces, leading slashes, carets, or any other literal characters in a parameter or switch value, with the exception of switch names. For example,
A caret (^) character in a command line means that the character immediately following it is interpreted literally, rather than as a control character. This escape character can be used to embed straight quotation marks ("), spaces, leading slashes, carets, or any other literal characters in a parameter or switch value, except for switch names. For example,

```cmd
>Edit.Find ^^t /regex
```

A caret functions the same whether it is inside or outside quotation marks. If a caret is the last character on the line, it is ignored. The example shown here demonstrates how to search for the pattern "^t".
A caret functions the same whether it's inside or outside quotation marks. If a caret is the last character on the line, it is ignored. The example shown here demonstrates how to search for the pattern "^t".

## Use Quotes for Path Names with Spaces
If, for example, you want to open a file that has a path containing spaces, you must put double quotes around the path or path segment that contains spaces: **C:\\"Program Files"** or **"C:\Program Files"**.
If, for example, you want to open a file that has a path that contains spaces, you must put double quotes around the path or path segment that contains spaces: **C:\\"Program Files"** or **"C:\Program Files"**.

## See also

- [Visual Studio Command Aliases](../../ide/reference/visual-studio-command-aliases.md)
- [Visual Studio Commands](../../ide/reference/visual-studio-commands.md)
- [Visual Studio Command Aliases](reference/visual-studio-command-aliases.md)
- [Visual Studio Commands](reference/visual-studio-commands.md)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Error List Window
description: Learn about the Error List window and how to use it to perform tasks related to resolving the errors it displays.
ms.date: 2/5/2025
ms.topic: reference
ms.date: 8/27/2025
ms.topic: concept-article
helpviewer_keywords:
- Task List
- build errors
Expand All @@ -17,7 +17,7 @@ ms.subservice: general-ide
# Error List window

> [!NOTE]
> The **Error List** displays information about a specific error message. You can copy the error number or error string text from the **Output** window. To display the **Output** window, press **Ctrl**+**Alt**+**O**. See [Output window](../../ide/reference/output-window.md).
> The **Error List** displays information about a specific error message. You can copy the error number or error string text from the **Output** window. To display the **Output** window, press **Ctrl**+**Alt**+**O**. See [Output window](output-window.md).

The **Error List** window lets you perform the following tasks:

Expand Down Expand Up @@ -74,7 +74,7 @@ You can copy the error list and save it to a file. Select the errors you want to

**Severity**

Displays the different types of **Error List** entry (**Error**, **Message**, **Warning**, **Warning (active)**, **Warning (inactive)**.
Displays the different types of **Error List** entry (**Error**, **Message**, **Warning**, **Warning (active)**, **Warning (inactive)**).

**Code**

Expand All @@ -98,8 +98,8 @@ Displays the line where the problem occurs.

**Details**

Displays a clickable icon to open the [Problem Details window](../../ide/reference/problem-details-window.md) if this entry has additional details.
Displays a clickable icon to open the [Problem Details window](reference/problem-details-window.md) if this entry has additional details.

## Disable the Error List window

Like any other tool window, there are a variety of ways to manage the window. You can set it to auto-hide, close it, or create a window layout that does or doesn't contain the Error List window. See [Customize window layouts in Visual Studio - Close and autohide tool windows](../customizing-window-layouts-in-visual-studio.md#close-and-autohide-tool-windows).
Like any other tool window, there are a variety of ways to manage the window. You can set it to auto-hide, close it, or create a window layout that does or doesn't contain the Error List window. See [Customize window layouts in Visual Studio - Close and autohide tool windows](customizing-window-layouts-in-visual-studio.md#close-and-autohide-tool-windows).
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Output Window
description: Learn about the Output window and how it displays status messages for various features in the IDE.
ms.date: 11/04/2016
ms.topic: reference
ms.date: 8/27/2025
ms.topic: concept-article
f1_keywords:
- vs.build.output
- vs.debug.output
Expand Down Expand Up @@ -56,9 +56,9 @@ The **Output** pane selected in the **Show output from** list displays output fr

To display the **Output** window whenever you build a project, in the **Options** dialog box, on the **Projects and Solutions** > **General** page, select **Show Output window when build starts**. Then, with a code file open for editing, choose **Go to Next Message** and **Go To Previous Message** on the **Output** window toolbar to select entries in the **Output** pane. As you do this, the insertion point in the code editor jumps to the line of code where the selected problem occurs.

Certain IDE features and commands invoked in the [Command window](../../ide/reference/command-window.md) deliver their output to the **Output** window. Output from external tools such as *.bat* and *.com* files, which is typically displayed in the command window, is routed to an **Output** pane when you select the **Use Output Window** option in [Manage external tools](../../ide/managing-external-tools.md). Many other kinds of messages can be displayed in **Output** panes as well. For example, when Transact-SQL syntax in a stored procedure is checked against a target database, the results are displayed in the **Output** window.
Certain IDE features and commands invoked in the [Command window](command-window.md) deliver their output to the **Output** window. Output from external tools such as *.bat* and *.com* files, which is typically displayed in the command window, is routed to an **Output** pane when you select the **Use Output Window** option in [Manage external tools](managing-external-tools.md). Many other kinds of messages can be displayed in **Output** panes as well. For example, when Transact-SQL syntax in a stored procedure is checked against a target database, the results are displayed in the **Output** window.

You can also program your own applications to write diagnostic messages at run time to an **Output** pane. To do this, use members of the <xref:System.Diagnostics.Debug> class or <xref:System.Diagnostics.Trace> class in the <xref:System.Diagnostics> namespace of the .NET API. Members of the <xref:System.Diagnostics.Debug> class display output when you build Debug configurations of your solution or project; members of the <xref:System.Diagnostics.Trace> class display output when you build either Debug or Release configurations. For more information, see [Diagnostic messages in the Output window](../../debugger/diagnostic-messages-in-the-output-window.md).
You can also program your own applications to write diagnostic messages at run time to an **Output** pane. To do this, use members of the <xref:System.Diagnostics.Debug> class or <xref:System.Diagnostics.Trace> class in the <xref:System.Diagnostics> namespace of the .NET API. Members of the <xref:System.Diagnostics.Debug> class display output when you build Debug configurations of your solution or project; members of the <xref:System.Diagnostics.Trace> class display output when you build either Debug or Release configurations. For more information, see [Diagnostic messages in the Output window](../debugger/diagnostic-messages-in-the-output-window.md).

In C++, you can create custom build steps and build events whose warnings and errors are displayed and counted in the **Output** pane. By pressing **F1** on a line of output, you can display an appropriate help topic. For more information, see [Format the output of a custom build step](/cpp/build/formatting-the-output-of-a-custom-build-step-or-build-event).

Expand All @@ -68,12 +68,12 @@ If you use autoscrolling in the **Output** window and then navigate by using the

## Structured Diagnostics

C++ MSBuild projects might emit structured diagnostics. The level of indentation of a diagnostic in the **Output** window represents the nested structure of the information. Enable or disable indentation with the **Project** > **Properties** > **Advanced** > **Enable MSVC Structured Output** option. You can affect several projects by creating a [Directory.Build.props](/visualstudio/msbuild/customize-by-directory) file with the **UseStructuredOutput** property defined to true or false.
C++ MSBuild projects might emit structured diagnostics. The level of indentation of a diagnostic in the **Output** window represents the nested structure of the information. Enable or disable indentation with the **Project** > **Properties** > **Advanced** > **Enable MSVC Structured Output** option. You can affect several projects by creating a [Directory.Build.props](../msbuild/customize-by-directory.md) file with the **UseStructuredOutput** property defined to true or false.

## See also

- [Diagnostic messages in the Output window](../../debugger/diagnostic-messages-in-the-output-window.md)
- [Diagnostic messages in the Output window](../debugger/diagnostic-messages-in-the-output-window.md)
- [How to: Control the Output window](/previous-versions/ht6z4e28(v=vs.140))
- [Compile and build](../../ide/compiling-and-building-in-visual-studio.md)
- [Understand build configurations](../../ide/understanding-build-configurations.md)
- [Compile and build](compiling-and-building-in-visual-studio.md)
- [Understand build configurations](understanding-build-configurations.md)
- [Class library overview](/dotnet/standard/class-library-overview)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Team Explorer reference
title: Team Explorer overview
description: Learn about the various functions in Team Explorer to manage work and coordinate with other team members to develop a project.
ms.date: 11/02/2022
ms.topic: reference
ms.date: 8/27/2025
ms.topic: overview
ms.author: ghogen
ms.custom: "ide-ref"
author: ghogen
Expand All @@ -16,11 +16,11 @@ This article provides links to Azure DevOps articles about the various functions
Use the **Team Explorer** tool window to coordinate your code efforts with other team members to develop a project, and to manage work that's assigned to you, your team, or your projects. **Team Explorer** connects Visual Studio to Git and GitHub repositories, Team Foundation version control (TFVC) repositories, and projects hosted on [Azure DevOps Services](/azure/devops/user-guide/what-is-azure-devops-services) or an on-premises [Azure DevOps Server](/azure/devops/index-all) (formerly known as Team Foundation Server, or TFS). You can manage source code, work items, and builds.

> [!IMPORTANT]
> Starting with the release of Visual Studio 2019 [**version 16.8**](/visualstudio/releases/2019/release-notes-history), the Git version control experience is the default. If you'd like to learn more about how it compares with Team Explorer, see the [**Side-by-side comparison of Git and Team Explorer**](../../version-control/git-team-explorer-feature-comparison.md) page.
> Starting with the release of Visual Studio 2019 [**version 16.8**](/visualstudio/releases/2019/release-notes-history), the Git version control experience is the default. If you'd like to learn more about how it compares with Team Explorer, see the [**Side-by-side comparison of Git and Team Explorer**](../version-control/git-team-explorer-feature-comparison.md) page.

## Home page

After you [connect to a project](../connect-team-project.md) in **Team Explorer**, the following links become available in the **Project** section:
After you [connect to a project](connect-team-project.md) in **Team Explorer**, the following links become available in the **Project** section:

- [Clone repository](/azure/devops/repos/git/clone)
- [Web Portal](/azure/devops/project/navigation/index)
Expand Down Expand Up @@ -109,4 +109,4 @@ The **Settings** page lets you configure administrative features for either a pr

## See also

- [Connect to projects in Team Explorer](../../ide/connect-team-project.md)
- [Connect to projects in Team Explorer](connect-team-project.md)
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: Trust Settings for files and folders
title: Configure trust settings for files and folders
description: Learn how to change trust settings for files and folders to keep Visual Studio secure.
author: ghogen
ms.author: ghogen
manager: mijacobs
ms.subservice: general-ide
ms.date: 11/12/2024
ms.topic: reference
ms.date: 8/27/2025
ms.topic: how-to
f1_keywords:
- VS.ToolsOptionsPages.Environment.PathTrustOptions
helpviewer_keywords:
Expand Down Expand Up @@ -167,4 +167,4 @@ To remove trusted paths, follow these steps:

## See also

[Build an application in Visual Studio](../walkthrough-building-an-application.md)
[Build an application in Visual Studio](walkthrough-building-an-application.md)
Loading