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/encodings-and-line-breaks.md
+14-1Lines changed: 14 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: Encoding and line break characters
3
3
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
5
5
ms.topic: concept-article
6
6
f1_keywords:
7
7
- vs.Encoding
@@ -56,6 +56,19 @@ You can also place the **Advanced Save Options** command directly on the **File*
56
56
57
57
For more information, see [Customize menus and toolbars](./how-to-customize-menus-and-toolbars-in-visual-studio.md#customize-a-menu-or-a-toolbar).
58
58
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
+
59
71
## Related content
60
72
61
73
-[Features of the code editor](./writing-code-in-the-code-and-text-editor.md)
74
+
-[Character and data encoding](/globalization/encoding/encoding-overview)
Copy file name to clipboardExpand all lines: docs/ide/writing-code-in-the-code-and-text-editor.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,11 @@ You can find many advanced features on the **Edit** > **Advanced** menu on the t
65
65
66
66
## Navigate and find code
67
67
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
69
73
70
74
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).
71
75
@@ -103,6 +107,24 @@ You can share your Visual Studio settings with another developer, have your sett
103
107
104
108
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).
105
109
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
+
106
128
For JavaScript-specific editor options, see [JavaScript editor options](/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-formatting).
Copy file name to clipboardExpand all lines: docs/javascript/tutorial-asp-net-core-with-react.md
+4-2Lines changed: 4 additions & 2 deletions
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: "Create an ASP.NET Core app with React"
3
3
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
5
5
ms.topic: tutorial
6
6
ms.devlang: javascript
7
7
author: mikejo5000
@@ -133,7 +133,9 @@ If you don't see the weather forecast data in the browser, see [Troubleshooting]
133
133
}
134
134
```
135
135
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.
137
139
138
140
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.
Copy file name to clipboardExpand all lines: docs/javascript/tutorial-asp-net-core-with-vue.md
+4-2Lines changed: 4 additions & 2 deletions
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: "Create an ASP.NET Core app with Vue"
3
3
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
5
5
ms.topic: tutorial
6
6
ms.devlang: javascript
7
7
author: mikejo5000
@@ -136,7 +136,9 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
136
136
}
137
137
```
138
138
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.
140
142
141
143
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.
0 commit comments