pub fn zed_settings_path() -> PathBufExpand description
Path of Zed’s user settings file.
- macOS / Linux:
$XDG_CONFIG_HOME/zed/settings.json, falling back to~/.config/zed/settings.json. Zed uses the XDG location on macOS too (unlike most Mac apps) — see zed.dev/docs/ai/instructions which documents~/.config/zed/AGENTS.mdfor macOS. - Windows:
%APPDATA%\Zed\settings.json.