Skip to content

Commit 8001b82

Browse files
committed
Move article on pasting JSON and XML as classes
1 parent df8fe7b commit 8001b82

8 files changed

+9
-4
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/ide/reference/paste-json-xml.md",
5+
"redirect_url": "/visualstudio/ide/paste-json-xml",
6+
"redirect_document_id": false
7+
},
38
{
49
"source_path": "docs/ide/reference/immediate-window.md",
510
"redirect_url": "/visualstudio/ide/immediate-window",
File renamed without changes.

docs/ide/productivity-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Write code more quickly by using the following features.
6262

6363
To insert a snippet, on the menu bar, choose **Edit** > **IntelliSense** > **Insert Snippet** or **Surround With**, or open the shortcut menu in a file and choose **Snippet** > **Insert Snippet** or **Surround With**. For more information, see [Code Snippets](../ide/code-snippets.md).
6464

65-
- **[Paste JSON or XML as classes](reference/paste-json-xml.md)**. Copy any JSON or XML text fragment to the clipboard and then paste it as strongly typed .NET classes into any C# or Visual Basic code file. To do so, use **Edit** > **Paste Special** > **Paste JSON As Classes** (or **Paste XML As Classes**).
65+
- **[Paste JSON or XML as classes](../ide/paste-json-xml.md)**. Copy any JSON or XML text fragment to the clipboard and then paste it as strongly typed .NET classes into any C# or Visual Basic code file. To do so, use **Edit** > **Paste Special** > **Paste JSON As Classes** (or **Paste XML As Classes**).
6666

6767
- **Fix code errors inline**. Quick Actions let you easily refactor, generate, or otherwise modify code with a single action. These actions can be applied using the light bulb ![Light bulb icon](media/light-bulb-icon.png) or screwdriver ![Screwdriver icon](media/screwdriver-icon.png) icons, or by pressing **Alt**+**Enter** or **Ctrl**+**.** when your cursor is on the appropriate line of code. See [Quick Actions](quick-actions.md) for more information.
6868

Binary file not shown.
Binary file not shown.
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Visual Studio offers a few time-savers when it comes to copying and pasting code
9393

9494
:::image type="content" source="media/vs-2022/copy-trim-indentation.png" alt-text="Screenshot that shows a before and after comparison to highlight the Copy and Trim Indentation feature.":::
9595

96-
- **[Paste JSON or XML as classes](reference/paste-json-xml.md)**. Copy any JSON or XML text fragment to the clipboard and then paste it as strongly typed .NET classes into any C# or Visual Basic code file. To do so, use **Edit** > **Paste Special** > **Paste JSON As Classes** (or **Paste XML As Classes**).
96+
- **[Paste JSON or XML as classes](../ide/paste-json-xml.md)**. Copy any JSON or XML text fragment to the clipboard and then paste it as strongly typed .NET classes into any C# or Visual Basic code file. To do so, use **Edit** > **Paste Special** > **Paste JSON As Classes** (or **Paste XML As Classes**).
9797

9898
::: moniker-end
9999

docs/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@
570570
href: ide/how-to-track-your-code-by-customizing-the-scrollbar.md
571571
- name: Set bookmarks in code
572572
href: ide/setting-bookmarks-in-code.md
573+
- name: Paste JSON or XML as classes
574+
href: ide/paste-json-xml.md
573575
- name: CodeLens
574576
items:
575577
- name: Find code history with CodeLens
@@ -910,8 +912,6 @@
910912
href: ide/reference/command-window.md
911913
- name: Error List window
912914
href: ide/reference/error-list-window.md
913-
- name: Paste JSON or XML as classes
914-
href: ide/reference/paste-json-xml.md
915915
- name: Options
916916
items:
917917
- name: Environment

0 commit comments

Comments
 (0)