Articles in this section
Category / Section

Reviewing Git Diff Changes After Upgrading to Code Studio v2.0.0

Published:

This article explains how to review uncommitted changes (git diff) in CodeStudio using the updated #changes tool instead of ‘@GitDiff’.

Why Migration Is Needed

  • In earlier versions of CodeStudio, users could view git diff information by typing @Git Diff in the chat box or by using the Add context button and selecting the git diff option.
  • After upgrading to code studio v2.0.0, this functionality has been moved.
  • It is now accessed by typing # in the chat input box and selecting #changes from the dropdown menu.

Resolution Steps

Step 1: Open the Project
Ensure the desired project or workspace is open and active in CodeStudio. The #changes tool only shows modifications from the currently opened project, preferably one connected to a GitHub repository.

Step 2: Access the Chat Panel
Go to the chat panel in CodeStudio where you interact with the AI assistant.

Step 3: Select #changes

  • In the chat input box, type #.
  • A dropdown menu will appear showing available options.
  • From this dropdown, select #changes.

changes_tool_drop_down.png

Step 4: Ask About Changes

After selecting #changes, type your specific question or request regarding the current modifications. Send the prompt, and the response will include the git diff information, typically shown filebyfile with added and removed lines highlighted.

git_diff_response.png

✅ With these steps, you can review git diff changes in CodeStudio using the updated #changes tool.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied