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/remote-debugging-azure-app-service.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,8 @@ Make sure you have completed the following steps in Visual Studio before debuggi
66
66
67
67
1. Select **Find..** next to the **Connection Target** field to open a dialog that allows you to browse your Azure subscriptions and app services.
68
68
69
+
If you are not already signed in with your Azure subscription, select **Find...** and then you can [sign in](../azure/how-to-sign-in-with-azure-subscription.md).
70
+
69
71
1. Locate and select the App Service instance you created in the previous step, and then choose **OK**.
70
72
71
73
1. The `w3wp.exe` process should appear in the list of available processes to connect to, which is the main process of the Azure App Service that hosts the deployed application. Select that process and then choose **Attach** in the bottom right to connect the Visual Studio debugger.
Copy file name to clipboardExpand all lines: docs/ide/reference/rename.md
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Refactor rename
3
-
description: Learn how to use the Refactor Rename feature to rename identifiers for code symbols, such as fields, local variables, methods, namespaces, properties and types.
3
+
description: Learn how to use the Refactor Rename feature to rename identifiers for code symbols, such as fields, local variables, methods, namespaces, properties, and types.
4
4
ms.date: 05/04/2020
5
5
ms.topic: reference
6
6
author: Mikejo5000
@@ -21,11 +21,11 @@ This refactoring applies to:
21
21
22
22
- Visual Basic
23
23
24
-
**What:** Lets you rename identifiers for code symbols, such as fields, local variables, methods, namespaces, properties and types.
24
+
**What:** Lets you rename identifiers for code symbols, such as fields, local variables, methods, namespaces, properties, and types.
25
25
26
26
**When:** You want to safely rename something without having to find all instances, and copy/paste the new name.
27
27
28
-
**Why:** Copy and pasting the new name across an entire project would likely result in errors. This refactoring tool will accurately perform the renaming action.
28
+
**Why:** Copy and pasting the new name across an entire project would likely result in errors. This refactoring tool accurately performs the renaming action.
29
29
30
30
## How-to
31
31
@@ -42,7 +42,7 @@ This refactoring applies to:
42
42
2. Next, use your keyboard or mouse as follows:
43
43
44
44
-**Keyboard**
45
-
- Press **Ctrl+R**, then **Ctrl+R**. (Note that your keyboard shortcut may be different based on which profile you've selected.)
45
+
- Press **Ctrl+R**, then **Ctrl+R**. (Your keyboard shortcut may be different based on which profile you selected.)
46
46
-**Mouse**
47
47
- Select **Edit > Refactor > Rename**.
48
48
- Right-click the code and select **Rename**.
@@ -57,18 +57,25 @@ This refactoring applies to:
57
57
58
58

59
59
60
+
::: moniker range=">= vs-2022"
61
+
> [!TIP]
62
+
> You can also update comments and other strings to use this new name, as well as [preview the changes](../../ide/preview-changes.md) before saving, using the checkboxes in the **Rename** box that appear when you open the drop-down menu.
63
+
::: moniker-end
64
+
65
+
::: moniker range="vs-2019"
60
66
> [!TIP]
61
67
> You can also update comments and other strings to use this new name, as well as [preview the changes](../../ide/preview-changes.md) before saving, using the checkboxes in the **Rename** box that appears at the top right of your editor.
68
+
::: moniker-end
62
69
63
-
4. When you're happy with the change, choose the **Apply** button or press **Enter** and the changes will be committed.
70
+
4. When you're happy with the change, choose the **Apply** button or press **Enter** and the changes are committed.
64
71
65
72
## Remarks
66
73
67
-
- Starting in Visual Studio 2019 version 16.3, when you rename a type that matches the name of the file it's in, a checkbox appears that enables you to rename the file at the same time. This option appears when you rename a class, interface, or enumeration. This option is not supported for partial types with multiple definitions.
74
+
- Starting in Visual Studio 2019 version 16.3, when you rename a type that matches the name of the file it's in, a checkbox appears that enables you to rename the file at the same time. This option appears when you rename a class, interface, or enumeration. This option isn't supported for partial types with multiple definitions.
68
75
69
76

70
77
71
-
- If you use a name that already exists which would cause a conflict, the **Rename** box will warn you.
78
+
- If you use a name that already exists which would cause a conflict, the **Rename** box warns you.
0 commit comments