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/debugger/view-data-in-tabular-visualizer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "View data with the Tabular visualizer "
3
3
description: View large collection objects with built-in tabular visualizers in the Visual Studio debugger and examine data by row and column for fields and properties.
Copy file name to clipboardExpand all lines: docs/ide/how-to-save-and-open-files-with-encoding.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Save and open files with encoding
3
3
description: Learn how to save and open files with specific encoding in Visual Studio, and ensure files open correctly in subsequent use.
4
-
ms.date: 08/15/2024
4
+
ms.date: 01/13/2025
5
5
ms.topic: how-to
6
6
helpviewer_keywords:
7
7
- Unicode, bidirectional language support
@@ -47,6 +47,14 @@ Follow these steps to save your file with encoding:
47
47
> [!NOTE]
48
48
> To save the project file with encoding, first unload the project. The **Save File As** option isn't enabled until you unload the project.
49
49
50
+
::: moniker range=">= vs-2022"
51
+
## Set the default encoding
52
+
53
+
Starting in Visual Studio 2022 version 17.13 Preview 1, you can set the default encoding for saving files.
54
+
55
+
To set the default, choose **Tools** > **Options** > **Environment**, **Documents**. Next, select **Save files with the following encoding**, and then select the encoding you want as the default.
56
+
::: moniker-end
57
+
50
58
## Open encoded file with project
51
59
52
60
To open an encoded file located within a project, follow these steps:
@@ -78,7 +78,7 @@ Make sure to install the following:
78
78
79
79
This value prevents opening the web page with the source weather data.
80
80
81
-
>[!NOTE]
81
+
>[!NOTE]
82
82
> In Visual Studio, `launch.json` stores the startup settings associated with the **Start** button in the Debug toolbar. `launch.json` must be located under the `.vscode` folder.
83
83
84
84
1. Right-click the solution in Solution Explorer and select **Properties**. Verify that the Startup project settings are set to **Multiple projects**, and that the Action for both projects is set to **Start**.
@@ -90,7 +90,7 @@ Press **F5** or select the **Start** button at the top of the window to start th
90
90
- The ASP.NET Core API project running
91
91
- The Angular CLI running the ng start command
92
92
93
-
>[!NOTE]
93
+
>[!NOTE]
94
94
> Check console output for messages. For example there might be a message to update Node.js.
95
95
96
96
The Angular app appears and is populated via the API (the localhost port may vary from the screenshot).
@@ -103,7 +103,7 @@ If you don't see the app, see [Troubleshooting](#troubleshooting).
103
103
104
104
Starting in Visual Studio 2022 version 17.3, you can publish the integrated solution using the Visual Studio Publish tool.
105
105
106
-
>[!NOTE]
106
+
>[!NOTE]
107
107
> To use publish, create your JavaScript project using Visual Studio 2022 version 17.3 or later.
108
108
109
109
1. In Solution Explorer, right-click the **AngularWithASP.Server** project and select **Add** > **Project Reference**.
@@ -118,7 +118,7 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
118
118
119
119
1. In the `.csproj` file, make sure the project reference includes a `<ReferenceOutputAssembly>` element with the value set to `false`.
Copy file name to clipboardExpand all lines: docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,13 +260,12 @@ The XML configuration should be placed directly into `<RunSettings>` node:
260
260
Test run parameters provide a way to define variables and values that are available to the tests at run time. Access the parameters using the MSTest <xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Properties%2A?displayProperty=nameWithType> property (or the NUnit [TestContext](https://docs.nunit.org/articles/nunit/writing-tests/TestContext.html)):
Copy file name to clipboardExpand all lines: docs/version-control/git-manage-repository.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,8 @@ Select the new commit to confirm that it undoes the changes of the reverted comm
142
142
143
143
:::image type="content" source="media/vs-2022/git-repository-revert-confirmation.png" alt-text="Screenshot of confirming a revert operation." lightbox="media/vs-2022/git-repository-revert-confirmation.png":::
144
144
145
+
The **Revert** menu item might be grayed out (disabled) in certain circumstances, such as for merge commits or when a Git operation is running.
146
+
145
147
To learn more about reverting changes, see the [Git webpage for the revert command](https://git-scm.com/docs/git-revert).
0 commit comments