Skip to content

indently/zed_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer: Generated by ChatGPT

Zed Editor Configuration (Fully Explained)

This Markdown document explains all settings in the given Zed editor configuration, including behavior, appearance, AI tools, Git, and language-specific options.


🖋️ Editor Appearance

Inlay Hints

These show helpful inline annotations directly inside your code (like types, parameter names, or computed values).

Setting Description
enabled Enables all inlay hints globally.
show_other_hints Shows miscellaneous hints not covered by the other categories.
show_parameter_hints Displays parameter names in function calls.
show_type_hints Shows inferred variable or return types inline.
show_value_hints Shows computed or constant values inline (like x = 2 + 3 → 5).

Other Appearance Options

Setting Description
ui_font_size Font size for UI elements like tabs and menus.
buffer_font_size Font size for the main code buffer (null = use default).
buffer_font_features.calt Toggles contextual alternates (ligatures) in fonts. false disables fancy glyphs.
lsp_document_colors Controls how color codes from language servers are shown. "border" shows a colored border.
wrap_guides Adds a column guide at character position 79 (for line length standards).
show_edit_predictions Enables or disables inline AI text predictions.

🎨 Theme & Colors

Setting Description
theme.mode "system" follows OS dark/light mode automatically.
theme.light / theme.dark Theme names for each appearance mode.
experimental.theme_overrides.background.appearance Makes the background transparent.
syntax.keyword.color Custom color for syntax keywords.
syntax.function.color Custom color for function names.

⚙️ Editor Behavior

Setting Description
autosave.after_delay.milliseconds Saves files automatically 500ms after typing stops.
format_on_save Formats your code automatically when saving.
restore_on_startup Opens your last session when starting Zed.
show_completions_on_input Displays autocomplete suggestions while typing.

🤖 AI & Assistant Features

Agent (Assistant Settings)

Setting Description
play_sound_when_agent_done Plays a sound when the AI assistant finishes responding.
inline_assistant_model Defines the provider/model for inline suggestions.
default_model The default model for chat or general AI queries.

Both models here use Claude Sonnet 4 by zed.dev.

Edit Predictions

Setting Description
mode "subtle" = minimal visual hints for predictions.
enabled_in_text_threads Prevents predictions from appearing inside text threads.
copilot.proxy / proxy_no_verify Optional GitHub Copilot proxy configuration (disabled here).

Features

Setting Description
edit_prediction_provider Specifies "zed" as the built-in AI provider for predictions.

🧩 Git Integration

Setting Description
git.inline_blame.enabled Toggles inline Git blame annotations showing commit info beside each line.

🐍 Python Language Settings

Setting Description
formatter.external.command Uses the black formatter for Python code.
formatter.external.arguments Sends code via stdin ("-") and disables quote normalization.
format_on_save Automatically runs black when saving Python files.

🦀 Rust Language Settings

Setting Description
formatter.external.command Uses rustfmt for Rust code formatting.
formatter.external.arguments No additional flags (default rustfmt behavior).
format_on_save Automatically formats Rust code when saving.

🧠 LSP (Language Server Protocol) for Rust Analyzer

These settings configure how Rust Analyzer behaves — the engine powering autocompletion, linting, and inline hints for Rust.

Setting Description
check.command Uses cargo clippy instead of cargo check for stricter linting.
imports.merge.glob Prevents combining imports into use module::*.
imports.granularity.enforce Ensures consistent import formatting.
imports.granularity.group Groups imports by module hierarchy.
inlayHints.maxLength No maximum character length for displayed hints.
lifetimeElisionHints.enable "skip_trivial" shows lifetime hints only when they’re non-obvious.
lifetimeElisionHints.useParameterNames Displays lifetimes using parameter names for clarity.
closureReturnTypeHints.enable "always" shows return types for closures inline.

🔒 Privacy & Telemetry

Setting Description
telemetry.diagnostics Disables sending of diagnostics or crash data.
telemetry.metrics Disables telemetry and usage analytics.

✅ Summary

This configuration provides:

  • A feature-rich, hint-heavy editing experience with inlay hints enabled.
  • Automatic formatting on save for Python (Black) and Rust (Rustfmt).
  • Integrated AI assistance with Zed + Claude Sonnet models.
  • Transparent, modern themes with color customizations.
  • Privacy-conscious settings (no telemetry).
  • Smart Rust configuration via Clippy and Rust Analyzer.

About

My Zed setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published