carlrobertoh / CodeGPT

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
https://codegpt.ee
Apache License 2.0
1.1k stars 232 forks source link

feat: auto apply #743

Closed carlrobertoh closed 4 weeks ago

carlrobertoh commented 4 weeks ago

Auto Apply

Automatically apply AI-suggested code changes to your active file, allowing you to view, approve, or reject edits instantly.

1. Start chatting

Start by asking CodeGPT to modify an existing file or to create code from scratch.

2. Click the Auto Apply icon

For each block of code CodeGPT generates, you'll see the lightning icon appear on top of the code block. Click this icon to have CodeGPT analyze and implement the changes.

auto-apply-1

3. Accept or Reject the changes

Review the proposed changes in the diff view. You can choose to accept all changes, applying them directly to your file, or reject them to maintain the current version.

auto-apply-2