default.json

   1{
   2  // The name of the Zed theme to use for the UI.
   3  //
   4  // `mode` is one of:
   5  // - "system": Use the theme that corresponds to the system's appearance
   6  // - "light": Use the theme indicated by the "light" field
   7  // - "dark": Use the theme indicated by the "dark" field
   8  "theme": {
   9    "mode": "system",
  10    "light": "One Light",
  11    "dark": "One Dark"
  12  },
  13  "icon_theme": "Zed (Default)",
  14  // The name of a base set of key bindings to use.
  15  // This setting can take six values, each named after another
  16  // text editor:
  17  //
  18  // 1. "VSCode"
  19  // 2. "Atom"
  20  // 3. "JetBrains"
  21  // 4. "None"
  22  // 5. "SublimeText"
  23  // 6. "TextMate"
  24  "base_keymap": "VSCode",
  25  // Features that can be globally enabled or disabled
  26  "features": {
  27    // Which edit prediction provider to use.
  28    "edit_prediction_provider": "zed"
  29  },
  30  // The name of a font to use for rendering text in the editor
  31  "buffer_font_family": "Zed Plex Mono",
  32  // Set the buffer text's font fallbacks, this will be merged with
  33  // the platform's default fallbacks.
  34  "buffer_font_fallbacks": null,
  35  // The OpenType features to enable for text in the editor.
  36  "buffer_font_features": {
  37    // Disable ligatures:
  38    // "calt": false
  39  },
  40  // The default font size for text in the editor
  41  "buffer_font_size": 15,
  42  // The weight of the editor font in standard CSS units from 100 to 900.
  43  "buffer_font_weight": 400,
  44  // Set the buffer's line height.
  45  // May take 3 values:
  46  //  1. Use a line height that's comfortable for reading (1.618)
  47  //         "buffer_line_height": "comfortable"
  48  //  2. Use a standard line height, (1.3)
  49  //         "buffer_line_height": "standard",
  50  //  3. Use a custom line height
  51  //         "buffer_line_height": {
  52  //           "custom": 2
  53  //         },
  54  "buffer_line_height": "comfortable",
  55  // The name of a font to use for rendering text in the UI
  56  // You can set this to ".SystemUIFont" to use the system font
  57  "ui_font_family": "Zed Plex Sans",
  58  // Set the UI's font fallbacks, this will be merged with the platform's
  59  // default font fallbacks.
  60  "ui_font_fallbacks": null,
  61  // The OpenType features to enable for text in the UI
  62  "ui_font_features": {
  63    // Disable ligatures:
  64    "calt": false
  65  },
  66  // The weight of the UI font in standard CSS units from 100 to 900.
  67  "ui_font_weight": 400,
  68  // The default font size for text in the UI
  69  "ui_font_size": 16,
  70  // The default font size for text in the agent panel
  71  "agent_font_size": 16,
  72  // How much to fade out unused code.
  73  "unnecessary_code_fade": 0.3,
  74  // Active pane styling settings.
  75  "active_pane_modifiers": {
  76    // The factor to grow the active pane by. Defaults to 1.0
  77    // which gives the same size as all other panes.
  78    "magnification": 1.0,
  79    // Inset border size of the active pane, in pixels.
  80    "border_size": 0.0,
  81    // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
  82    // Values are clamped to the [0.0, 1.0] range.
  83    "inactive_opacity": 1.0
  84  },
  85  // Layout mode of the bottom dock. Defaults to "contained"
  86  "bottom_dock_layout": "contained",
  87  // The direction that you want to split panes horizontally. Defaults to "up"
  88  "pane_split_direction_horizontal": "up",
  89  // The direction that you want to split panes horizontally. Defaults to "left"
  90  "pane_split_direction_vertical": "left",
  91  // Centered layout related settings.
  92  "centered_layout": {
  93    // The relative width of the left padding of the central pane from the
  94    // workspace when the centered layout is used.
  95    "left_padding": 0.2,
  96    // The relative width of the right padding of the central pane from the
  97    // workspace when the centered layout is used.
  98    "right_padding": 0.2
  99  },
 100  // All settings related to the image viewer.
 101  "image_viewer": {
 102    // The unit for image file sizes.
 103    // By default we're setting it to binary.
 104    // The second option is decimal.
 105    "unit": "binary"
 106  },
 107  // The key to use for adding multiple cursors
 108  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 109  // "cmd" and "ctrl") are supported.
 110  "multi_cursor_modifier": "alt",
 111  // Whether to enable vim modes and key bindings.
 112  "vim_mode": false,
 113  // Whether to show the informational hover box when moving the mouse
 114  // over symbols in the editor.
 115  "hover_popover_enabled": true,
 116  // Time to wait in milliseconds before showing the informational hover box.
 117  "hover_popover_delay": 300,
 118  // Whether to confirm before quitting Zed.
 119  "confirm_quit": false,
 120  // Whether to restore last closed project when fresh Zed instance is opened.
 121  "restore_on_startup": "last_session",
 122  // Whether to attempt to restore previous file's state when opening it again.
 123  // The state is stored per pane.
 124  // When disabled, defaults are applied instead of the state restoration.
 125  //
 126  // E.g. for editors, selections, folds and scroll positions are restored, if the same file is closed and, later, opened again in the same pane.
 127  // When disabled, a single selection in the very beginning of the file, zero scroll position and no folds state is used as a default.
 128  //
 129  // Default: true
 130  "restore_on_file_reopen": true,
 131  // Size of the drop target in the editor.
 132  "drop_target_size": 0.2,
 133  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 134  // May take 3 values:
 135  //  1. Use the current platform's convention
 136  //         "when_closing_with_no_tabs": "platform_default"
 137  //  2. Always close the window:
 138  //         "when_closing_with_no_tabs": "close_window",
 139  //  3. Never close the window
 140  //         "when_closing_with_no_tabs": "keep_window_open",
 141  "when_closing_with_no_tabs": "platform_default",
 142  // What to do when the last window is closed.
 143  // May take 2 values:
 144  //  1. Use the current platform's convention
 145  //         "on_last_window_closed": "platform_default"
 146  //  2. Always quit the application
 147  //         "on_last_window_closed": "quit_app",
 148  "on_last_window_closed": "platform_default",
 149  // Whether to use the system provided dialogs for Open and Save As.
 150  // When set to false, Zed will use the built-in keyboard-first pickers.
 151  "use_system_path_prompts": true,
 152  // Whether to use the system provided dialogs for prompts, such as confirmation
 153  // prompts.
 154  // When set to false, Zed will use its built-in prompts. Note that on Linux,
 155  // this option is ignored and Zed will always use the built-in prompts.
 156  "use_system_prompts": true,
 157  // Whether the cursor blinks in the editor.
 158  "cursor_blink": true,
 159  // Cursor shape for the default editor.
 160  //  1. A vertical bar
 161  //     "bar"
 162  //  2. A block that surrounds the following character
 163  //     "block"
 164  //  3. An underline / underscore that runs along the following character
 165  //     "underline"
 166  //  4. A box drawn around the following character
 167  //     "hollow"
 168  //
 169  // Default: not set, defaults to "bar"
 170  "cursor_shape": null,
 171  // Determines when the mouse cursor should be hidden in an editor or input box.
 172  //
 173  // 1. Never hide the mouse cursor:
 174  //    "never"
 175  // 2. Hide only when typing:
 176  //    "on_typing"
 177  // 3. Hide on both typing and cursor movement:
 178  //    "on_typing_and_movement"
 179  "hide_mouse": "on_typing_and_movement",
 180  // Determines how snippets are sorted relative to other completion items.
 181  //
 182  // 1. Place snippets at the top of the completion list:
 183  //    "top"
 184  // 2. Place snippets normally without any preference:
 185  //    "inline"
 186  // 3. Place snippets at the bottom of the completion list:
 187  //    "bottom"
 188  "snippet_sort_order": "inline",
 189  // How to highlight the current line in the editor.
 190  //
 191  // 1. Don't highlight the current line:
 192  //    "none"
 193  // 2. Highlight the gutter area:
 194  //    "gutter"
 195  // 3. Highlight the editor area:
 196  //    "line"
 197  // 4. Highlight the full line (default):
 198  //    "all"
 199  "current_line_highlight": "all",
 200  // Whether to highlight all occurrences of the selected text in an editor.
 201  "selection_highlight": true,
 202  // The debounce delay before querying highlights from the language
 203  // server based on the current cursor location.
 204  "lsp_highlight_debounce": 75,
 205  // Whether to pop the completions menu while typing in an editor without
 206  // explicitly requesting it.
 207  "show_completions_on_input": true,
 208  // Whether to display inline and alongside documentation for items in the
 209  // completions menu
 210  "show_completion_documentation": true,
 211  // Show method signatures in the editor, when inside parentheses.
 212  "auto_signature_help": false,
 213  // Whether to show the signature help after completion or a bracket pair inserted.
 214  // If `auto_signature_help` is enabled, this setting will be treated as enabled also.
 215  "show_signature_help_after_edits": false,
 216  // What to do when go to definition yields no results.
 217  //
 218  // 1. Do nothing: `none`
 219  // 2. Find references for the same symbol: `find_all_references` (default)
 220  "go_to_definition_fallback": "find_all_references",
 221  // Which level to use to filter out diagnostics displayed in the editor.
 222  //
 223  // Affects the editor rendering only, and does not interrupt
 224  // the functionality of diagnostics fetching and project diagnostics editor.
 225  // Which files containing diagnostic errors/warnings to mark in the tabs.
 226  // Diagnostics are only shown when file icons are also active.
 227  // This setting only works when can take the following three values:
 228  //
 229  // Which diagnostic indicators to show in the scrollbar, their level should be more or equal to the specified severity level.
 230  // Possible values:
 231  //  - "off" — no diagnostics are allowed
 232  //  - "error"
 233  //  - "warning" (default)
 234  //  - "info"
 235  //  - "hint"
 236  //  - null — allow all diagnostics
 237  "diagnostics_max_severity": "warning",
 238  // Whether to show wrap guides (vertical rulers) in the editor.
 239  // Setting this to true will show a guide at the 'preferred_line_length' value
 240  // if 'soft_wrap' is set to 'preferred_line_length', and will show any
 241  // additional guides as specified by the 'wrap_guides' setting.
 242  "show_wrap_guides": true,
 243  // Character counts at which to show wrap guides in the editor.
 244  "wrap_guides": [],
 245  // Hide the values of in variables from visual display in private files
 246  "redact_private_values": false,
 247  // The default number of lines to expand excerpts in the multibuffer by.
 248  "expand_excerpt_lines": 5,
 249  // Globs to match against file paths to determine if a file is private.
 250  "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
 251  // Whether to use additional LSP queries to format (and amend) the code after
 252  // every "trigger" symbol input, defined by LSP server capabilities.
 253  "use_on_type_format": true,
 254  // Whether to automatically add matching closing characters when typing
 255  // opening parenthesis, bracket, brace, single or double quote characters.
 256  // For example, when you type (, Zed will add a closing ) at the correct position.
 257  "use_autoclose": true,
 258  // Whether to automatically surround selected text when typing opening parenthesis,
 259  // bracket, brace, single or double quote characters.
 260  // For example, when you select text and type (, Zed will surround the text with ().
 261  "use_auto_surround": true,
 262  // Whether indentation of pasted content should be adjusted based on the context.
 263  "auto_indent_on_paste": true,
 264  // Controls how the editor handles the autoclosed characters.
 265  // When set to `false`(default), skipping over and auto-removing of the closing characters
 266  // happen only for auto-inserted characters.
 267  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
 268  // no matter how they were inserted.
 269  "always_treat_brackets_as_autoclosed": false,
 270  // Controls where the `editor::Rewrap` action is allowed in the current language scope.
 271  //
 272  // This setting can take three values:
 273  //
 274  // 1. Only allow rewrapping in comments:
 275  //    "in_comments"
 276  // 2. Only allow rewrapping in the current selection(s):
 277  //    "in_selections"
 278  // 3. Allow rewrapping anywhere:
 279  //    "anywhere"
 280  //
 281  // When using values other than `in_comments`, it is possible for the rewrapping to produce code
 282  // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
 283  // to use.
 284  //
 285  // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
 286  "allow_rewrap": "in_comments",
 287  // Controls whether edit predictions are shown immediately (true)
 288  // or manually by triggering `editor::ShowEditPrediction` (false).
 289  "show_edit_predictions": true,
 290  // Controls whether edit predictions are shown in a given language scope.
 291  // Example: ["string", "comment"]
 292  "edit_predictions_disabled_in": [],
 293  // Whether to show tabs and spaces in the editor.
 294  // This setting can take four values:
 295  //
 296  // 1. Draw tabs and spaces only for the selected text (default):
 297  //    "selection"
 298  // 2. Do not draw any tabs or spaces:
 299  //    "none"
 300  // 3. Draw all invisible symbols:
 301  //    "all"
 302  // 4. Draw whitespaces at boundaries only:
 303  //    "boundary"
 304  // For a whitespace to be on a boundary, any of the following conditions need to be met:
 305  // - It is a tab
 306  // - It is adjacent to an edge (start or end)
 307  // - It is adjacent to a whitespace (left or right)
 308  "show_whitespaces": "selection",
 309  // Settings related to calls in Zed
 310  "calls": {
 311    // Join calls with the microphone live by default
 312    "mute_on_join": false,
 313    // Share your project when you are the first to join a channel
 314    "share_on_join": false
 315  },
 316  // Toolbar related settings
 317  "toolbar": {
 318    // Whether to show breadcrumbs.
 319    "breadcrumbs": true,
 320    // Whether to show quick action buttons.
 321    "quick_actions": true,
 322    // Whether to show the Selections menu in the editor toolbar.
 323    "selections_menu": true,
 324    // Whether to show agent review buttons in the editor toolbar.
 325    "agent_review": true
 326  },
 327  // Titlebar related settings
 328  "title_bar": {
 329    // Whether to show the branch icon beside branch switcher in the titlebar.
 330    "show_branch_icon": false,
 331    // Whether to show the branch name button in the titlebar.
 332    "show_branch_name": true,
 333    // Whether to show the project host and name in the titlebar.
 334    "show_project_items": true,
 335    // Whether to show onboarding banners in the titlebar.
 336    "show_onboarding_banner": true,
 337    // Whether to show user picture in the titlebar.
 338    "show_user_picture": true,
 339    // Whether to show the sign in button in the titlebar.
 340    "show_sign_in": true
 341  },
 342  // Scrollbar related settings
 343  "scrollbar": {
 344    // When to show the scrollbar in the editor.
 345    // This setting can take four values:
 346    //
 347    // 1. Show the scrollbar if there's important information or
 348    //    follow the system's configured behavior (default):
 349    //   "auto"
 350    // 2. Match the system's configured behavior:
 351    //    "system"
 352    // 3. Always show the scrollbar:
 353    //    "always"
 354    // 4. Never show the scrollbar:
 355    //    "never"
 356    "show": "auto",
 357    // Whether to show cursor positions in the scrollbar.
 358    "cursors": true,
 359    // Whether to show git diff indicators in the scrollbar.
 360    "git_diff": true,
 361    // Whether to show buffer search results in the scrollbar.
 362    "search_results": true,
 363    // Whether to show selected text occurrences in the scrollbar.
 364    "selected_text": true,
 365    // Whether to show selected symbol occurrences in the scrollbar.
 366    "selected_symbol": true,
 367    // Which diagnostic indicators to show in the scrollbar:
 368    //  - "none" or false: do not show diagnostics
 369    //  - "error": show only errors
 370    //  - "warning": show only errors and warnings
 371    //  - "information": show only errors, warnings, and information
 372    //  - "all" or true: show all diagnostics
 373    "diagnostics": "all",
 374    // Forcefully enable or disable the scrollbar for each axis
 375    "axes": {
 376      // When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
 377      "horizontal": true,
 378      // When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
 379      "vertical": true
 380    }
 381  },
 382  // Minimap related settings
 383  "minimap": {
 384    // When to show the minimap in the editor.
 385    // This setting can take three values:
 386    // 1. Show the minimap if the editor's scrollbar is visible:
 387    //    "auto"
 388    // 2. Always show the minimap:
 389    //    "always"
 390    // 3. Never show the minimap:
 391    //    "never" (default)
 392    "show": "never",
 393    // When to show the minimap thumb.
 394    // This setting can take two values:
 395    // 1. Show the minimap thumb if the mouse is over the minimap:
 396    //    "hover"
 397    // 2. Always show the minimap thumb:
 398    //    "always" (default)
 399    "thumb": "always",
 400    // How the minimap thumb border should look.
 401    // This setting can take five values:
 402    // 1. Display a border on all sides of the thumb:
 403    //    "thumb_border": "full"
 404    // 2. Display a border on all sides except the left side of the thumb:
 405    //    "thumb_border": "left_open" (default)
 406    // 3. Display a border on all sides except the right side of the thumb:
 407    //    "thumb_border": "right_open"
 408    // 4. Display a border only on the left side of the thumb:
 409    //    "thumb_border": "left_only"
 410    // 5. Display the thumb without any border:
 411    //    "thumb_border": "none"
 412    "thumb_border": "left_open",
 413    // How to highlight the current line in the minimap.
 414    // This setting can take the following values:
 415    //
 416    // 1. `null` to inherit the editor `current_line_highlight` setting (default)
 417    // 2. "line" or "all" to highlight the current line in the minimap.
 418    // 3. "gutter" or "none" to not highlight the current line in the minimap.
 419    "current_line_highlight": null
 420  },
 421  // Enable middle-click paste on Linux.
 422  "middle_click_paste": true,
 423  // What to do when multibuffer is double clicked in some of its excerpts
 424  // (parts of singleton buffers).
 425  // May take 2 values:
 426  //  1. Behave as a regular buffer and select the whole word (default).
 427  //         "double_click_in_multibuffer": "select"
 428  //  2. Open the excerpt clicked as a new buffer in the new tab.
 429  //         "double_click_in_multibuffer": "open",
 430  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
 431  "double_click_in_multibuffer": "select",
 432  "gutter": {
 433    // Whether to show line numbers in the gutter.
 434    "line_numbers": true,
 435    // Whether to show runnables buttons in the gutter.
 436    "runnables": true,
 437    // Whether to show breakpoints in the gutter.
 438    "breakpoints": true,
 439    // Whether to show fold buttons in the gutter.
 440    "folds": true
 441  },
 442  "indent_guides": {
 443    // Whether to show indent guides in the editor.
 444    "enabled": true,
 445    // The width of the indent guides in pixels, between 1 and 10.
 446    "line_width": 1,
 447    // The width of the active indent guide in pixels, between 1 and 10.
 448    "active_line_width": 1,
 449    // Determines how indent guides are colored.
 450    // This setting can take the following three values:
 451    //
 452    // 1. "disabled"
 453    // 2. "fixed"
 454    // 3. "indent_aware"
 455    "coloring": "fixed",
 456    // Determines how indent guide backgrounds are colored.
 457    // This setting can take the following two values:
 458    //
 459    // 1. "disabled"
 460    // 2. "indent_aware"
 461    "background_coloring": "disabled"
 462  },
 463  // Whether the editor will scroll beyond the last line.
 464  "scroll_beyond_last_line": "one_page",
 465  // The number of lines to keep above/below the cursor when scrolling.
 466  "vertical_scroll_margin": 3,
 467  // Whether to scroll when clicking near the edge of the visible text area.
 468  "autoscroll_on_clicks": false,
 469  // The number of characters to keep on either side when scrolling with the mouse
 470  "horizontal_scroll_margin": 5,
 471  // Scroll sensitivity multiplier. This multiplier is applied
 472  // to both the horizontal and vertical delta values while scrolling.
 473  "scroll_sensitivity": 1.0,
 474  "relative_line_numbers": false,
 475  // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
 476  "search_wrap": true,
 477  // Search options to enable by default when opening new project and buffer searches.
 478  "search": {
 479    // Whether to show the project search button in the status bar.
 480    "button": true,
 481    "whole_word": false,
 482    "case_sensitive": false,
 483    "include_ignored": false,
 484    "regex": false
 485  },
 486  // When to populate a new search's query based on the text under the cursor.
 487  // This setting can take the following three values:
 488  //
 489  // 1. Always populate the search query with the word under the cursor (default).
 490  //    "always"
 491  // 2. Only populate the search query when there is text selected
 492  //    "selection"
 493  // 3. Never populate the search query
 494  //    "never"
 495  "seed_search_query_from_cursor": "always",
 496  // When enabled, automatically adjusts search case sensitivity based on your query.
 497  // If your search query contains any uppercase letters, the search becomes case-sensitive;
 498  // if it contains only lowercase letters, the search becomes case-insensitive.
 499  "use_smartcase_search": false,
 500  // Inlay hint related settings
 501  "inlay_hints": {
 502    // Global switch to toggle hints on and off, switched off by default.
 503    "enabled": false,
 504    // Toggle certain types of hints on and off, all switched on by default.
 505    "show_type_hints": true,
 506    "show_parameter_hints": true,
 507    // Corresponds to null/None LSP hint type value.
 508    "show_other_hints": true,
 509    // Whether to show a background for inlay hints.
 510    //
 511    // If set to `true`, the background will use the `hint.background` color from the current theme.
 512    "show_background": false,
 513    // Time to wait after editing the buffer, before requesting the hints,
 514    // set to 0 to disable debouncing.
 515    "edit_debounce_ms": 700,
 516    // Time to wait after scrolling the buffer, before requesting the hints,
 517    // set to 0 to disable debouncing.
 518    "scroll_debounce_ms": 50,
 519    // A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
 520    // If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
 521    "toggle_on_modifiers_press": {
 522      "control": false,
 523      "shift": false,
 524      "alt": false,
 525      "platform": false,
 526      "function": false
 527    }
 528  },
 529  "project_panel": {
 530    // Whether to show the project panel button in the status bar
 531    "button": true,
 532    // Whether to hide the gitignore entries in the project panel.
 533    "hide_gitignore": false,
 534    // Default width of the project panel.
 535    "default_width": 240,
 536    // Where to dock the project panel. Can be 'left' or 'right'.
 537    "dock": "left",
 538    // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
 539    "entry_spacing": "comfortable",
 540    // Whether to show file icons in the project panel.
 541    "file_icons": true,
 542    // Whether to show folder icons or chevrons for directories in the project panel.
 543    "folder_icons": true,
 544    // Whether to show the git status in the project panel.
 545    "git_status": true,
 546    // Amount of indentation for nested items.
 547    "indent_size": 20,
 548    // Whether to reveal it in the project panel automatically,
 549    // when a corresponding project entry becomes active.
 550    // Gitignored entries are never auto revealed.
 551    "auto_reveal_entries": true,
 552    // Whether to fold directories automatically and show compact folders
 553    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
 554    "auto_fold_dirs": true,
 555    // Scrollbar-related settings
 556    "scrollbar": {
 557      // When to show the scrollbar in the project panel.
 558      // This setting can take five values:
 559      //
 560      // 1. null (default): Inherit editor settings
 561      // 2. Show the scrollbar if there's important information or
 562      //    follow the system's configured behavior (default):
 563      //   "auto"
 564      // 3. Match the system's configured behavior:
 565      //    "system"
 566      // 4. Always show the scrollbar:
 567      //    "always"
 568      // 5. Never show the scrollbar:
 569      //    "never"
 570      "show": null
 571    },
 572    // Which files containing diagnostic errors/warnings to mark in the project panel.
 573    // This setting can take the following three values:
 574    //
 575    // 1. Do not mark any files:
 576    //    "off"
 577    // 2. Only mark files with errors:
 578    //    "errors"
 579    // 3. Mark files with errors and warnings:
 580    //    "all"
 581    "show_diagnostics": "all",
 582    // Settings related to indent guides in the project panel.
 583    "indent_guides": {
 584      // When to show indent guides in the project panel.
 585      // This setting can take two values:
 586      //
 587      // 1. Always show indent guides:
 588      //    "always"
 589      // 2. Never show indent guides:
 590      //    "never"
 591      "show": "always"
 592    }
 593  },
 594  "outline_panel": {
 595    // Whether to show the outline panel button in the status bar
 596    "button": true,
 597    // Default width of the outline panel.
 598    "default_width": 300,
 599    // Where to dock the outline panel. Can be 'left' or 'right'.
 600    "dock": "left",
 601    // Whether to show file icons in the outline panel.
 602    "file_icons": true,
 603    // Whether to show folder icons or chevrons for directories in the outline panel.
 604    "folder_icons": true,
 605    // Whether to show the git status in the outline panel.
 606    "git_status": true,
 607    // Amount of indentation for nested items.
 608    "indent_size": 20,
 609    // Whether to reveal it in the outline panel automatically,
 610    // when a corresponding outline entry becomes active.
 611    // Gitignored entries are never auto revealed.
 612    "auto_reveal_entries": true,
 613    // Whether to fold directories automatically
 614    // when a directory has only one directory inside.
 615    "auto_fold_dirs": true,
 616    // Settings related to indent guides in the outline panel.
 617    "indent_guides": {
 618      // When to show indent guides in the outline panel.
 619      // This setting can take two values:
 620      //
 621      // 1. Always show indent guides:
 622      //    "always"
 623      // 2. Never show indent guides:
 624      //    "never"
 625      "show": "always"
 626    },
 627    // Scrollbar-related settings
 628    "scrollbar": {
 629      // When to show the scrollbar in the project panel.
 630      // This setting can take five values:
 631      //
 632      // 1. null (default): Inherit editor settings
 633      // 2. Show the scrollbar if there's important information or
 634      //    follow the system's configured behavior (default):
 635      //   "auto"
 636      // 3. Match the system's configured behavior:
 637      //    "system"
 638      // 4. Always show the scrollbar:
 639      //    "always"
 640      // 5. Never show the scrollbar:
 641      //    "never"
 642      "show": null
 643    }
 644  },
 645  "collaboration_panel": {
 646    // Whether to show the collaboration panel button in the status bar.
 647    "button": true,
 648    // Where to dock the collaboration panel. Can be 'left' or 'right'.
 649    "dock": "left",
 650    // Default width of the collaboration panel.
 651    "default_width": 240
 652  },
 653  "chat_panel": {
 654    // When to show the chat panel button in the status bar.
 655    // Can be 'never', 'always', or 'when_in_call',
 656    // or a boolean (interpreted as 'never'/'always').
 657    "button": "when_in_call",
 658    // Where to the chat panel. Can be 'left' or 'right'.
 659    "dock": "right",
 660    // Default width of the chat panel.
 661    "default_width": 240
 662  },
 663  "git_panel": {
 664    // Whether to show the git panel button in the status bar.
 665    "button": true,
 666    // Where to show the git panel. Can be 'left' or 'right'.
 667    "dock": "left",
 668    // Default width of the git panel.
 669    "default_width": 360,
 670    // Style of the git status indicator in the panel.
 671    //
 672    // Default: icon
 673    "status_style": "icon",
 674    // What branch name to use if init.defaultBranch
 675    // is not set
 676    //
 677    // Default: main
 678    "fallback_branch_name": "main",
 679    // Whether to sort entries in the panel by path
 680    // or by status (the default).
 681    //
 682    // Default: false
 683    "sort_by_path": false,
 684    "scrollbar": {
 685      // When to show the scrollbar in the git panel.
 686      //
 687      // Default: inherits editor scrollbar settings
 688      "show": null
 689    }
 690  },
 691  "message_editor": {
 692    // Whether to automatically replace emoji shortcodes with emoji characters.
 693    // For example: typing `:wave:` gets replaced with `👋`.
 694    "auto_replace_emoji_shortcode": true
 695  },
 696  "notification_panel": {
 697    // Whether to show the notification panel button in the status bar.
 698    "button": true,
 699    // Where to dock the notification panel. Can be 'left' or 'right'.
 700    "dock": "right",
 701    // Default width of the notification panel.
 702    "default_width": 380
 703  },
 704  "agent": {
 705    // Version of this setting.
 706    "version": "2",
 707    // Whether the agent is enabled.
 708    "enabled": true,
 709    /// What completion mode to start new threads in, if available. Can be 'normal' or 'max'.
 710    "preferred_completion_mode": "normal",
 711    // Whether to show the agent panel button in the status bar.
 712    "button": true,
 713    // Where to dock the agent panel. Can be 'left', 'right' or 'bottom'.
 714    "dock": "right",
 715    // Default width when the agent panel is docked to the left or right.
 716    "default_width": 640,
 717    // Default height when the agent panel is docked to the bottom.
 718    "default_height": 320,
 719    // The default model to use when creating new threads.
 720    "default_model": {
 721      // The provider to use.
 722      "provider": "zed.dev",
 723      // The model to use.
 724      "model": "claude-3-7-sonnet-latest"
 725    },
 726    // The model to use when applying edits from the agent.
 727    "editor_model": {
 728      // The provider to use.
 729      "provider": "zed.dev",
 730      // The model to use.
 731      "model": "claude-3-7-sonnet-latest"
 732    },
 733    // Additional parameters for language model requests. When making a request to a model, parameters will be taken
 734    // from the last entry in this list that matches the model's provider and name. In each entry, both provider
 735    // and model are optional, so that you can specify parameters for either one.
 736    "model_parameters": [
 737      // To set parameters for all requests to OpenAI models:
 738      // {
 739      //   "provider": "openai",
 740      //   "temperature": 0.5
 741      // }
 742      //
 743      // To set parameters for all requests in general:
 744      // {
 745      //   "temperature": 0
 746      // }
 747      //
 748      // To set parameters for a specific provider and model:
 749      // {
 750      //   "provider": "zed.dev",
 751      //   "model": "claude-3-7-sonnet-latest",
 752      //   "temperature": 1.0
 753      // }
 754    ],
 755    // When enabled, the agent can run potentially destructive actions without asking for your confirmation.
 756    "always_allow_tool_actions": false,
 757    // When enabled, the agent will stream edits.
 758    "stream_edits": false,
 759    // When enabled, agent edits will be displayed in single-file editors for review
 760    "single_file_review": true,
 761    // When enabled, show voting thumbs for feedback on agent edits.
 762    "enable_feedback": true,
 763    "default_profile": "write",
 764    "profiles": {
 765      "write": {
 766        "name": "Write",
 767        "enable_all_context_servers": true,
 768        "tools": {
 769          "copy_path": true,
 770          "create_directory": true,
 771          "create_file": true,
 772          "delete_path": true,
 773          "diagnostics": true,
 774          "edit_file": true,
 775          "fetch": true,
 776          "list_directory": true,
 777          "move_path": true,
 778          "now": true,
 779          "find_path": true,
 780          "read_file": true,
 781          "grep": true,
 782          "terminal": true,
 783          "thinking": true,
 784          "web_search": true
 785        }
 786      },
 787      "ask": {
 788        "name": "Ask",
 789        // We don't know which of the context server tools are safe for the "Ask" profile, so we don't enable them by default.
 790        // "enable_all_context_servers": true,
 791        "tools": {
 792          "contents": true,
 793          "diagnostics": true,
 794          "fetch": true,
 795          "list_directory": true,
 796          "now": true,
 797          "find_path": true,
 798          "read_file": true,
 799          "open": true,
 800          "grep": true,
 801          "thinking": true,
 802          "web_search": true
 803        }
 804      },
 805      "minimal": {
 806        "name": "Minimal",
 807        "enable_all_context_servers": false,
 808        "tools": {}
 809      }
 810    },
 811    // Where to show notifications when the agent has either completed
 812    // its response, or else needs confirmation before it can run a
 813    // tool action.
 814    // "primary_screen" - Show the notification only on your primary screen (default)
 815    // "all_screens" - Show these notifications on all screens
 816    // "never" - Never show these notifications
 817    "notify_when_agent_waiting": "primary_screen"
 818  },
 819  // The settings for slash commands.
 820  "slash_commands": {
 821    // Settings for the `/docs` slash command.
 822    "docs": {
 823      // Whether `/docs` is enabled.
 824      "enabled": false
 825    },
 826    // Settings for the `/project` slash command.
 827    "project": {
 828      // Whether `/project` is enabled.
 829      "enabled": false
 830    }
 831  },
 832  // Whether the screen sharing icon is shown in the os status bar.
 833  "show_call_status_icon": true,
 834  // Whether to use language servers to provide code intelligence.
 835  "enable_language_server": true,
 836  // Whether to perform linked edits of associated ranges, if the language server supports it.
 837  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
 838  "linked_edits": true,
 839  // The list of language servers to use (or disable) for all languages.
 840  //
 841  // This is typically customized on a per-language basis.
 842  "language_servers": ["..."],
 843  // When to automatically save edited buffers. This setting can
 844  // take four values.
 845  //
 846  // 1. Never automatically save:
 847  //     "autosave": "off",
 848  // 2. Save when changing focus away from the Zed window:
 849  //     "autosave": "on_window_change",
 850  // 3. Save when changing focus away from a specific buffer:
 851  //     "autosave": "on_focus_change",
 852  // 4. Save when idle for a certain amount of time:
 853  //     "autosave": { "after_delay": {"milliseconds": 500} },
 854  "autosave": "off",
 855  // Maximum number of tabs per pane. Unset for unlimited.
 856  "max_tabs": null,
 857  // Settings related to the editor's tab bar.
 858  "tab_bar": {
 859    // Whether or not to show the tab bar in the editor
 860    "show": true,
 861    // Whether or not to show the navigation history buttons.
 862    "show_nav_history_buttons": true,
 863    // Whether or not to show the tab bar buttons.
 864    "show_tab_bar_buttons": true
 865  },
 866  // Settings related to the editor's tabs
 867  "tabs": {
 868    // Show git status colors in the editor tabs.
 869    "git_status": false,
 870    // Position of the close button on the editor tabs.
 871    // One of: ["right", "left", "hidden"]
 872    "close_position": "right",
 873    // Whether to show the file icon for a tab.
 874    "file_icons": false,
 875    // Controls the appearance behavior of the tab's close button.
 876    //
 877    // 1. Show it just upon hovering the tab. (default)
 878    //     "hover"
 879    // 2. Show it persistently.
 880    //     "always"
 881    // 3. Never show it, even if hovering it.
 882    //     "hidden"
 883    "show_close_button": "hover",
 884    // What to do after closing the current tab.
 885    //
 886    // 1. Activate the tab that was open previously (default)
 887    //     "history"
 888    // 2. Activate the right neighbour tab if present
 889    //     "neighbour"
 890    // 3. Activate the left neighbour tab if present
 891    //     "left_neighbour"
 892    "activate_on_close": "history",
 893    // Which files containing diagnostic errors/warnings to mark in the tabs.
 894    // Diagnostics are only shown when file icons are also active.
 895    // This setting only works when can take the following three values:
 896    //
 897    // 1. Do not mark any files:
 898    //    "off"
 899    // 2. Only mark files with errors:
 900    //    "errors"
 901    // 3. Mark files with errors and warnings:
 902    //    "all"
 903    "show_diagnostics": "off"
 904  },
 905  // Settings related to preview tabs.
 906  "preview_tabs": {
 907    // Whether preview tabs should be enabled.
 908    // Preview tabs allow you to open files in preview mode, where they close automatically
 909    // when you switch to another file unless you explicitly pin them.
 910    // This is useful for quickly viewing files without cluttering your workspace.
 911    "enabled": true,
 912    // Whether to open tabs in preview mode when selected from the file finder.
 913    "enable_preview_from_file_finder": false,
 914    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
 915    "enable_preview_from_code_navigation": false
 916  },
 917  // Settings related to the file finder.
 918  "file_finder": {
 919    // Whether to show file icons in the file finder.
 920    "file_icons": true,
 921    // Determines how much space the file finder can take up in relation to the available window width.
 922    // There are 5 possible width values:
 923    //
 924    // 1. Small: This value is essentially a fixed width.
 925    //    "modal_max_width": "small"
 926    // 2. Medium:
 927    //    "modal_max_width": "medium"
 928    // 3. Large:
 929    //    "modal_max_width": "large"
 930    // 4. Extra Large:
 931    //    "modal_max_width": "xlarge"
 932    // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
 933    //    "modal_max_width": "full"
 934    //
 935    // Default: small
 936    "modal_max_width": "small",
 937    // Determines whether the file finder should skip focus for the active file in search results.
 938    // There are 2 possible values:
 939    //
 940    // 1. true: When searching for files, if the currently active file appears as the first result,
 941    //    auto-focus will skip it and focus the second result instead.
 942    //    "skip_focus_for_active_in_search": true
 943    //
 944    // 2. false: When searching for files, the first result will always receive focus,
 945    //    even if it's the currently active file.
 946    //    "skip_focus_for_active_in_search": false
 947    //
 948    // Default: true
 949    "skip_focus_for_active_in_search": true
 950  },
 951  // Whether or not to remove any trailing whitespace from lines of a buffer
 952  // before saving it.
 953  "remove_trailing_whitespace_on_save": true,
 954  // Whether to start a new line with a comment when a previous line is a comment as well.
 955  "extend_comment_on_newline": true,
 956  // Removes any lines containing only whitespace at the end of the file and
 957  // ensures just one newline at the end.
 958  "ensure_final_newline_on_save": true,
 959  // Whether or not to perform a buffer format before saving
 960  //
 961  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
 962  "format_on_save": "on",
 963  // How to perform a buffer format. This setting can take 4 values:
 964  //
 965  // 1. Format code using the current language server:
 966  //     "formatter": "language_server"
 967  // 2. Format code using an external command:
 968  //     "formatter": {
 969  //       "external": {
 970  //         "command": "prettier",
 971  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
 972  //       }
 973  //     }
 974  // 3. Format code using Zed's Prettier integration:
 975  //     "formatter": "prettier"
 976  // 4. Default. Format files using Zed's Prettier integration (if applicable),
 977  //    or falling back to formatting via language server:
 978  //     "formatter": "auto"
 979  "formatter": "auto",
 980  // How to soft-wrap long lines of text.
 981  // Possible values:
 982  //
 983  // 1. Prefer a single line generally, unless an overly long line is encountered.
 984  //      "soft_wrap": "none",
 985  //      "soft_wrap": "prefer_line", // (deprecated, same as "none")
 986  // 2. Soft wrap lines that overflow the editor.
 987  //      "soft_wrap": "editor_width",
 988  // 3. Soft wrap lines at the preferred line length.
 989  //      "soft_wrap": "preferred_line_length",
 990  // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
 991  //      "soft_wrap": "bounded",
 992  "soft_wrap": "none",
 993  // The column at which to soft-wrap lines, for buffers where soft-wrap
 994  // is enabled.
 995  "preferred_line_length": 80,
 996  // Whether to indent lines using tab characters, as opposed to multiple
 997  // spaces.
 998  "hard_tabs": false,
 999  // How many columns a tab should occupy.
1000  "tab_size": 4,
1001  // What debuggers are preferred by default for all languages.
1002  "debuggers": [],
1003  // Control what info is collected by Zed.
1004  "telemetry": {
1005    // Send debug info like crash reports.
1006    "diagnostics": true,
1007    // Send anonymized usage data like what languages you're using Zed with.
1008    "metrics": true
1009  },
1010  // Automatically update Zed. This setting may be ignored on Linux if
1011  // installed through a package manager.
1012  "auto_update": true,
1013  // Diagnostics configuration.
1014  "diagnostics": {
1015    // Whether to show the project diagnostics button in the status bar.
1016    "button": true,
1017    // Whether to show warnings or not by default.
1018    "include_warnings": true,
1019    // Settings for inline diagnostics
1020    "inline": {
1021      // Whether to show diagnostics inline or not
1022      "enabled": false,
1023      // The delay in milliseconds to show inline diagnostics after the
1024      // last diagnostic update.
1025      "update_debounce_ms": 150,
1026      // The amount of padding between the end of the source line and the start
1027      // of the inline diagnostic in units of em widths.
1028      "padding": 4,
1029      // The minimum column to display inline diagnostics. This setting can be
1030      // used to horizontally align inline diagnostics at some column. Lines
1031      // longer than this value will still push diagnostics further to the right.
1032      "min_column": 0,
1033      // The minimum severity of the diagnostics to show inline.
1034      // Inherits editor's diagnostics' max severity settings when `null`.
1035      "max_severity": null
1036    },
1037    "cargo": {
1038      // When enabled, Zed disables rust-analyzer's check on save and starts to query
1039      // Cargo diagnostics separately.
1040      "fetch_cargo_diagnostics": false
1041    }
1042  },
1043  // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
1044  // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
1045  "file_scan_exclusions": [
1046    "**/.git",
1047    "**/.svn",
1048    "**/.hg",
1049    "**/.jj",
1050    "**/CVS",
1051    "**/.DS_Store",
1052    "**/Thumbs.db",
1053    "**/.classpath",
1054    "**/.settings"
1055  ],
1056  // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
1057  // for files that are not tracked by git, but are still important to your project. Note that globs
1058  // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
1059  // precedence over these inclusions.
1060  "file_scan_inclusions": [".env*"],
1061  // Git gutter behavior configuration.
1062  "git": {
1063    // Control whether the git gutter is shown. May take 2 values:
1064    // 1. Show the gutter
1065    //      "git_gutter": "tracked_files"
1066    // 2. Hide the gutter
1067    //      "git_gutter": "hide"
1068    "git_gutter": "tracked_files",
1069    // Control whether the git blame information is shown inline,
1070    // in the currently focused line.
1071    "inline_blame": {
1072      "enabled": true
1073      // Sets a delay after which the inline blame information is shown.
1074      // Delay is restarted with every cursor movement.
1075      // "delay_ms": 600
1076      //
1077      // Whether or not to display the git commit summary on the same line.
1078      // "show_commit_summary": false
1079      //
1080      // The minimum column number to show the inline blame information at
1081      // "min_column": 0
1082    },
1083    // How git hunks are displayed visually in the editor.
1084    // This setting can take two values:
1085    //
1086    // 1. Show unstaged hunks filled and staged hunks hollow:
1087    //    "hunk_style": "staged_hollow"
1088    // 2. Show unstaged hunks hollow and staged hunks filled:
1089    //    "hunk_style": "unstaged_hollow"
1090    "hunk_style": "staged_hollow"
1091  },
1092  // The list of custom Git hosting providers.
1093  "git_hosting_providers": [
1094    // {
1095    //   "provider": "github",
1096    //   "name": "BigCorp GitHub",
1097    //   "base_url": "https://code.big-corp.com"
1098    // }
1099  ],
1100  // Configuration for how direnv configuration should be loaded. May take 2 values:
1101  // 1. Load direnv configuration using `direnv export json` directly.
1102  //      "load_direnv": "direct"
1103  // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
1104  //      "load_direnv": "shell_hook"
1105  "load_direnv": "direct",
1106  "edit_predictions": {
1107    // A list of globs representing files that edit predictions should be disabled for.
1108    // There's a sensible default list of globs already included.
1109    // Any addition to this list will be merged with the default list.
1110    // Globs are matched relative to the worktree root,
1111    // except when starting with a slash (/) or equivalent in Windows.
1112    "disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets.yml"],
1113    // When to show edit predictions previews in buffer.
1114    // This setting takes two possible values:
1115    // 1. Display predictions inline when there are no language server completions available.
1116    //     "mode": "eager"
1117    // 2. Display predictions inline only when holding a modifier key (alt by default).
1118    //     "mode": "subtle"
1119    "mode": "eager",
1120    // Whether edit predictions are enabled when editing text threads.
1121    // This setting has no effect if globally disabled.
1122    "enabled_in_text_threads": true
1123  },
1124  // Settings specific to journaling
1125  "journal": {
1126    // The path of the directory where journal entries are stored
1127    "path": "~",
1128    // What format to display the hours in
1129    // May take 2 values:
1130    // 1. hour12
1131    // 2. hour24
1132    "hour_format": "hour12"
1133  },
1134  // Settings specific to the terminal
1135  "terminal": {
1136    // What shell to use when opening a terminal. May take 3 values:
1137    // 1. Use the system's default terminal configuration in /etc/passwd
1138    //      "shell": "system"
1139    // 2. A program:
1140    //      "shell": {
1141    //        "program": "sh"
1142    //      }
1143    // 3. A program with arguments:
1144    //     "shell": {
1145    //         "with_arguments": {
1146    //           "program": "/bin/bash",
1147    //           "args": ["--login"]
1148    //         }
1149    //     }
1150    "shell": "system",
1151    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
1152    "dock": "bottom",
1153    // Default width when the terminal is docked to the left or right.
1154    "default_width": 640,
1155    // Default height when the terminal is docked to the bottom.
1156    "default_height": 320,
1157    // What working directory to use when launching the terminal.
1158    // May take 4 values:
1159    // 1. Use the current file's project directory.  Will Fallback to the
1160    //    first project directory strategy if unsuccessful
1161    //      "working_directory": "current_project_directory"
1162    // 2. Use the first project in this workspace's directory
1163    //      "working_directory": "first_project_directory"
1164    // 3. Always use this platform's home directory (if we can find it)
1165    //     "working_directory": "always_home"
1166    // 4. Always use a specific directory. This value will be shell expanded.
1167    //    If this path is not a valid directory the terminal will default to
1168    //    this platform's home directory  (if we can find it)
1169    //      "working_directory": {
1170    //        "always": {
1171    //          "directory": "~/zed/projects/"
1172    //        }
1173    //      }
1174    "working_directory": "current_project_directory",
1175    // Set the cursor blinking behavior in the terminal.
1176    // May take 3 values:
1177    //  1. Never blink the cursor, ignoring the terminal mode
1178    //         "blinking": "off",
1179    //  2. Default the cursor blink to off, but allow the terminal to
1180    //     set blinking
1181    //         "blinking": "terminal_controlled",
1182    //  3. Always blink the cursor, ignoring the terminal mode
1183    //         "blinking": "on",
1184    "blinking": "terminal_controlled",
1185    // Default cursor shape for the terminal.
1186    //  1. A block that surrounds the following character
1187    //     "block"
1188    //  2. A vertical bar
1189    //     "bar"
1190    //  3. An underline / underscore that runs along the following character
1191    //     "underline"
1192    //  4. A box drawn around the following character
1193    //     "hollow"
1194    //
1195    // Default: not set, defaults to "block"
1196    "cursor_shape": null,
1197    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
1198    // Alternate Scroll mode converts mouse scroll events into up / down key
1199    // presses when in the alternate screen (e.g. when running applications
1200    // like vim or  less). The terminal can still set and unset this mode.
1201    // May take 2 values:
1202    //  1. Default alternate scroll mode to on
1203    //         "alternate_scroll": "on",
1204    //  2. Default alternate scroll mode to off
1205    //         "alternate_scroll": "off",
1206    "alternate_scroll": "on",
1207    // Set whether the option key behaves as the meta key.
1208    // May take 2 values:
1209    //  1. Rely on default platform handling of option key, on macOS
1210    //     this means generating certain unicode characters
1211    //         "option_as_meta": false,
1212    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
1213    //         "option_as_meta": true,
1214    "option_as_meta": false,
1215    // Whether or not selecting text in the terminal will automatically
1216    // copy to the system clipboard.
1217    "copy_on_select": false,
1218    // Whether to show the terminal button in the status bar
1219    "button": true,
1220    // Any key-value pairs added to this list will be added to the terminal's
1221    // environment. Use `:` to separate multiple values.
1222    "env": {
1223      // "KEY": "value1:value2"
1224    },
1225    // Set the terminal's line height.
1226    // May take 3 values:
1227    //  1. Use a line height that's comfortable for reading, 1.618
1228    //         "line_height": "comfortable"
1229    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
1230    //      particularly if they use box characters
1231    //         "line_height": "standard",
1232    //  3. Use a custom line height.
1233    //         "line_height": {
1234    //           "custom": 2
1235    //         },
1236    "line_height": "comfortable",
1237    // Activate the python virtual environment, if one is found, in the
1238    // terminal's working directory (as resolved by the working_directory
1239    // setting). Set this to "off" to disable this behavior.
1240    "detect_venv": {
1241      "on": {
1242        // Default directories to search for virtual environments, relative
1243        // to the current working directory. We recommend overriding this
1244        // in your project's settings, rather than globally.
1245        "directories": [".env", "env", ".venv", "venv"],
1246        // Can also be `csh`, `fish`, `nushell` and `power_shell`
1247        "activate_script": "default"
1248      }
1249    },
1250    "toolbar": {
1251      // Whether to display the terminal title in its toolbar's breadcrumbs.
1252      // Only shown if the terminal title is not empty.
1253      //
1254      // The shell running in the terminal needs to be configured to emit the title.
1255      // Example: `echo -e "\e]2;New Title\007";`
1256      "breadcrumbs": true
1257    },
1258    // Scrollbar-related settings
1259    "scrollbar": {
1260      // When to show the scrollbar in the terminal.
1261      // This setting can take five values:
1262      //
1263      // 1. null (default): Inherit editor settings
1264      // 2. Show the scrollbar if there's important information or
1265      //    follow the system's configured behavior (default):
1266      //   "auto"
1267      // 3. Match the system's configured behavior:
1268      //    "system"
1269      // 4. Always show the scrollbar:
1270      //    "always"
1271      // 5. Never show the scrollbar:
1272      //    "never"
1273      "show": null
1274    }
1275    // Set the terminal's font size. If this option is not included,
1276    // the terminal will default to matching the buffer's font size.
1277    // "font_size": 15,
1278    // Set the terminal's font family. If this option is not included,
1279    // the terminal will default to matching the buffer's font family.
1280    // "font_family": "Zed Plex Mono",
1281    // Set the terminal's font fallbacks. If this option is not included,
1282    // the terminal will default to matching the buffer's font fallbacks.
1283    // This will be merged with the platform's default font fallbacks
1284    // "font_fallbacks": ["FiraCode Nerd Fonts"],
1285    // Sets the maximum number of lines in the terminal's scrollback buffer.
1286    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1287    // Existing terminals will not pick up this change until they are recreated.
1288    // "max_scroll_history_lines": 10000,
1289  },
1290  "code_actions_on_format": {},
1291  // Settings related to running tasks.
1292  "tasks": {
1293    "variables": {},
1294    "enabled": true
1295  },
1296  // An object whose keys are language names, and whose values
1297  // are arrays of filenames or extensions of files that should
1298  // use those languages.
1299  //
1300  // For example, to treat files like `foo.notjs` as JavaScript,
1301  // and `Embargo.lock` as TOML:
1302  //
1303  // {
1304  //   "JavaScript": ["notjs"],
1305  //   "TOML": ["Embargo.lock"]
1306  // }
1307  //
1308  "file_types": {
1309    "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1310    "Shell Script": [".env.*"]
1311  },
1312  // Settings for which version of Node.js and NPM to use when installing
1313  // language servers and Copilot.
1314  //
1315  // Note: changing this setting currently requires restarting Zed.
1316  "node": {
1317    // By default, Zed will look for `node` and `npm` on your `$PATH`, and use the
1318    // existing executables if their version is recent enough. Set this to `true`
1319    // to prevent this, and force Zed to always download and install its own
1320    // version of Node.
1321    "ignore_system_version": false,
1322    // You can also specify alternative paths to Node and NPM. If you specify
1323    // `path`, but not `npm_path`, Zed will assume that `npm` is located at
1324    // `${path}/../npm`.
1325    "path": null,
1326    "npm_path": null
1327  },
1328  // The extensions that Zed should automatically install on startup.
1329  //
1330  // If you don't want any of these extensions, add this field to your settings
1331  // and change the value to `false`.
1332  "auto_install_extensions": {
1333    "html": true
1334  },
1335  // Controls how completions are processed for this language.
1336  "completions": {
1337    // Controls how words are completed.
1338    // For large documents, not all words may be fetched for completion.
1339    //
1340    // May take 3 values:
1341    // 1. "enabled"
1342    //   Always fetch document's words for completions along with LSP completions.
1343    // 2. "fallback"
1344    //   Only if LSP response errors or times out, use document's words to show completions.
1345    // 3. "disabled"
1346    //   Never fetch or complete document's words for completions.
1347    //   (Word-based completions can still be queried via a separate action)
1348    //
1349    // Default: fallback
1350    "words": "fallback",
1351    // Whether to fetch LSP completions or not.
1352    //
1353    // Default: true
1354    "lsp": true,
1355    // When fetching LSP completions, determines how long to wait for a response of a particular server.
1356    // When set to 0, waits indefinitely.
1357    //
1358    // Default: 0
1359    "lsp_fetch_timeout_ms": 0,
1360    // Controls what range to replace when accepting LSP completions.
1361    //
1362    // When LSP servers give an `InsertReplaceEdit` completion, they provides two ranges: `insert` and `replace`. Usually, `insert`
1363    // contains the word prefix before your cursor and `replace` contains the whole word.
1364    //
1365    // Effectively, this setting just changes whether Zed will use the received range for `insert` or `replace`, so the results may
1366    // differ depending on the underlying LSP server.
1367    //
1368    // Possible values:
1369    // 1. "insert"
1370    //   Replaces text before the cursor, using the `insert` range described in the LSP specification.
1371    // 2. "replace"
1372    //   Replaces text before and after the cursor, using the `replace` range described in the LSP specification.
1373    // 3. "replace_subsequence"
1374    //   Behaves like `"replace"` if the text that would be replaced is a subsequence of the completion text,
1375    //   and like `"insert"` otherwise.
1376    // 4. "replace_suffix"
1377    //   Behaves like `"replace"` if the text after the cursor is a suffix of the completion, and like
1378    //   `"insert"` otherwise.
1379    "lsp_insert_mode": "replace_suffix"
1380  },
1381  // Different settings for specific languages.
1382  "languages": {
1383    "Astro": {
1384      "language_servers": ["astro-language-server", "..."],
1385      "prettier": {
1386        "allowed": true,
1387        "plugins": ["prettier-plugin-astro"]
1388      }
1389    },
1390    "Blade": {
1391      "prettier": {
1392        "allowed": true
1393      }
1394    },
1395    "C": {
1396      "format_on_save": "off",
1397      "use_on_type_format": false,
1398      "prettier": {
1399        "allowed": false
1400      }
1401    },
1402    "C++": {
1403      "format_on_save": "off",
1404      "use_on_type_format": false,
1405      "prettier": {
1406        "allowed": false
1407      }
1408    },
1409    "CSS": {
1410      "prettier": {
1411        "allowed": true
1412      }
1413    },
1414    "Dart": {
1415      "tab_size": 2
1416    },
1417    "Diff": {
1418      "show_edit_predictions": false,
1419      "remove_trailing_whitespace_on_save": false,
1420      "ensure_final_newline_on_save": false
1421    },
1422    "Elixir": {
1423      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1424    },
1425    "Elm": {
1426      "tab_size": 4
1427    },
1428    "Erlang": {
1429      "language_servers": ["erlang-ls", "!elp", "..."]
1430    },
1431    "Git Commit": {
1432      "allow_rewrap": "anywhere"
1433    },
1434    "Go": {
1435      "code_actions_on_format": {
1436        "source.organizeImports": true
1437      }
1438    },
1439    "GraphQL": {
1440      "prettier": {
1441        "allowed": true
1442      }
1443    },
1444    "HEEX": {
1445      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1446    },
1447    "HTML": {
1448      "prettier": {
1449        "allowed": true
1450      }
1451    },
1452    "Java": {
1453      "prettier": {
1454        "allowed": true,
1455        "plugins": ["prettier-plugin-java"]
1456      }
1457    },
1458    "JavaScript": {
1459      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1460      "prettier": {
1461        "allowed": true
1462      }
1463    },
1464    "JSON": {
1465      "prettier": {
1466        "allowed": true
1467      }
1468    },
1469    "JSONC": {
1470      "prettier": {
1471        "allowed": true
1472      }
1473    },
1474    "LaTeX": {
1475      "format_on_save": "on",
1476      "formatter": "language_server",
1477      "language_servers": ["texlab", "..."],
1478      "prettier": {
1479        "allowed": false
1480      }
1481    },
1482    "Markdown": {
1483      "format_on_save": "off",
1484      "use_on_type_format": false,
1485      "allow_rewrap": "anywhere",
1486      "soft_wrap": "editor_width",
1487      "prettier": {
1488        "allowed": true
1489      }
1490    },
1491    "PHP": {
1492      "language_servers": ["phpactor", "!intelephense", "..."],
1493      "prettier": {
1494        "allowed": true,
1495        "plugins": ["@prettier/plugin-php"],
1496        "parser": "php"
1497      }
1498    },
1499    "Plain Text": {
1500      "allow_rewrap": "anywhere"
1501    },
1502    "Ruby": {
1503      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1504    },
1505    "SCSS": {
1506      "prettier": {
1507        "allowed": true
1508      }
1509    },
1510    "SQL": {
1511      "prettier": {
1512        "allowed": true,
1513        "plugins": ["prettier-plugin-sql"]
1514      }
1515    },
1516    "Starlark": {
1517      "language_servers": ["starpls", "!buck2-lsp", "..."]
1518    },
1519    "Svelte": {
1520      "language_servers": ["svelte-language-server", "..."],
1521      "prettier": {
1522        "allowed": true,
1523        "plugins": ["prettier-plugin-svelte"]
1524      }
1525    },
1526    "TSX": {
1527      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1528      "prettier": {
1529        "allowed": true
1530      }
1531    },
1532    "Twig": {
1533      "prettier": {
1534        "allowed": true
1535      }
1536    },
1537    "TypeScript": {
1538      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1539      "prettier": {
1540        "allowed": true
1541      }
1542    },
1543    "Vue.js": {
1544      "language_servers": ["vue-language-server", "..."],
1545      "prettier": {
1546        "allowed": true
1547      }
1548    },
1549    "XML": {
1550      "prettier": {
1551        "allowed": true,
1552        "plugins": ["@prettier/plugin-xml"]
1553      }
1554    },
1555    "YAML": {
1556      "prettier": {
1557        "allowed": true
1558      }
1559    },
1560    "Zig": {
1561      "language_servers": ["zls", "..."]
1562    }
1563  },
1564  // Different settings for specific language models.
1565  "language_models": {
1566    "anthropic": {
1567      "version": "1",
1568      "api_url": "https://api.anthropic.com"
1569    },
1570    "google": {
1571      "api_url": "https://generativelanguage.googleapis.com"
1572    },
1573    "ollama": {
1574      "api_url": "http://localhost:11434"
1575    },
1576    "openai": {
1577      "version": "1",
1578      "api_url": "https://api.openai.com/v1"
1579    },
1580    "lmstudio": {
1581      "api_url": "http://localhost:1234/api/v0"
1582    },
1583    "deepseek": {
1584      "api_url": "https://api.deepseek.com"
1585    },
1586    "mistral": {
1587      "api_url": "https://api.mistral.ai/v1"
1588    }
1589  },
1590  // Zed's Prettier integration settings.
1591  // Allows to enable/disable formatting with Prettier
1592  // and configure default Prettier, used when no project-level Prettier installation is found.
1593  "prettier": {
1594    // // Whether to consider prettier formatter or not when attempting to format a file.
1595    // "allowed": false,
1596    //
1597    // // Use regular Prettier json configuration.
1598    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1599    // // the project has no other Prettier installed.
1600    // "plugins": [],
1601    //
1602    // // Use regular Prettier json configuration.
1603    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1604    // // the project has no other Prettier installed.
1605    // "trailingComma": "es5",
1606    // "tabWidth": 4,
1607    // "semi": false,
1608    // "singleQuote": true
1609  },
1610  // Settings for auto-closing of JSX tags.
1611  "jsx_tag_auto_close": {
1612    "enabled": true
1613  },
1614  // LSP Specific settings.
1615  "lsp": {
1616    // Specify the LSP name as a key here.
1617    // "rust-analyzer": {
1618    //     // A special flag for rust-analyzer integration, to use server-provided tasks
1619    //     enable_lsp_tasks": true,
1620    //     // These initialization options are merged into Zed's defaults
1621    //     "initialization_options": {
1622    //         "check": {
1623    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
1624    //         }
1625    //     }
1626    // }
1627  },
1628  // Jupyter settings
1629  "jupyter": {
1630    "enabled": true
1631    // Specify the language name as the key and the kernel name as the value.
1632    // "kernel_selections": {
1633    //    "python": "conda-base"
1634    //    "typescript": "deno"
1635    // }
1636  },
1637  // Vim settings
1638  "vim": {
1639    "default_mode": "normal",
1640    "toggle_relative_line_numbers": false,
1641    "use_system_clipboard": "always",
1642    "use_multiline_find": false,
1643    "use_smartcase_find": false,
1644    "highlight_on_yank_duration": 200,
1645    "custom_digraphs": {},
1646    // Cursor shape for the each mode.
1647    // Specify the mode as the key and the shape as the value.
1648    // The mode can be one of the following: "normal", "replace", "insert", "visual".
1649    // The shape can be one of the following: "block", "bar", "underline", "hollow".
1650    "cursor_shape": {}
1651  },
1652  // The server to connect to. If the environment variable
1653  // ZED_SERVER_URL is set, it will override this setting.
1654  "server_url": "https://zed.dev",
1655  // Settings overrides to use when using Zed Preview.
1656  // Mostly useful for developers who are managing multiple instances of Zed.
1657  "preview": {
1658    // "theme": "Andromeda"
1659  },
1660  // Settings overrides to use when using Zed Nightly.
1661  // Mostly useful for developers who are managing multiple instances of Zed.
1662  "nightly": {
1663    // "theme": "Andromeda"
1664  },
1665  // Settings overrides to use when using Zed Stable.
1666  // Mostly useful for developers who are managing multiple instances of Zed.
1667  "stable": {
1668    // "theme": "Andromeda"
1669  },
1670  // Settings overrides to use when using Zed Dev.
1671  // Mostly useful for developers who are managing multiple instances of Zed.
1672  "dev": {
1673    // "theme": "Andromeda"
1674  },
1675  // Whether to show full labels in line indicator or short ones
1676  //
1677  // Values:
1678  //   - `short`: "2 s, 15 l, 32 c"
1679  //   - `long`: "2 selections, 15 lines, 32 characters"
1680  // Default: long
1681  "line_indicator_format": "long",
1682  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1683  //
1684  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1685  // `socks5h`. `http` will be used when no scheme is specified.
1686  //
1687  // By default no proxy will be used, or Zed will try get proxy settings from
1688  // environment variables.
1689  //
1690  // Examples:
1691  //   - "proxy": "socks5h://localhost:10808"
1692  //   - "proxy": "http://127.0.0.1:10809"
1693  "proxy": null,
1694  // Set to configure aliases for the command palette.
1695  // When typing a query which is a key of this object, the value will be used instead.
1696  //
1697  // Examples:
1698  // {
1699  //   "W": "workspace::Save"
1700  // }
1701  "command_aliases": {},
1702  // ssh_connections is an array of ssh connections.
1703  // You can configure these from `project: Open Remote` in the command palette.
1704  // Zed's ssh support will pull configuration from your ~/.ssh too.
1705  // Examples:
1706  // [
1707  //   {
1708  //     "host": "example-box",
1709  //     // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1710  //     "projects": [
1711  //       {
1712  //         "paths": ["/home/user/code/zed"]
1713  //       }
1714  //     ]
1715  //   }
1716  // ]
1717  "ssh_connections": [],
1718  // Whether to read ~/.ssh/config for ssh connection sources.
1719  "read_ssh_config": true,
1720  // Configures context servers for use by the agent.
1721  "context_servers": {},
1722  "debugger": {
1723    "stepping_granularity": "line",
1724    "save_breakpoints": true,
1725    "button": true
1726  }
1727}