Disable opening tabs when IDE integration is enabled
What would you like to be added?
When EditTool and WriteFileTool are enabled via allowedTools, and IDE is enabled, file changes result in open tabs, but do not require confirmation for changes (because you allowed the tools already).
This is a follow on from: https://github.com/google-gemini/gemini-cli/issues/7234
Why is this needed?
The Gemini CLI shines when it can make changes in a loop automatically, but in some cases the IDE integration is needed to give it automatic access to open files. There needs to be a way to enable the IDE integration while also allowing automatic edits without a bunch of tabs opening.
Additional context
I can think of a few ways of enabling this:
- Add a dedicated setting that skips automatically opening tabs in the IDE
- Put
approvalModeinto settings.json so you can skip automatically opening tabs in the IDE (because approvalMode: auto_edit will already skip opening tabs) - When FileWriteTool or EditTool are in
allowedTools, skip automatically opening tabs in the IDE
Thanks for filing this, its a bug. I'll add it to our backlog!
/assign
👋 @AkshaySyal, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.
Hi I would like to work on this issue, it seems no one is working on it currently can you please assign me?
/assign
Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.
It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.
Thank you for your contribution!