Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add support for Auto Edits in JetBrains #7373

Draft
wants to merge 2 commits into
base: tr/autoedit-agent-support
Choose a base branch
from

Conversation

mkondratek
Copy link
Contributor

@mkondratek mkondratek commented Mar 8, 2025

Based on PR #7311

Chain of upstream PRs as of 2025-03-08

Test plan

@mkondratek mkondratek self-assigned this Mar 8, 2025
@mkondratek mkondratek changed the title mkondratek/feat/jb/auto-edits [WIP] Add support for Auto Edits in JetBrains Mar 8, 2025
@mkondratek mkondratek marked this pull request as draft March 8, 2025 19:57
@umpox
Copy link
Contributor

umpox commented Mar 10, 2025

@mkondratek We also require a setting to enable this feature. This is because the flow for users with autoedit right now is:

  1. The feature flag is enabled
  2. They see a notification saying something like "Hey, try our new feature!"\
  3. When they action this notification, the setting is updated.

You can see the setting requirement here https://github.com/sourcegraph/cody/pull/7311/files#diff-49d17fc51213230e74a1a643b69e0fc873cd55e3df157b7ac5ab9dcca571e95bR656

Unsure how we normally handle these settings in JB so let's discuss

@mkondratek
Copy link
Contributor Author

@mkondratek We also require a setting to enable this feature. This is because the flow for users with autoedit right now is:

  1. The feature flag is enabled
  2. They see a notification saying something like "Hey, try our new feature!"\
  3. When they action this notification, the setting is updated.

You can see the setting requirement here https://github.com/sourcegraph/cody/pull/7311/files#diff-49d17fc51213230e74a1a643b69e0fc873cd55e3df157b7ac5ab9dcca571e95bR656

Unsure how we normally handle these settings in JB so let's discuss

There is cody_settings.jsonto set those. With:

  "cody.suggestions.mode": "auto-edit (Experimental)",

I was able to move a step forward. Thanks!

@mkondratek mkondratek force-pushed the mkondratek/feat/jb/auto-edits branch from b046dc2 to 1fb706f Compare March 10, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants