gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Disable opening tabs when IDE integration is enabled

Open samedson opened this issue 1 year ago • 6 comments

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:

  1. Add a dedicated setting that skips automatically opening tabs in the IDE
  2. Put approvalMode into settings.json so you can skip automatically opening tabs in the IDE (because approvalMode: auto_edit will already skip opening tabs)
  3. When FileWriteTool or EditTool are in allowedTools, skip automatically opening tabs in the IDE

samedson avatar Aug 28 '25 17:08 samedson

Thanks for filing this, its a bug. I'll add it to our backlog!

skeshive avatar Aug 29 '25 20:08 skeshive

/assign

AkshaySyal avatar Sep 01 '25 23:09 AkshaySyal

👋 @AkshaySyal, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.

gemini-cli[bot] avatar Sep 01 '25 23:09 gemini-cli[bot]

Hi I would like to work on this issue, it seems no one is working on it currently can you please assign me?

devpool007 avatar Oct 15 '25 21:10 devpool007

/assign

tess3r4c7 avatar Oct 19 '25 07:10 tess3r4c7

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!

gemini-cli[bot] avatar Dec 03 '25 22:12 gemini-cli[bot]