Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Copilot Diff Tool is a Demo Visual Studio Code extension designed to assist with analyzing code changes. It provides tools to review file differences and integrates seamlessly with Git.

License

Notifications You must be signed in to change notification settings

digimangos-work-demo/vscode-diff-chat

Repository files navigation

Copilot Diff Tool

Overview

Copilot Diff Tool is a Visual Studio Code extension designed to assist with analyzing code changes. It provides tools to review file differences and integrates seamlessly with Git.

Features

  • Analyze file differences with HEAD.
  • Review uncommitted changes.
  • Integration with Git SCM.

Installation

  1. Clone the repository:
    git clone https://github.com/digimangos-work-demo/vscode-diff-chat.git
  2. Navigate to the project directory:
    cd vscode-diff-chat
  3. Install dependencies:
    npm install

Usage

  1. Open the project in Visual Studio Code.
  2. Run the extension:
    • Press F5 to open a new VS Code window with the extension loaded.
  3. Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS) and type Analyse diff (HEAD) to analyze file differences with HEAD.

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window
    • You will see the @diff chat participant show in the GitHub Copilot Chat view

Development

Documentation on interacting with the Chat API can be found here:

Build

To build the project, run:

npm run compile

Watch

To watch for changes and recompile automatically, run:

npm run watch

Lint

To lint the project, run:

npm run lint

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Copilot Diff Tool is a Demo Visual Studio Code extension designed to assist with analyzing code changes. It provides tools to review file differences and integrates seamlessly with Git.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published