claude-code - 💡(How to fix) Fix [DOCS] Settings docs still place `/config` preferences in `~/.claude.json` instead of `~/.claude/settings.json` [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52601Fetched 2026-04-24 06:02:46
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

These settings are stored in ~/.claude.json rather than settings.json. Adding them to settings.json will trigger a schema validation error.

RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/settings

Section/Topic

Configuration scopes, Settings files, Global config settings, and Settings precedence

Current Documentation

The settings page currently says:

  • Other configuration is stored in ~/.claude.json. This file contains your preferences (theme, notification settings, editor mode), OAuth session, MCP server configurations for user and local scopes, per-project state (allowed tools, trust settings), and various caches.

Global config settings

These settings are stored in ~/.claude.json rather than settings.json. Adding them to settings.json will trigger a schema validation error.

| editorMode | Key binding mode for the input prompt: "normal" or "vim". Default: "normal". Appears in /config as Editor mode |

Later on the same page, the precedence section says:

  1. Local project settings (.claude/settings.local.json)
  2. Shared project settings (.claude/settings.json)
  3. User settings (~/.claude/settings.json)

What's Wrong or Missing?

Changelog v2.1.119 says /config settings such as theme, editor mode, and verbose-related preferences now persist to ~/.claude/settings.json and participate in the normal project/local/policy override hierarchy.

The current docs still describe these /config preferences as ~/.claude.json state, and explicitly say editorMode in settings.json is invalid. That leaves the main settings page internally outdated for the new behavior.

A. Wrong storage location

Users are told that /config preferences like theme and editor mode live in ~/.claude.json, even though v2.1.119 moved them into ~/.claude/settings.json.

B. Missing override-precedence guidance for migrated /config settings

The page documents the general settings hierarchy, but it does not connect that hierarchy to the migrated /config preferences. Readers can easily conclude that theme/editor mode/verbose-style settings are global-only values that cannot be overridden by local, project, or managed settings.

Suggested Improvement

Update the settings docs so they match v2.1.119:

  1. Move migrated /config preferences out of the ~/.claude.json / “Global config settings” description and document them as settings.json keys.
  2. Add the relevant keys to the main settings.json reference (for example theme, editor mode, verbose/view mode, and the other /config preferences that now persist there).
  3. Explicitly state that these settings now follow standard precedence: managed/policy > CLI > local project > shared project > user.
  4. Narrow the ~/.claude.json description to the state that still belongs there (for example OAuth/session state, trust decisions, caches, and MCP entries that have not moved).
  5. Update related pages that still point users to ~/.claude.json for these /config preferences.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/settings117, 224-230, 446-465Says theme/editor mode live in ~/.claude.json, says editorMode belongs to “Global config settings”, while the same page also documents the settings.json precedence hierarchy
https://code.claude.com/docs/en/terminal-config115Tells users to set editorMode in ~/.claude.json
https://code.claude.com/docs/en/claude-directory420-425Says /config writes UI preferences like editorMode and showTurnDuration to ~/.claude.json
https://code.claude.com/docs/en/troubleshooting740-743Still categorizes ~/.claude.json as global state for theme
https://code.claude.com/docs/en/desktop614-619Says shared settings come from both ~/.claude.json and ~/.claude/settings.json

Total scope: 5 pages affected

Source: Changelog v2.1.119

Exact changelog entry: /config settings (theme, editor mode, verbose, etc.) now persist to ~/.claude/settings.json and participate in project/local/policy override precedence

extent analysis

TL;DR

Update the documentation to reflect that /config preferences like theme and editor mode now persist to ~/.claude/settings.json and follow the standard precedence hierarchy.

Guidance

  • Review the affected pages (settings, terminal-config, claude-directory, troubleshooting, desktop) and update the documentation to reflect the correct storage location for /config preferences.
  • Remove editorMode from the "Global config settings" description and add it to the settings.json reference.
  • Explicitly state that the migrated /config preferences follow the standard precedence hierarchy: managed/policy > CLI > local project > shared project > user.
  • Narrow the ~/.claude.json description to only include state that still belongs there, such as OAuth/session state, trust decisions, caches, and MCP entries.

Example

No code snippet is necessary for this issue, as it is a documentation update.

Notes

The updates should be made to the specified pages to ensure consistency and accuracy in the documentation. The changelog entry provides clear guidance on the changes made in v2.1.119.

Recommendation

Apply the suggested improvements to update the documentation and ensure it reflects the correct behavior of the application. This will help users understand how to configure their settings and avoid confusion.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING