From 1de2655371946b440a48f37ca70edf9bd5708aa2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 23:21:45 +0000 Subject: [PATCH 1/5] Bump actions/stale from 7 to 8 Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/stale-issues.yml | 2 +- .github/workflows/stale.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 84578955513..73419795ec0 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -19,7 +19,7 @@ jobs: pull-requests: write # for actions/stale to close stale PRs runs-on: ubuntu-latest steps: - - uses: actions/stale@v7 + - uses: actions/stale@v8 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Thanks for sharing your feedback. We apologize for our delayed response. Due to the sheer volume of feedback in our repo, we have decided to prioritize the newest issues and are automatically closing our oldest issues with an Issues bot. If you believe your feedback is still actionable, then either respond directly in this issue or open a new documentation issue and we’ll review. If no activity occurs in the next 14 days, this issue will be closed.' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 64a5ae6e478..bfb8fdae623 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,7 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v7 + - uses: actions/stale@v8 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-pr-stale: 14 From 2f638652b43a9c964e3128ffd4ad6a7e46163206 Mon Sep 17 00:00:00 2001 From: TerryGLee <23244653+TerryGLee@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:18:31 -0700 Subject: [PATCH 2/5] add workloads list to Tip note --- docs/ide/reference/paste-json-xml.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ide/reference/paste-json-xml.md b/docs/ide/reference/paste-json-xml.md index 16fed0f9947..682b524888d 100644 --- a/docs/ide/reference/paste-json-xml.md +++ b/docs/ide/reference/paste-json-xml.md @@ -1,7 +1,7 @@ --- title: Paste JSON or XML as classes description: Learn how to copy any JSON or XML text from the clipboard and then paste it as .NET classes into C# or Visual Basic code. -ms.date: 03/09/2023 +ms.date: 04/04/2023 ms.topic: reference author: TerryGLee ms.author: tglee @@ -14,12 +14,12 @@ ms.workload: [!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)] -In Visual Studio, you can copy text from JSON or XML files and then paste the text as classes in your [C#](/dotnet/csharp/) or [Visual Basic](/dotnet/visual-basic/) code. To do so, select **Edit** > **Paste Special** and choose either **Paste JSON As Classes** or **Paste XML As Classes**. +In Visual Studio, you can copy text from JSON or XML files and then paste the text as classes in your [C#](/dotnet/csharp/) or [Visual Basic](/dotnet/visual-basi****c/) code. To do so, select **Edit** > **Paste Special** and choose either **Paste JSON As Classes** or **Paste XML As Classes**. :::image type="content" source="media/paste-json-xml-class-sml.png" alt-text="Screenshot of the Paste Special option from the Edit menu in Visual Studio." lightbox="media/paste-json-xml-class-lrg.png"::: > [!TIP] -> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). +> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). And if this suggestion doesn't work, then make sure that you have at least of the following [**workloads**](../../install/modify-visual-studio.md#change-workloads-or-individual-components) installed: **ASP.NET and web development**, **Azure development**, or **.NET desktop development**. **JSON** (**J**ava**S**cript **O**bject **N**otation) and **XML** (e**X**tensible **M**arkup **L**anguage) are similar in that they're both used to store and transport data. JSON, however, is less verbose and can use arrays. From 596aac586d72d7444f7042da049e8821bd250e42 Mon Sep 17 00:00:00 2001 From: TerryGLee <23244653+TerryGLee@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:20:04 -0700 Subject: [PATCH 3/5] fix formatting error --- docs/ide/reference/paste-json-xml.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ide/reference/paste-json-xml.md b/docs/ide/reference/paste-json-xml.md index 682b524888d..79bde17a0bd 100644 --- a/docs/ide/reference/paste-json-xml.md +++ b/docs/ide/reference/paste-json-xml.md @@ -14,7 +14,7 @@ ms.workload: [!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)] -In Visual Studio, you can copy text from JSON or XML files and then paste the text as classes in your [C#](/dotnet/csharp/) or [Visual Basic](/dotnet/visual-basi****c/) code. To do so, select **Edit** > **Paste Special** and choose either **Paste JSON As Classes** or **Paste XML As Classes**. +In Visual Studio, you can copy text from JSON or XML files and then paste the text as classes in your [C#](/dotnet/csharp/) or [Visual Basic](/dotnet/visual-basic/) code. To do so, select **Edit** > **Paste Special** and choose either **Paste JSON As Classes** or **Paste XML As Classes**. :::image type="content" source="media/paste-json-xml-class-sml.png" alt-text="Screenshot of the Paste Special option from the Edit menu in Visual Studio." lightbox="media/paste-json-xml-class-lrg.png"::: From ff09340134467511e6d4522789b4a4b82daf3709 Mon Sep 17 00:00:00 2001 From: TerryGLee <23244653+TerryGLee@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:31:57 -0700 Subject: [PATCH 4/5] shorten Tip note --- docs/ide/reference/paste-json-xml.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ide/reference/paste-json-xml.md b/docs/ide/reference/paste-json-xml.md index 79bde17a0bd..90fe294076c 100644 --- a/docs/ide/reference/paste-json-xml.md +++ b/docs/ide/reference/paste-json-xml.md @@ -19,7 +19,7 @@ In Visual Studio, you can copy text from JSON or XML files and then paste the te :::image type="content" source="media/paste-json-xml-class-sml.png" alt-text="Screenshot of the Paste Special option from the Edit menu in Visual Studio." lightbox="media/paste-json-xml-class-lrg.png"::: > [!TIP] -> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). And if this suggestion doesn't work, then make sure that you have at least of the following [**workloads**](../../install/modify-visual-studio.md#change-workloads-or-individual-components) installed: **ASP.NET and web development**, **Azure development**, or **.NET desktop development**. +> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you have at least of the following [**workloads**](../../install/modify-visual-studio.md#change-workloads-or-individual-components) installed: **ASP.NET and web development**, **Azure development**, or **.NET desktop development**. Then, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). **JSON** (**J**ava**S**cript **O**bject **N**otation) and **XML** (e**X**tensible **M**arkup **L**anguage) are similar in that they're both used to store and transport data. JSON, however, is less verbose and can use arrays. From f6d20f3b583f2c0243711f997e335a0be38d6a40 Mon Sep 17 00:00:00 2001 From: TerryGLee <23244653+TerryGLee@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:33:02 -0700 Subject: [PATCH 5/5] revise text --- docs/ide/reference/paste-json-xml.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ide/reference/paste-json-xml.md b/docs/ide/reference/paste-json-xml.md index 90fe294076c..05e4ee15b2e 100644 --- a/docs/ide/reference/paste-json-xml.md +++ b/docs/ide/reference/paste-json-xml.md @@ -19,7 +19,7 @@ In Visual Studio, you can copy text from JSON or XML files and then paste the te :::image type="content" source="media/paste-json-xml-class-sml.png" alt-text="Screenshot of the Paste Special option from the Edit menu in Visual Studio." lightbox="media/paste-json-xml-class-lrg.png"::: > [!TIP] -> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you have at least of the following [**workloads**](../../install/modify-visual-studio.md#change-workloads-or-individual-components) installed: **ASP.NET and web development**, **Azure development**, or **.NET desktop development**. Then, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). +> If you don't see the **Paste Special** option on the **Edit** menu, make sure that you have at least one of the following [**workloads**](../../install/modify-visual-studio.md#change-workloads-or-individual-components) installed: **ASP.NET and web development**, **Azure development**, or **.NET desktop development**. Then, make sure that you select the program file for your app. For example, for a C# app, select the **Program.cs** file in [Solution Explorer](../use-solution-explorer.md). **JSON** (**J**ava**S**cript **O**bject **N**otation) and **XML** (e**X**tensible **M**arkup **L**anguage) are similar in that they're both used to store and transport data. JSON, however, is less verbose and can use arrays.