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