Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpulvermacher/lgtm
A Visual Studio Code extension for reviewing changes using GitHub Copilot Chat
https://github.com/cpulvermacher/lgtm
ai code-review copilot copilot-chat review vscode vscode-extension
Last synced: about 1 month ago
JSON representation
A Visual Studio Code extension for reviewing changes using GitHub Copilot Chat
- Host: GitHub
- URL: https://github.com/cpulvermacher/lgtm
- Owner: cpulvermacher
- License: mit
- Created: 2024-08-01T15:47:26.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-29T05:16:00.000Z (about 2 months ago)
- Last Synced: 2024-09-29T08:01:39.311Z (about 2 months ago)
- Topics: ai, code-review, copilot, copilot-chat, review, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=cpulvermacher.lgtm
- Size: 859 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LGTM - AI Code Review
[![Latest Release](https://flat.badgen.net/github/release/cpulvermacher/lgtm)](https://github.com/cpulvermacher/lgtm/releases)
![Installs](https://vsmarketplacebadges.dev/installs-short/cpulvermacher.lgtm.svg)
[![Status](https://flat.badgen.net/github/checks/cpulvermacher/lgtm)](https://github.com/cpulvermacher/lgtm/actions/workflows/node.js.yml)
[![License](https://flat.badgen.net/github/license/cpulvermacher/lgtm)](./LICENSE)Review source code changes using GitHub Copilot Chat.
To start, open Copilot Chat and send one of the following messages:
- `@lgtm /branch` to review changes between two branches or tags
- `@lgtm /commit` to review changes in a commitYou'll receive review comments grouped by file after selecting the desired revisions in the quick select.
![Demo](./images/demo.gif)
## Features
- Uses the GPT-4o version of Copilot Chat, so only a GitHub Copilot subscription is required. Source code data is sent only to Copilot, which you presumably trust already.
- Review content remains in chat history, so you can ask follow-up questions to Copilot (without `@lgtm`).## Limitations
- LGTM may lack some information on how your changes work together. At the moment, most comments will point out local bugs or typos rather than architecture-level comments looking at how multiple files work together.
- Since this project is still work in progress, quality of comments may be mixed. This should improve in future versions.
- For now, only Copilot's language model can be used via the `vscode.lm` API.## Data Usage
Source code checked into Git and selected for review and commit messages will be sent to GitHub Copilot.
Avoid using it on repositories where you would not use Copilot.