Skip to content

Commit 04c913f

Browse files
Merge pull request #14706 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-26 23:00 UTC
2 parents b94be53 + 3beba08 commit 04c913f

16 files changed

Lines changed: 116 additions & 25 deletions

docs/ide/encodings-and-line-breaks.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Encoding and line break characters
33
description: Explore the special characters that Visual Studio interprets as line breaks and separators and understand how to configure and maintain your encoding and line break.
4-
ms.date: 12/17/2024
4+
ms.date: 11/13/2025
55
ms.topic: concept-article
66
f1_keywords:
77
- vs.Encoding
@@ -56,6 +56,19 @@ You can also place the **Advanced Save Options** command directly on the **File*
5656

5757
For more information, see [Customize menus and toolbars](./how-to-customize-menus-and-toolbars-in-visual-studio.md#customize-a-menu-or-a-toolbar).
5858

59+
:::moniker range="visualstudio"
60+
61+
## Encoding in the editor margin
62+
63+
The editor bottom margin features an encoding widget that displays the current automatically detected encoding for the file, but also lets you change it. You can reopen or save the current file with a different encoding.
64+
65+
:::image type="content" alt-text="Screenshot showing editor bottom margin with the encoding widget highlighted." source="media/visualstudio/encoding-in-margin.png":::
66+
67+
If you choose to reopen or save the file, a dialog appears that lets you select an encoding. For help deciding what encoding you need, see [Character and data encoding](/globalization/encoding/encoding-overview).
68+
69+
:::moniker-end
70+
5971
## Related content
6072

6173
- [Features of the code editor](./writing-code-in-the-code-and-text-editor.md)
74+
- [Character and data encoding](/globalization/encoding/encoding-overview)

docs/ide/how-to-save-and-open-files-with-encoding.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
title: Save and open files with encoding
33
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: 11/13/2025
4+
ms.date: 11/14/2025
55
ms.topic: how-to
6+
f1_keywords:
7+
- vs.advancedsaveoptions
68
helpviewer_keywords:
79
- Unicode, bidirectional language support
810
- files, encoding
@@ -26,7 +28,23 @@ You can save files with specific character encoding in Visual Studio to support
2628

2729
## Save file with encoding
2830

29-
Follow these steps to save your file with encoding:
31+
:::moniker range="visualstudio"
32+
33+
Follow these steps to save your file with encoding. This procedure overwrites the file with its previous encoding.
34+
35+
1. In the editor bottom margin, on the bottom right, click on the encoding widget.
36+
37+
1. To save the file with a different encoding, choose **Save with Encoding**.
38+
39+
A dialog box appears with a dropdown list of available encodings.
40+
41+
:::image type="content" alt-text="Screenshot of encodings dialog box." source="media/visualstudio/encoding-dialog-box.png":::
42+
43+
1. Choose the encoding and select **OK**. The file is saved.
44+
45+
:::moniker-end
46+
47+
Follow these steps to save your file under a new filename with encoding:
3048

3149
1. In Visual Studio, select **File** > **Save <Filename\> As** for the file you want to save.
3250

37.6 KB
Loading
19.3 KB
Loading
8.23 KB
Loading
111 KB
Loading

docs/ide/reference/toolbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Toolbox window
33
description: Learn about the Toolbox window and how it displays controls that you can add to Visual Studio projects.
4-
ms.date: 06/01/2020
4+
ms.date: 11/26/2025
55
ms.topic: reference
66
f1_keywords:
77
- vs.toolbox.general

docs/ide/writing-code-in-the-code-and-text-editor.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ You can find many advanced features on the **Edit** > **Advanced** menu on the t
6565

6666
## Navigate and find code
6767

68-
You can move around the code editor in several different ways, including navigating backward and forward to previous insertion points, viewing the definition of a type or member, and jumping to a specific method using the navigation bar. For more information, see [Navigate code](navigating-code.md).
68+
You can move around the code editor in several different ways, including jumping to a specific line number, navigating backward and forward to previous insertion points, viewing the definition of a type or member, and jumping to a specific method using the navigation bar. For more information, see [Navigate code](navigating-code.md).
69+
70+
:::moniker range="visualstudio"
71+
To jump to a line number, press **Ctrl**+**G** or click the line and column numbers in the editor's bottom margin.
72+
:::moniker-end
6973

7074
You can also set bookmarks to mark lines in your code so that you can quickly return to a specific location, or jump back and forth between locations. To learn more, see [Bookmark code](setting-bookmarks-in-code.md).
7175

@@ -103,6 +107,24 @@ You can share your Visual Studio settings with another developer, have your sett
103107

104108
To define new hotkeys or redefine existing hotkeys, go to **Tools** > **Options** > **Environment** > **Keyboard**. For more information about hotkeys, see [Keyboard shortcuts](../ide/default-keyboard-shortcuts-in-visual-studio.md).
105109

110+
:::moniker range="visualstudio"
111+
112+
The bottom margin of the editor contains some customization controls.
113+
114+
You can easily change the default indentation style from tabs to spaces to vice versa by clicking on SPC or TAB. The actual number of spaces is configurable in **Tools** > **Options**, under **All Settings** > **Text Editor** > **All languages** > **Tabs**.
115+
116+
You can also change the default end-of-line codes from CR LF, the standard on Windows, to a different setting for better compatibility with other operating systems.
117+
118+
The bottom margin of the editor can also be customized. Right-click on an unused area of the margin to open the context menu, which lets you select or unselect each control element.
119+
120+
:::image type="content" alt-text="Screenshot of the bottom margin context menu, showing optional control elements." source="./media/visualstudio/editor-bottom-margin-context-menu.png":::
121+
122+
You can also change these settings in the **Tools** > **Options** pane, under **All Settings** > **Text Editor** > **General**. To control the bottom margin elements, make your selections under **Show editing context in the editor**.
123+
124+
:::image type="content" alt-text="Screenshot of Tools > Options experience under Text Editor > General, with the setting Show editing context in the editor highlighted." source="./media/visualstudio/tools-options-show-editing-context-in-the-editor.png":::
125+
126+
:::moniker-end
127+
106128
For JavaScript-specific editor options, see [JavaScript editor options](/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-formatting).
107129

108130
## Related content

docs/javascript/tutorial-asp-net-core-with-react.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create an ASP.NET Core app with React"
33
description: Create an ASP.NET Core project to serve as an API backend and a React project to provide the user interface in Visual Studio.
4-
ms.date: 04/09/2025
4+
ms.date: 11/26/2025
55
ms.topic: tutorial
66
ms.devlang: javascript
77
author: mikejo5000
@@ -133,7 +133,9 @@ If you don't see the weather forecast data in the browser, see [Troubleshooting]
133133
}
134134
```
135135

136-
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, etc.
136+
1. Right-click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, etc.
137+
138+
1. After the publish profile is created, choose **Publish** in the Publish tab to publish the project.
137139

138140
The publish process takes more time than it does for just an ASP.NET Core project, since the `npm run build` command gets invoked when publishing. The [BuildCommand](../javascript/javascript-project-system-msbuild-reference.md#buildcommand) runs `npm run build` by default.
139141

docs/javascript/tutorial-asp-net-core-with-vue.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create an ASP.NET Core app with Vue"
33
description: Create an ASP.NET Core project to serve as an API backend and a Vue project to provide the user interface in Visual Studio.
4-
ms.date: 4/09/2025
4+
ms.date: 11/26/2025
55
ms.topic: tutorial
66
ms.devlang: javascript
77
author: mikejo5000
@@ -136,7 +136,9 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
136136
}
137137
```
138138

139-
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, etc.
139+
1. Right-click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, etc.
140+
141+
1. After the publish profile is created, choose **Publish** in the Publish tab to publish the project.
140142

141143
The publish process takes more time than it does for just an ASP.NET Core project, since the `npm run build` command gets invoked when publishing. The [BuildCommand](../javascript/javascript-project-system-msbuild-reference.md#buildcommand) runs `npm run build` by default.
142144

0 commit comments

Comments
 (0)