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

Flexible Setting configuration

Open jacob314 opened this issue 6 months ago • 4 comments

What would you like to be added?

Way for users to edit all settings in settings.json likely by integration with code editors.

The simplest way to support this is to provide a schema for settings.json so that code editors like VSCode can provide appropriate autocomplete and error checking to help users avoid entering invalid json and easily understand what settings are available.

Why is this needed?

We are adding an increasing number of settings to settings.json most of which the user has no easy way of modifying and which most users are not aware of.

With proper changes we can make it automatic to generate.

  1. Markdown documentation describing all available settings.
  2. Json schema so that tools like VSCode can provide a good json editing experience.
  3. Potentially in the future add UI in Gemini CLI either surfaced as an electron app or directly in the CLI to edit all settings or all simple settings.

We already have code today to validate the settings.json files are valid that should be extended to support these additional use cases.

Additional context

No response

jacob314 avatar Jul 22 '25 16:07 jacob314

Found possible duplicate issues:

  • #3657: (#0.9043005704879761)

gsquared94 avatar Jul 29 '25 23:07 gsquared94

I would consider a different approach here. Rather than allowing users to directly edit the settings.json we could also treat it as an opaque implementation detail and expose a dedicated UX to edit settings, such as with sub-commands in the CLI invocation or slash commands in the UI. By having a layer of indirection here we can change the underlying config format, names of fields, etc. in a way that would be hard otherwise. Just a thought.

cornmander avatar Aug 06 '25 16:08 cornmander

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 21:12 gemini-cli[bot]

Found possible duplicate issues:

  • #5302
  • #4642
  • #3657

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 04 '25 19:12 gemini-cli[bot]