Skip to content

Commit d5cb378

Browse files
Merge pull request #11145 from MicrosoftDocs/main638997950888963927sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 5df1735 + ee11c0f commit d5cb378

File tree

35 files changed

+368
-124
lines changed

35 files changed

+368
-124
lines changed
46.6 KB
Loading

docs/debugger/remote-debugging-azure-app-service.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Remote Debug ASP.NET Core on Azure App Service"
33
description: Configure Azure App Service for remote debugging and attach the remote debugger from Visual Studio to debug the app as though it's running locally.
4-
ms.date: 04/23/2024
4+
ms.date: 11/21/2025
55
ms.topic: article
66
author: "mikejo5000"
77
ms.author: "mikejo"
@@ -20,8 +20,6 @@ This article describes how to attach the Visual Studio debugger to an ASP.NET Co
2020

2121
- You must first deploy an ASP.NET Core app to Azure App Service (Windows) from Visual Studio, and the app must be running.
2222

23-
For hands-on training that includes App Service deployment, see [Remote debug ASP.NET Core on Azure](/training/modules/dotnet-debug-visual-studio-azure-web-apps/).
24-
2523
- Your publish profile in Visual Studio must be set to Debug instead of Release before publishing.
2624

2725
## Enable remote debugging
@@ -51,11 +49,17 @@ Your app service instance now supports remote debugging through Visual Studio.
5149
> [!NOTE]
5250
> Make sure the state of your local code matches what was deployed to Azure. This ensures that the local symbol files and source code line up with the deployed app.
5351
54-
1. Select **Debug > Options** from the top Visual Studio menu. Ensure that **Enable Just My code** is *unchecked* (as shown below), and then select **OK**.
52+
1. Select **Debug > Options** from the top Visual Studio menu. Ensure that **Enable Just My code** is *unchecked* (as shown in the following illustration), and then select **OK**.
5553

5654
Changing this setting allows Visual Studio to debug the optimized code that was deployed to Azure using the necessary symbol files from your local bin folder. Symbol files are used by the debugger as a bridge between compiled, executing code and the source code in Visual Studio. Matching symbol files are required for remote debugging.
5755

56+
::: moniker range="visualstudio"
57+
:::image type="content" source="../debugger/media/visualstudio/visual-studio-remote-debug-settings.png" alt-text="A screenshot of the Visual Studio debugging settings.":::
58+
::: moniker-end
59+
60+
::: moniker range="vs-2022"
5861
:::image type="content" source="../debugger/media/vs-2022/visual-studio-remote-debug-settings.png" alt-text="A screenshot of the Visual Studio debugging settings.":::
62+
::: moniker-end
5963

6064
## Attach the debugger to the App Service
6165

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

0 commit comments

Comments
 (0)