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: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Thank you for taking the time to contribute to the Visual Studio docs.
4
4
5
-
This guide covers some general topics around contributing and refers to the [Microsoft Docs contributors guide](https://docs.microsoft.com/contribute) for more detailed explanations.
5
+
This guide covers some general topics around contributing and refers to the [Microsoft Docs contributors guide](https://learn.microsoft.com/contribute) for more detailed explanations.
6
6
7
7
## Code of conduct
8
8
@@ -20,11 +20,11 @@ Please use the feedback tool at the bottom of any article to submit bugs and sug
20
20
21
21
### Quick edit in GitHub
22
22
23
-
Follow the guidance for [quick edits to existing documents](https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents) in the contributors guide.
23
+
Follow the guidance for [quick edits to existing documents](https://learn.microsoft.com/contribute/#quick-edits-to-existing-documents) in the contributors guide.
24
24
25
25
### Larger edits
26
26
27
-
Review the guidance for [pull requests](https://docs.microsoft.com/contribute/how-to-write-workflows-major#pull-request-processing) in the contributors guide.
27
+
Review the guidance for [pull requests](https://learn.microsoft.com/contribute/how-to-write-workflows-major#pull-request-processing) in the contributors guide.
Copy file name to clipboardExpand all lines: docs/ide/csharp-developer-productivity.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: TerryGLee
5
5
ms.author: tglee
6
6
manager: jmartens
7
7
ms.technology: vs-ide-general
8
-
ms.date: 07/31/2022
8
+
ms.date: 09/19/2022
9
9
ms.topic: conceptual
10
10
helpviewer_keywords:
11
11
- editor
@@ -60,7 +60,7 @@ The following are popular Visual Studio shortcuts:
60
60
|**Ctrl**+**\\**,**Ctrl**+**E** (Default Profile) or **Ctrl**+**W**,**E** (C# Profile) | View Error List | See all errors in your document, project, or solution |
61
61
|**Alt** + **PgUp/PgDn**| Go to Next/Previous Issue | Jump to the previous/next error, warning, suggestion in your document |
62
62
|**Ctrl**+**K**,**/**| Toggle single line comment/uncomment | This command adds or removes a single line comment depending on whether your selection is already commented |
63
-
|**Ctrl**+**Shift**+**/**| Toggle block comment/uncomment | This command adds or removes block comments depending on what you have selected |
63
+
|**Ctrl**+**Shift**+**/**| Toggle block comment/uncomment | This command adds or removes block comments depending on what you've selected |
64
64
65
65
> [!NOTE]
66
66
> Some extensions unbind the default Visual Studio keybindings. You can restore your keybindings to their defaults by going to **Tools** > **Import and Export Settings** > **Reset all settings** or **Tools** > **Options** > **Keyboard** > **Reset**.
@@ -152,7 +152,7 @@ Check out the [.NET code-style rule options](/dotnet/fundamentals/code-analysis/
152
152
153
153
## Code Cleanup
154
154
155
-
Visual Studio provides on-demand formatting of your code file, including code style preferences, through the **Code Cleanup** feature. To run Code Cleanup, click the broom icon at the bottom of the editor or press **Ctrl**+**K**, **Ctrl**+**E**.
155
+
Visual Studio provides on-demand formatting of your code file, including code style preferences, through the **Code Cleanup** feature. To run Code Cleanup, select the broom icon at the bottom of the editor or press **Ctrl**+**K**, **Ctrl**+**E**.
156
156
157
157
::: moniker range="vs-2022"
158
158
@@ -166,7 +166,7 @@ Visual Studio provides on-demand formatting of your code file, including code st
166
166
167
167
::: moniker-end
168
168
169
-
You can also run code cleanup across your entire project or solution. Right-click on the project or solution name in **Solution Explorer**, select **Analyze and Code Cleanup**, and then select **Run Code Cleanup**.
169
+
You can also run code cleanup across your entire project or solution. Right-click the project or solution name in **Solution Explorer**, select **Analyze and Code Cleanup**, and then select **Run Code Cleanup**.
170
170
171
171
::: moniker range="vs-2022"
172
172
@@ -184,7 +184,7 @@ In addition to formatting your file for spaces, indents, et cetera, **Code Clean
184
184
185
185
## Refactorings and code fixes
186
186
187
-
Visual Studio comes with numerous refactorings, code generation actions, and code fixes. Red squiggles represent errors, green squiggles represent warnings, and three gray dots represent code suggestions. You can access code fixes by clicking the light bulb or screwdriver icon, or by pressing **Ctrl**+**.** or **Alt**+**Enter**. Each fix comes with a preview window that shows a live code diff of how the fix works.
187
+
Visual Studio comes with numerous refactorings, code generation actions, and code fixes. Red squiggles represent errors, green squiggles represent warnings, and three gray dots represent code suggestions. You can access code fixes by selecting the light bulb or screwdriver icon, or by pressing **Ctrl**+**.** or **Alt**+**Enter**. Each fix comes with a preview window that shows a live code diff of how the fix works.
188
188
189
189
Popular quick fixes and refactorings include:
190
190
@@ -321,9 +321,10 @@ Here's a list of editor and productivity features to make writing code more effi
321
321
| Add usings for types in reference assemblies and NuGet packages | Shows an error light bulb with a code fix to install a NuGet package for an unreferenced type |**Tools** > **Options** > **Text Editor** > **C#** > **Advanced** > **Suggest usings for types in reference assemblies** and **Suggest usings for types in NuGet packages**|
322
322
| Enable full solution analysis | See all errors in your solution in the **Error List**|**Tools** > **Options** > **Text Editor** > **C#** > **Advanced** > **Enable full solution analysis**|
323
323
| Enable navigation to decompiled sources | Allow Go To Definition on types/members from external sources and use the ILSpy decompiler to show method bodies |**Tools** > **Options** > **Text Editor** > **C#** > **Advanced** > **Enable navigation to decompiled sources**|
324
-
| Completion/Suggestion Mode | Changes the completion behavior in [IntelliSense](using-intellisense.md). Developers with IntelliJ backgrounds tend to use a non-default setting here. |**Menu** > **Edit** > **IntelliSense** > **Toggle Completion Mode**|
324
+
| Completion/Suggestion Mode | Changes the completion behavior in [IntelliSense](using-intellisense.md). Developers with IntelliJ backgrounds tend to use a non-default setting here. |**Edit** > **IntelliSense** > **Toggle Completion Mode** (or press **Ctrl**+**Alt**+**Space** in the editor)|
325
325
|[CodeLens](../ide/find-code-changes-and-other-history-with-codelens.md)| Displays code reference information and change history in the editor. (Source control CodeLens indicators aren't available in Visual Studio Community edition.) |**Tools** > **Options** > **Text Editor** > **All Languages** > **CodeLens**|
326
326
|[Code snippets](../ide/visual-csharp-code-snippets.md)| Help stub out common boilerplate code | Type a snippet name and press **Tab** twice. |
327
+
| Paste JSON as classes | Copy any JSON fragment to the clipboard and paste it as strongly typed .NET classes into any C# code file. |**Edit** > **Paste Special** > **Paste JSON As Classes**|
Copy file name to clipboardExpand all lines: docs/ide/reference/showwebbrowser-command.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,15 +47,15 @@ Optional. Specifies that the page appears in the default web browser outside of
47
47
The alias for the **ShowWebBrowser** command is **navigate** or **nav**.
48
48
49
49
## Example
50
-
The following example displays the Microsoft Docs home page in a web browser outside of the IDE. If an instance of the web browser is already open, it is used; otherwise a new instance is launched.
50
+
The following example displays the Microsoft Learn home page in a web browser outside of the IDE. If an instance of the web browser is already open, it is used; otherwise a new instance is launched.
Copy file name to clipboardExpand all lines: docs/version-control/git-settings.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -240,7 +240,7 @@ The Git Repository window has a list of branches displayed in a tree structure.
240
240
> [!IMPORTANT]
241
241
> If you have a suggestion for us, please let us know! We appreciate the opportunity to engage with you on design decisions via the [**Developer Community**](https://aka.ms/vsgitsuggestions) portal.
242
242
243
-
-[Get Started with Git and GitHub in Visual Studio](/learn/modules/visual-studio-github-push/) tutorial on Microsoft Learn
243
+
-[Get Started with Git and GitHub in Visual Studio](/training/modules/visual-studio-github-push/) tutorial on Microsoft training
244
244
-[Getting started with Git in Visual Studio](https://www.youtube.com/watch?v=GCZ9x3yqkyc) video on YouTube
245
245
-[Enhanced productivity with Git in Visual Studio](https://devblogs.microsoft.com/visualstudio/enhanced-productivity-with-git-in-visual-studio/) blog post
0 commit comments