Open
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a VS Code extension that integrates the WriteCommit CLI to generate commit messages directly from the Source Control panel. Key changes include:
- Adding the VS Code extension project with TypeScript configuration.
- Implementing CLI installation, execution, and commit message generation.
- Providing configuration settings and a GitHub Actions workflow for publishing the extension.
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vscode-extension/tsconfig.json | New TypeScript configuration for the extension project. |
| vscode-extension/src/extension.ts | Implementation of CLI integration, command registration, and progress UI. |
| vscode-extension/package.json | Defines extension manifest including commands and configuration settings. |
| vscode-extension/README.md | Documentation for extension features and usage. |
| README.md | General project documentation updated with extension usage instructions. |
| .github/workflows/publish-extension.yml | Workflow for publishing the extension to the VS Code Marketplace. |
Comments suppressed due to low confidence (1)
vscode-extension/package.json:45
- The configuration property keys in package.json are prefixed with 'writecommit.' even though they are defined in the 'writecommit' configuration section. This causes a mismatch with the keys accessed in the extension code (e.g., 'openAIApiKey'). Consider renaming them to 'openAIApiKey' and 'executablePath' to align with the code.
"writecommit.openAIApiKey": {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
npm installnpm run buildhttps://chatgpt.com/codex/tasks/task_e_68603c9820a4832aadd0b1bf236ce662