sourcegraph / jetbrains

Apache License 2.0
73 stars 23 forks source link

PRD: Automatic Generation of Commit Messages and PR Descriptions/Titles for JetBrains Extension #2109

Open nirzaf opened 2 months ago

nirzaf commented 2 months ago

Description:

As a user, I want the JetBrains extension to automatically generate commit messages, pull request (PR) descriptions, and PR titles so that I can maintain consistent and descriptive documentation of my code changes without manually crafting messages each time. By leveraging AI, the extension should analyze the changes in the codebase and generate relevant, clear, and concise commit messages and PR details. This feature will streamline the workflow, enhance collaboration, and ensure that the commit history is informative and easy to follow.

Objectives:

The objective is to implement an AI-driven feature within the JetBrains extension that automatically generates commit messages, PR titles, and descriptions based on code changes. This feature should:

Integrate seamlessly with JetBrains IDEs to enhance the developer experience. Provide consistent and accurate commit messages and PR descriptions to ensure better documentation and communication. Allow customization via templates so that users can enforce team standards and maintain message consistency. Enable users to review and edit the generated messages before finalizing them. Improve efficiency by reducing the time developers spend on writing commit messages and PR descriptions.

Acceptance Criteria:

Conditions that the feature must meet to be accepted by a user:

Design Tasks:

Design Tasks

Engineering Tasks:

Engineering Tasks

Related Docs:

No response

jdorfman commented 2 months ago

Thanks @nirzaf for creating this PRD. I will make sure the product team sees this in the weekly community feedback report.

Currently, we support something like this in VS Code, but it hasn't been ported yet. I will try to find the status.

HamptonMakes commented 1 month ago

@nirzaf I'll give my left kidney for this feature!

I had to stop using the git integration in the IDE :O

Thank you for this!