From 3c973c63bf5f6d877975dc48fece20f74aa9eba3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Jul 2026 17:26:53 +0000 Subject: [PATCH 1/2] Restore bug-fixing tutorial refinements --- code-studio/tutorials/fixing-bugs-with-ai.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/code-studio/tutorials/fixing-bugs-with-ai.md b/code-studio/tutorials/fixing-bugs-with-ai.md index d662893..8f98b9c 100644 --- a/code-studio/tutorials/fixing-bugs-with-ai.md +++ b/code-studio/tutorials/fixing-bugs-with-ai.md @@ -84,13 +84,13 @@ Use this approach when errors require understanding of multiple files or your pr **Method 1: Right-click in Explorer** -1. Right-click the file in the **Explorer** and select **Add file to chat**: +Right-click the file in the **Explorer** and select **Add file to chat**: Add file to chat option in the Explorer right-click context menu **Method 2: Use Suggested Context** -1. Open the file with errors. The **Chat Panel** will suggest the file as context — click the file name in the chat to add it: +Open the file with errors. The **Chat Panel** will suggest the file as context — click the file name in the chat to add it: File suggestion appearing in the Chat Panel for adding as context @@ -112,16 +112,23 @@ Use this approach when errors require understanding of multiple files or your pr File list appearing after typing # in the Chat Panel input box - After adding the file as context, type a prompt asking the agent to fix the issues. For example: +After adding the file as context, type a prompt asking the agent to fix the issues. For example: ``` Please review the attached file and fix all errors. Explain what's causing each error and provide the corrected code. Ensure the fixes maintain code quality and don't introduce new bugs. ``` - Chat Panel showing an attached file as context with a prompt to fix errors + Chat Panel showing an attached file as context with a prompt to fix errors The more relevant context the AI has, the more accurate its suggestions will be. +## Verify Your Results + +- Open the **Problems panel** using `Ctrl+Shift+M` (Windows/Linux) or `Cmd+Shift+M` (Mac) and confirm the error count has decreased or shows zero. +- Check that red squiggly underlines are no longer visible in the editor for the lines you fixed. +- Run your application and confirm the affected features work correctly without new errors in the console or UI. +- Review the AI-applied code changes to ensure each fix aligns with your project's coding standards and does not introduce new issues. + ## What's Next - Use [Autocomplete](/code-studio/features/autocomplete) to catch errors as you type and reduce bugs before they occur. From 5eb73755ac226790e02ed0df4f6f06aa57cdea67 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Jul 2026 17:27:12 +0000 Subject: [PATCH 2/2] Validate restored tutorial content --- code-studio/tutorials/fixing-bugs-with-ai.md | 1 + 1 file changed, 1 insertion(+) diff --git a/code-studio/tutorials/fixing-bugs-with-ai.md b/code-studio/tutorials/fixing-bugs-with-ai.md index 8f98b9c..0bf24a3 100644 --- a/code-studio/tutorials/fixing-bugs-with-ai.md +++ b/code-studio/tutorials/fixing-bugs-with-ai.md @@ -122,6 +122,7 @@ After adding the file as context, type a prompt asking the agent to fix the issu The more relevant context the AI has, the more accurate its suggestions will be. + ## Verify Your Results - Open the **Problems panel** using `Ctrl+Shift+M` (Windows/Linux) or `Cmd+Shift+M` (Mac) and confirm the error count has decreased or shows zero.