[FEATURE] Add plugin setting to auto-accept edits in JetBrains IDE (without diff dialog)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Add a single checkbox in Settings → Tools → Claude Code [Beta]:
☐ Auto-accept edits (skip in-IDE diff dialog when CLI is in acceptEdits or bypassPermissions mode)
When enabled, the plugin's openDiff MCP tool should:
- Check the connected session's current permission mode via the existing CLI ↔ plugin SSE bridge
- If mode is
acceptEditsorbypassPermissions, apply the diff directly and skip the dialog - Otherwise, behave as today
This keeps the safety story intact (default mode still prompts), respects the user's explicit choice to enable acceptEdits, and matches the documented contract of those modes:
"acceptEdits mode lets Claude create and edit files in your working directory without prompting." — https://code.claude.com/docs/en/permission-modes
Proposed Solution
Add a single checkbox in Settings → Tools → Claude Code [Beta]:
☐ Auto-accept edits (skip in-IDE diff dialog when CLI is in acceptEdits or bypassPermissions mode)
When enabled, the plugin's openDiff MCP tool should:
- Check the connected session's current permission mode via the existing CLI ↔ plugin SSE bridge
- If mode is
acceptEditsorbypassPermissions, apply the diff directly and skip the dialog - Otherwise, behave as today
This keeps the safety story intact (default mode still prompts), respects the user's explicit choice to enable acceptEdits, and matches the documented contract of those modes:
"acceptEdits mode lets Claude create and edit files in your working directory without prompting." — https://code.claude.com/docs/en/permission-modes
Alternative Solutions
The only workaround is to stop using the IDE integrated terminal and run claude in an external terminal (iTerm2 / Terminal.app). This bypasses the SSE bridge entirely. But it sacrifices @-file references, getDiagnostics, selection capture, and other IDE integration features — exactly the things the plugin exists to provide.
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
For users running Claude on a long multi-file task (refactor, migration, large feature implementation), clicking Apply 50+ times during a single session destroys the productivity case for acceptEdits mode and pushes users back to manual editing or to non-IDE-integrated CLI usage. The feature exists, the documentation promises it works, but the plugin silently overrides it.
Additional Context
Please reconsider this as a P1 plugin defect rather than a feature request.
Environment:
- Claude Code: 2.1.169
- JetBrains plugin: 0.1.14-beta
- IDE: Android Studio (also reproduced in IntelliJ, PyCharm, RubyMine per #37533)
- OS: macOS
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗