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": "copilot"
  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  // How much to fade out unused code.
  71  "unnecessary_code_fade": 0.3,
  72  // Active pane styling settings.
  73  "active_pane_modifiers": {
  74    // The factor to grow the active pane by. Defaults to 1.0
  75    // which gives the same size as all other panes.
  76    "magnification": 1.0,
  77    // Inset border size of the active pane, in pixels.
  78    "border_size": 0.0,
  79    // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
  80    // Values are clamped to the [0.0, 1.0] range.
  81    "inactive_opacity": 1.0
  82  },
  83  // The direction that you want to split panes horizontally. Defaults to "up"
  84  "pane_split_direction_horizontal": "up",
  85  // The direction that you want to split panes horizontally. Defaults to "left"
  86  "pane_split_direction_vertical": "left",
  87  // Centered layout related settings.
  88  "centered_layout": {
  89    // The relative width of the left padding of the central pane from the
  90    // workspace when the centered layout is used.
  91    "left_padding": 0.2,
  92    // The relative width of the right padding of the central pane from the
  93    // workspace when the centered layout is used.
  94    "right_padding": 0.2
  95  },
  96  // All settings related to the image viewer.
  97  "image_viewer": {
  98    // The unit for image file sizes.
  99    // By default we're setting it to binary.
 100    // The second option is decimal.
 101    "unit": "binary"
 102  },
 103  // The key to use for adding multiple cursors
 104  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 105  // "cmd" and "ctrl") are supported.
 106  "multi_cursor_modifier": "alt",
 107  // Whether to enable vim modes and key bindings.
 108  "vim_mode": false,
 109  // Whether to show the informational hover box when moving the mouse
 110  // over symbols in the editor.
 111  "hover_popover_enabled": true,
 112  // Time to wait before showing the informational hover box
 113  "hover_popover_delay": 350,
 114  // Whether to confirm before quitting Zed.
 115  "confirm_quit": false,
 116  // Whether to restore last closed project when fresh Zed instance is opened.
 117  "restore_on_startup": "last_session",
 118  // Size of the drop target in the editor.
 119  "drop_target_size": 0.2,
 120  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 121  // May take 3 values:
 122  //  1. Use the current platform's convention
 123  //         "when_closing_with_no_tabs": "platform_default"
 124  //  2. Always close the window:
 125  //         "when_closing_with_no_tabs": "close_window",
 126  //  3. Never close the window
 127  //         "when_closing_with_no_tabs": "keep_window_open",
 128  "when_closing_with_no_tabs": "platform_default",
 129  // What to do when the last window is closed.
 130  // May take 2 values:
 131  //  1. Use the current platform's convention
 132  //         "on_last_window_closed": "platform_default"
 133  //  2. Always quit the application
 134  //         "on_last_window_closed": "quit_app",
 135  "on_last_window_closed": "platform_default",
 136  // Whether to use the system provided dialogs for Open and Save As.
 137  // When set to false, Zed will use the built-in keyboard-first pickers.
 138  "use_system_path_prompts": true,
 139  // Whether the cursor blinks in the editor.
 140  "cursor_blink": true,
 141  // Cursor shape for the default editor.
 142  //  1. A vertical bar
 143  //     "bar"
 144  //  2. A block that surrounds the following character
 145  //     "block"
 146  //  3. An underline / underscore that runs along the following character
 147  //     "underline"
 148  //  4. A box drawn around the following character
 149  //     "hollow"
 150  //
 151  // Default: not set, defaults to "bar"
 152  "cursor_shape": null,
 153  // How to highlight the current line in the editor.
 154  //
 155  // 1. Don't highlight the current line:
 156  //    "none"
 157  // 2. Highlight the gutter area:
 158  //    "gutter"
 159  // 3. Highlight the editor area:
 160  //    "line"
 161  // 4. Highlight the full line (default):
 162  //    "all"
 163  "current_line_highlight": "all",
 164  // Whether to highlight all occurrences of the selected text in an editor.
 165  "selection_highlight": true,
 166  // The debounce delay before querying highlights based on the selected text.
 167  "selection_highlight_debounce": 50,
 168  // The debounce delay before querying highlights from the language
 169  // server based on the current cursor location.
 170  "lsp_highlight_debounce": 75,
 171  // Whether to pop the completions menu while typing in an editor without
 172  // explicitly requesting it.
 173  "show_completions_on_input": true,
 174  // Whether to display inline and alongside documentation for items in the
 175  // completions menu
 176  "show_completion_documentation": true,
 177  // Show method signatures in the editor, when inside parentheses.
 178  "auto_signature_help": false,
 179  /// Whether to show the signature help after completion or a bracket pair inserted.
 180  /// If `auto_signature_help` is enabled, this setting will be treated as enabled also.
 181  "show_signature_help_after_edits": false,
 182  // Whether to show wrap guides (vertical rulers) in the editor.
 183  // Setting this to true will show a guide at the 'preferred_line_length' value
 184  // if 'soft_wrap' is set to 'preferred_line_length', and will show any
 185  // additional guides as specified by the 'wrap_guides' setting.
 186  "show_wrap_guides": true,
 187  // Character counts at which to show wrap guides in the editor.
 188  "wrap_guides": [],
 189  // Hide the values of in variables from visual display in private files
 190  "redact_private_values": false,
 191  // The default number of lines to expand excerpts in the multibuffer by.
 192  "expand_excerpt_lines": 3,
 193  // Globs to match against file paths to determine if a file is private.
 194  "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
 195  // Whether to use additional LSP queries to format (and amend) the code after
 196  // every "trigger" symbol input, defined by LSP server capabilities.
 197  "use_on_type_format": true,
 198  // Whether to automatically add matching closing characters when typing
 199  // opening parenthesis, bracket, brace, single or double quote characters.
 200  // For example, when you type (, Zed will add a closing ) at the correct position.
 201  "use_autoclose": true,
 202  // Whether to automatically surround selected text when typing opening parenthesis,
 203  // bracket, brace, single or double quote characters.
 204  // For example, when you select text and type (, Zed will surround the text with ().
 205  "use_auto_surround": true,
 206  // Whether indentation of pasted content should be adjusted based on the context.
 207  "auto_indent_on_paste": true,
 208  // Controls how the editor handles the autoclosed characters.
 209  // When set to `false`(default), skipping over and auto-removing of the closing characters
 210  // happen only for auto-inserted characters.
 211  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
 212  // no matter how they were inserted.
 213  "always_treat_brackets_as_autoclosed": false,
 214  // Controls where the `editor::Rewrap` action is allowed in the current language scope.
 215  //
 216  // This setting can take three values:
 217  //
 218  // 1. Only allow rewrapping in comments:
 219  //    "in_comments"
 220  // 2. Only allow rewrapping in the current selection(s):
 221  //    "in_selections"
 222  // 3. Allow rewrapping anywhere:
 223  //    "anywhere"
 224  //
 225  // When using values other than `in_comments`, it is possible for the rewrapping to produce code
 226  // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
 227  // to use.
 228  //
 229  // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
 230  "allow_rewrap": "in_comments",
 231  // Controls whether edit predictions are shown immediately (true)
 232  // or manually by triggering `editor::ShowEditPrediction` (false).
 233  "show_edit_predictions": true,
 234  // Controls whether edit predictions are shown in a given language scope.
 235  // Example: ["string", "comment"]
 236  "edit_predictions_disabled_in": [],
 237  // Whether to show tabs and spaces in the editor.
 238  // This setting can take four values:
 239  //
 240  // 1. Draw tabs and spaces only for the selected text (default):
 241  //    "selection"
 242  // 2. Do not draw any tabs or spaces:
 243  //    "none"
 244  // 3. Draw all invisible symbols:
 245  //    "all"
 246  // 4. Draw whitespaces at boundaries only:
 247  //    "boundary"
 248  // For a whitespace to be on a boundary, any of the following conditions need to be met:
 249  // - It is a tab
 250  // - It is adjacent to an edge (start or end)
 251  // - It is adjacent to a whitespace (left or right)
 252  "show_whitespaces": "selection",
 253  // Settings related to calls in Zed
 254  "calls": {
 255    // Join calls with the microphone live by default
 256    "mute_on_join": false,
 257    // Share your project when you are the first to join a channel
 258    "share_on_join": false
 259  },
 260  // Toolbar related settings
 261  "toolbar": {
 262    // Whether to show breadcrumbs.
 263    "breadcrumbs": true,
 264    // Whether to show quick action buttons.
 265    "quick_actions": true,
 266    // Whether to show the Selections menu in the editor toolbar
 267    "selections_menu": true
 268  },
 269  // Scrollbar related settings
 270  "scrollbar": {
 271    // When to show the scrollbar in the editor.
 272    // This setting can take four values:
 273    //
 274    // 1. Show the scrollbar if there's important information or
 275    //    follow the system's configured behavior (default):
 276    //   "auto"
 277    // 2. Match the system's configured behavior:
 278    //    "system"
 279    // 3. Always show the scrollbar:
 280    //    "always"
 281    // 4. Never show the scrollbar:
 282    //    "never"
 283    "show": "auto",
 284    // Whether to show cursor positions in the scrollbar.
 285    "cursors": true,
 286    // Whether to show git diff indicators in the scrollbar.
 287    "git_diff": true,
 288    // Whether to show buffer search results in the scrollbar.
 289    "search_results": true,
 290    // Whether to show selected text occurrences in the scrollbar.
 291    "selected_text": true,
 292    // Whether to show selected symbol occurrences in the scrollbar.
 293    "selected_symbol": true,
 294    // Which diagnostic indicators to show in the scrollbar:
 295    //  - "none" or false: do not show diagnostics
 296    //  - "error": show only errors
 297    //  - "warning": show only errors and warnings
 298    //  - "information": show only errors, warnings, and information
 299    //  - "all" or true: show all diagnostics
 300    "diagnostics": "all",
 301    /// Forcefully enable or disable the scrollbar for each axis
 302    "axes": {
 303      /// When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
 304      "horizontal": true,
 305      /// When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
 306      "vertical": true
 307    }
 308  },
 309  // Enable middle-click paste on Linux.
 310  "middle_click_paste": true,
 311  // What to do when multibuffer is double clicked in some of its excerpts
 312  // (parts of singleton buffers).
 313  // May take 2 values:
 314  //  1. Behave as a regular buffer and select the whole word (default).
 315  //         "double_click_in_multibuffer": "select"
 316  //  2. Open the excerpt clicked as a new buffer in the new tab.
 317  //         "double_click_in_multibuffer": "open",
 318  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
 319  "double_click_in_multibuffer": "select",
 320  "gutter": {
 321    // Whether to show line numbers in the gutter.
 322    "line_numbers": true,
 323    // Whether to show code action buttons in the gutter.
 324    "code_actions": true,
 325    // Whether to show runnables buttons in the gutter.
 326    "runnables": true,
 327    // Whether to show fold buttons in the gutter.
 328    "folds": true
 329  },
 330  "indent_guides": {
 331    /// Whether to show indent guides in the editor.
 332    "enabled": true,
 333    /// The width of the indent guides in pixels, between 1 and 10.
 334    "line_width": 1,
 335    /// The width of the active indent guide in pixels, between 1 and 10.
 336    "active_line_width": 1,
 337    /// Determines how indent guides are colored.
 338    /// This setting can take the following three values:
 339    ///
 340    /// 1. "disabled"
 341    /// 2. "fixed"
 342    /// 3. "indent_aware"
 343    "coloring": "fixed",
 344    /// Determines how indent guide backgrounds are colored.
 345    /// This setting can take the following two values:
 346    ///
 347    /// 1. "disabled"
 348    /// 2. "indent_aware"
 349    "background_coloring": "disabled"
 350  },
 351  // Whether the editor will scroll beyond the last line.
 352  "scroll_beyond_last_line": "one_page",
 353  // The number of lines to keep above/below the cursor when scrolling.
 354  "vertical_scroll_margin": 3,
 355  // Whether to scroll when clicking near the edge of the visible text area.
 356  "autoscroll_on_clicks": false,
 357  // The number of characters to keep on either side when scrolling with the mouse
 358  "horizontal_scroll_margin": 5,
 359  // Scroll sensitivity multiplier. This multiplier is applied
 360  // to both the horizontal and vertical delta values while scrolling.
 361  "scroll_sensitivity": 1.0,
 362  "relative_line_numbers": false,
 363  // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
 364  "search_wrap": true,
 365  // Search options to enable by default when opening new project and buffer searches.
 366  "search": {
 367    "whole_word": false,
 368    "case_sensitive": false,
 369    "include_ignored": false,
 370    "regex": false
 371  },
 372  // When to populate a new search's query based on the text under the cursor.
 373  // This setting can take the following three values:
 374  //
 375  // 1. Always populate the search query with the word under the cursor (default).
 376  //    "always"
 377  // 2. Only populate the search query when there is text selected
 378  //    "selection"
 379  // 3. Never populate the search query
 380  //    "never"
 381  "seed_search_query_from_cursor": "always",
 382  "use_smartcase_search": false,
 383  // Inlay hint related settings
 384  "inlay_hints": {
 385    // Global switch to toggle hints on and off, switched off by default.
 386    "enabled": false,
 387    // Toggle certain types of hints on and off, all switched on by default.
 388    "show_type_hints": true,
 389    "show_parameter_hints": true,
 390    // Corresponds to null/None LSP hint type value.
 391    "show_other_hints": true,
 392    // Whether to show a background for inlay hints.
 393    //
 394    // If set to `true`, the background will use the `hint.background` color from the current theme.
 395    "show_background": false,
 396    // Time to wait after editing the buffer, before requesting the hints,
 397    // set to 0 to disable debouncing.
 398    "edit_debounce_ms": 700,
 399    // Time to wait after scrolling the buffer, before requesting the hints,
 400    // set to 0 to disable debouncing.
 401    "scroll_debounce_ms": 50
 402  },
 403  "project_panel": {
 404    // Whether to show the project panel button in the status bar
 405    "button": true,
 406    // Default width of the project panel.
 407    "default_width": 240,
 408    // Where to dock the project panel. Can be 'left' or 'right'.
 409    "dock": "left",
 410    // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
 411    "entry_spacing": "comfortable",
 412    // Whether to show file icons in the project panel.
 413    "file_icons": true,
 414    // Whether to show folder icons or chevrons for directories in the project panel.
 415    "folder_icons": true,
 416    // Whether to show the git status in the project panel.
 417    "git_status": true,
 418    // Amount of indentation for nested items.
 419    "indent_size": 20,
 420    // Whether to reveal it in the project panel automatically,
 421    // when a corresponding project entry becomes active.
 422    // Gitignored entries are never auto revealed.
 423    "auto_reveal_entries": true,
 424    // Whether to fold directories automatically and show compact folders
 425    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
 426    "auto_fold_dirs": true,
 427    /// Scrollbar-related settings
 428    "scrollbar": {
 429      /// When to show the scrollbar in the project panel.
 430      /// This setting can take five values:
 431      ///
 432      /// 1. null (default): Inherit editor settings
 433      /// 2. Show the scrollbar if there's important information or
 434      ///    follow the system's configured behavior (default):
 435      ///   "auto"
 436      /// 3. Match the system's configured behavior:
 437      ///    "system"
 438      /// 4. Always show the scrollbar:
 439      ///    "always"
 440      /// 5. Never show the scrollbar:
 441      ///    "never"
 442      "show": null
 443    },
 444    /// Which files containing diagnostic errors/warnings to mark in the project panel.
 445    /// This setting can take the following three values:
 446    ///
 447    /// 1. Do not mark any files:
 448    ///    "off"
 449    /// 2. Only mark files with errors:
 450    ///    "errors"
 451    /// 3. Mark files with errors and warnings:
 452    ///    "all"
 453    "show_diagnostics": "all",
 454    // Settings related to indent guides in the project panel.
 455    "indent_guides": {
 456      // When to show indent guides in the project panel.
 457      // This setting can take two values:
 458      //
 459      // 1. Always show indent guides:
 460      //    "always"
 461      // 2. Never show indent guides:
 462      //    "never"
 463      "show": "always"
 464    }
 465  },
 466  "outline_panel": {
 467    // Whether to show the outline panel button in the status bar
 468    "button": true,
 469    // Default width of the outline panel.
 470    "default_width": 300,
 471    // Where to dock the outline panel. Can be 'left' or 'right'.
 472    "dock": "left",
 473    // Whether to show file icons in the outline panel.
 474    "file_icons": true,
 475    // Whether to show folder icons or chevrons for directories in the outline panel.
 476    "folder_icons": true,
 477    // Whether to show the git status in the outline panel.
 478    "git_status": true,
 479    // Amount of indentation for nested items.
 480    "indent_size": 20,
 481    // Whether to reveal it in the outline panel automatically,
 482    // when a corresponding outline entry becomes active.
 483    // Gitignored entries are never auto revealed.
 484    "auto_reveal_entries": true,
 485    /// Whether to fold directories automatically
 486    /// when a directory has only one directory inside.
 487    "auto_fold_dirs": true,
 488    // Settings related to indent guides in the outline panel.
 489    "indent_guides": {
 490      // When to show indent guides in the outline panel.
 491      // This setting can take two values:
 492      //
 493      // 1. Always show indent guides:
 494      //    "always"
 495      // 2. Never show indent guides:
 496      //    "never"
 497      "show": "always"
 498    },
 499    /// Scrollbar-related settings
 500    "scrollbar": {
 501      /// When to show the scrollbar in the project panel.
 502      /// This setting can take five values:
 503      ///
 504      /// 1. null (default): Inherit editor settings
 505      /// 2. Show the scrollbar if there's important information or
 506      ///    follow the system's configured behavior (default):
 507      ///   "auto"
 508      /// 3. Match the system's configured behavior:
 509      ///    "system"
 510      /// 4. Always show the scrollbar:
 511      ///    "always"
 512      /// 5. Never show the scrollbar:
 513      ///    "never"
 514      "show": null
 515    }
 516  },
 517  "collaboration_panel": {
 518    // Whether to show the collaboration panel button in the status bar.
 519    "button": true,
 520    // Where to dock the collaboration panel. Can be 'left' or 'right'.
 521    "dock": "left",
 522    // Default width of the collaboration panel.
 523    "default_width": 240
 524  },
 525  "chat_panel": {
 526    // When to show the chat panel button in the status bar.
 527    // Can be 'never', 'always', or 'when_in_call',
 528    // or a boolean (interpreted as 'never'/'always').
 529    "button": "when_in_call",
 530    // Where to the chat panel. Can be 'left' or 'right'.
 531    "dock": "right",
 532    // Default width of the chat panel.
 533    "default_width": 240
 534  },
 535  "git_panel": {
 536    // Whether to show the git panel button in the status bar.
 537    "button": true,
 538    // Where to the git panel. Can be 'left' or 'right'.
 539    "dock": "left",
 540    // Default width of the git panel.
 541    "default_width": 360,
 542    // Style of the git status indicator in the panel.
 543    //
 544    // Default: icon
 545    "status_style": "icon",
 546    "scrollbar": {
 547      // When to show the scrollbar in the git panel.
 548      //
 549      // Default: inherits editor scrollbar settings
 550      "show": null
 551    }
 552  },
 553  "message_editor": {
 554    // Whether to automatically replace emoji shortcodes with emoji characters.
 555    // For example: typing `:wave:` gets replaced with `👋`.
 556    "auto_replace_emoji_shortcode": true
 557  },
 558  "notification_panel": {
 559    // Whether to show the notification panel button in the status bar.
 560    "button": true,
 561    // Where to dock the notification panel. Can be 'left' or 'right'.
 562    "dock": "right",
 563    // Default width of the notification panel.
 564    "default_width": 380
 565  },
 566  "assistant": {
 567    // Version of this setting.
 568    "version": "2",
 569    // Whether the assistant is enabled.
 570    "enabled": true,
 571    // Whether to show the assistant panel button in the status bar.
 572    "button": true,
 573    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
 574    "dock": "right",
 575    // Default width when the assistant is docked to the left or right.
 576    "default_width": 640,
 577    // Default height when the assistant is docked to the bottom.
 578    "default_height": 320,
 579    // The default model to use when creating new chats.
 580    "default_model": {
 581      // The provider to use.
 582      "provider": "zed.dev",
 583      // The model to use.
 584      "model": "claude-3-5-sonnet-latest"
 585    }
 586  },
 587  // The settings for slash commands.
 588  "slash_commands": {
 589    // Settings for the `/docs` slash command.
 590    "docs": {
 591      // Whether `/docs` is enabled.
 592      "enabled": false
 593    },
 594    // Settings for the `/project` slash command.
 595    "project": {
 596      // Whether `/project` is enabled.
 597      "enabled": false
 598    }
 599  },
 600  // Whether the screen sharing icon is shown in the os status bar.
 601  "show_call_status_icon": true,
 602  // Whether to use language servers to provide code intelligence.
 603  "enable_language_server": true,
 604  // Whether to perform linked edits of associated ranges, if the language server supports it.
 605  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
 606  "linked_edits": true,
 607  // The list of language servers to use (or disable) for all languages.
 608  //
 609  // This is typically customized on a per-language basis.
 610  "language_servers": ["..."],
 611  // When to automatically save edited buffers. This setting can
 612  // take four values.
 613  //
 614  // 1. Never automatically save:
 615  //     "autosave": "off",
 616  // 2. Save when changing focus away from the Zed window:
 617  //     "autosave": "on_window_change",
 618  // 3. Save when changing focus away from a specific buffer:
 619  //     "autosave": "on_focus_change",
 620  // 4. Save when idle for a certain amount of time:
 621  //     "autosave": { "after_delay": {"milliseconds": 500} },
 622  "autosave": "off",
 623  // Maximum number of tabs per pane. Unset for unlimited.
 624  "max_tabs": null,
 625  // Settings related to the editor's tab bar.
 626  "tab_bar": {
 627    // Whether or not to show the tab bar in the editor
 628    "show": true,
 629    // Whether or not to show the navigation history buttons.
 630    "show_nav_history_buttons": true,
 631    /// Whether or not to show the tab bar buttons.
 632    "show_tab_bar_buttons": true
 633  },
 634  // Settings related to the editor's tabs
 635  "tabs": {
 636    // Show git status colors in the editor tabs.
 637    "git_status": false,
 638    // Position of the close button on the editor tabs.
 639    "close_position": "right",
 640    // Whether to show the file icon for a tab.
 641    "file_icons": false,
 642    // Whether to always show the close button on tabs.
 643    "always_show_close_button": false,
 644    // What to do after closing the current tab.
 645    //
 646    // 1. Activate the tab that was open previously (default)
 647    //     "history"
 648    // 2. Activate the right neighbour tab if present
 649    //     "neighbour"
 650    // 3. Activate the left neighbour tab if present
 651    //     "left_neighbour"
 652    "activate_on_close": "history",
 653    /// Which files containing diagnostic errors/warnings to mark in the tabs.
 654    /// Diagnostics are only shown when file icons are also active.
 655    /// This setting only works when can take the following three values:
 656    ///
 657    /// 1. Do not mark any files:
 658    ///    "off"
 659    /// 2. Only mark files with errors:
 660    ///    "errors"
 661    /// 3. Mark files with errors and warnings:
 662    ///    "all"
 663    "show_diagnostics": "off"
 664  },
 665  // Settings related to preview tabs.
 666  "preview_tabs": {
 667    // Whether preview tabs should be enabled.
 668    // Preview tabs allow you to open files in preview mode, where they close automatically
 669    // when you switch to another file unless you explicitly pin them.
 670    // This is useful for quickly viewing files without cluttering your workspace.
 671    "enabled": true,
 672    // Whether to open tabs in preview mode when selected from the file finder.
 673    "enable_preview_from_file_finder": false,
 674    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
 675    "enable_preview_from_code_navigation": false
 676  },
 677  // Settings related to the file finder.
 678  "file_finder": {
 679    // Whether to show file icons in the file finder.
 680    "file_icons": true,
 681    // Determines how much space the file finder can take up in relation to the available window width.
 682    // There are 5 possible width values:
 683    //
 684    // 1. Small: This value is essentially a fixed width.
 685    //    "modal_max_width": "small"
 686    // 2. Medium:
 687    //    "modal_max_width": "medium"
 688    // 3. Large:
 689    //    "modal_max_width": "large"
 690    // 4. Extra Large:
 691    //    "modal_max_width": "xlarge"
 692    // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
 693    //    "modal_max_width": "full"
 694    //
 695    // Default: small
 696    "modal_max_width": "small"
 697  },
 698  // Whether or not to remove any trailing whitespace from lines of a buffer
 699  // before saving it.
 700  "remove_trailing_whitespace_on_save": true,
 701  // Whether to start a new line with a comment when a previous line is a comment as well.
 702  "extend_comment_on_newline": true,
 703  // Whether or not to ensure there's a single newline at the end of a buffer
 704  // when saving it.
 705  "ensure_final_newline_on_save": true,
 706  // Whether or not to perform a buffer format before saving
 707  //
 708  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
 709  "format_on_save": "on",
 710  // How to perform a buffer format. This setting can take 4 values:
 711  //
 712  // 1. Format code using the current language server:
 713  //     "formatter": "language_server"
 714  // 2. Format code using an external command:
 715  //     "formatter": {
 716  //       "external": {
 717  //         "command": "prettier",
 718  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
 719  //       }
 720  //     }
 721  // 3. Format code using Zed's Prettier integration:
 722  //     "formatter": "prettier"
 723  // 4. Default. Format files using Zed's Prettier integration (if applicable),
 724  //    or falling back to formatting via language server:
 725  //     "formatter": "auto"
 726  "formatter": "auto",
 727  // How to soft-wrap long lines of text.
 728  // Possible values:
 729  //
 730  // 1. Prefer a single line generally, unless an overly long line is encountered.
 731  //      "soft_wrap": "none",
 732  //      "soft_wrap": "prefer_line", // (deprecated, same as "none")
 733  // 2. Soft wrap lines that overflow the editor.
 734  //      "soft_wrap": "editor_width",
 735  // 3. Soft wrap lines at the preferred line length.
 736  //      "soft_wrap": "preferred_line_length",
 737  // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
 738  //      "soft_wrap": "bounded",
 739  "soft_wrap": "none",
 740  // The column at which to soft-wrap lines, for buffers where soft-wrap
 741  // is enabled.
 742  "preferred_line_length": 80,
 743  // Whether to indent lines using tab characters, as opposed to multiple
 744  // spaces.
 745  "hard_tabs": false,
 746  // How many columns a tab should occupy.
 747  "tab_size": 4,
 748  // Control what info is collected by Zed.
 749  "telemetry": {
 750    // Send debug info like crash reports.
 751    "diagnostics": true,
 752    // Send anonymized usage data like what languages you're using Zed with.
 753    "metrics": true
 754  },
 755  // Automatically update Zed. This setting may be ignored on Linux if
 756  // installed through a package manager.
 757  "auto_update": true,
 758  // Diagnostics configuration.
 759  "diagnostics": {
 760    // Whether to show warnings or not by default.
 761    "include_warnings": true,
 762    // Settings for inline diagnostics
 763    "inline": {
 764      // Whether to show diagnostics inline or not
 765      "enabled": false,
 766      // The delay in milliseconds to show inline diagnostics after the
 767      // last diagnostic update.
 768      "update_debounce_ms": 150,
 769      // The amount of padding between the end of the source line and the start
 770      // of the inline diagnostic in units of em widths.
 771      "padding": 4,
 772      // The minimum column to display inline diagnostics. This setting can be
 773      // used to horizontally align inline diagnostics at some column. Lines
 774      // longer than this value will still push diagnostics further to the right.
 775      "min_column": 0,
 776      // The minimum severity of the diagnostics to show inline.
 777      // Shows all diagnostics when not specified.
 778      "max_severity": null
 779    }
 780  },
 781  // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
 782  // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
 783  "file_scan_exclusions": [
 784    "**/.git",
 785    "**/.svn",
 786    "**/.hg",
 787    "**/.jj",
 788    "**/CVS",
 789    "**/.DS_Store",
 790    "**/Thumbs.db",
 791    "**/.classpath",
 792    "**/.settings"
 793  ],
 794  // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
 795  // for files that are not tracked by git, but are still important to your project. Note that globs
 796  // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
 797  // precedence over these inclusions.
 798  "file_scan_inclusions": [".env*"],
 799  // Git gutter behavior configuration.
 800  "git": {
 801    // Control whether the git gutter is shown. May take 2 values:
 802    // 1. Show the gutter
 803    //      "git_gutter": "tracked_files"
 804    // 2. Hide the gutter
 805    //      "git_gutter": "hide"
 806    "git_gutter": "tracked_files",
 807    // Control whether the git blame information is shown inline,
 808    // in the currently focused line.
 809    "inline_blame": {
 810      "enabled": true
 811      // Sets a delay after which the inline blame information is shown.
 812      // Delay is restarted with every cursor movement.
 813      // "delay_ms": 600
 814      //
 815      // Whether or not to display the git commit summary on the same line.
 816      // "show_commit_summary": false
 817      //
 818      // The minimum column number to show the inline blame information at
 819      // "min_column": 0
 820    }
 821  },
 822  // Configuration for how direnv configuration should be loaded. May take 2 values:
 823  // 1. Load direnv configuration using `direnv export json` directly.
 824  //      "load_direnv": "direct"
 825  // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
 826  //      "load_direnv": "shell_hook"
 827  "load_direnv": "direct",
 828  "edit_predictions": {
 829    // A list of globs representing files that edit predictions should be disabled for.
 830    // There's a sensible default list of globs already included.
 831    // Any addition to this list will be merged with the default list.
 832    // Globs are matched relative to the worktree root,
 833    // except when starting with a slash (/) or equivalent in Windows.
 834    "disabled_globs": [
 835      "**/.env*",
 836      "**/*.pem",
 837      "**/*.key",
 838      "**/*.cert",
 839      "**/*.crt",
 840      "**/.dev.vars",
 841      "**/secrets.yml"
 842    ],
 843    // When to show edit predictions previews in buffer.
 844    // This setting takes two possible values:
 845    // 1. Display predictions inline when there are no language server completions available.
 846    //     "mode": "eager"
 847    // 2. Display predictions inline only when holding a modifier key (alt by default).
 848    //     "mode": "subtle"
 849    "mode": "eager",
 850    // Whether edit predictions are enabled in the assistant prompt editor.
 851    // This setting has no effect if globally disabled.
 852    "enabled_in_assistant": true
 853  },
 854  // Settings specific to journaling
 855  "journal": {
 856    // The path of the directory where journal entries are stored
 857    "path": "~",
 858    // What format to display the hours in
 859    // May take 2 values:
 860    // 1. hour12
 861    // 2. hour24
 862    "hour_format": "hour12"
 863  },
 864  // Settings specific to the terminal
 865  "terminal": {
 866    // What shell to use when opening a terminal. May take 3 values:
 867    // 1. Use the system's default terminal configuration in /etc/passwd
 868    //      "shell": "system"
 869    // 2. A program:
 870    //      "shell": {
 871    //        "program": "sh"
 872    //      }
 873    // 3. A program with arguments:
 874    //     "shell": {
 875    //         "with_arguments": {
 876    //           "program": "/bin/bash",
 877    //           "args": ["--login"]
 878    //         }
 879    //     }
 880    "shell": "system",
 881    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
 882    "dock": "bottom",
 883    // Default width when the terminal is docked to the left or right.
 884    "default_width": 640,
 885    // Default height when the terminal is docked to the bottom.
 886    "default_height": 320,
 887    // What working directory to use when launching the terminal.
 888    // May take 4 values:
 889    // 1. Use the current file's project directory.  Will Fallback to the
 890    //    first project directory strategy if unsuccessful
 891    //      "working_directory": "current_project_directory"
 892    // 2. Use the first project in this workspace's directory
 893    //      "working_directory": "first_project_directory"
 894    // 3. Always use this platform's home directory (if we can find it)
 895    //     "working_directory": "always_home"
 896    // 4. Always use a specific directory. This value will be shell expanded.
 897    //    If this path is not a valid directory the terminal will default to
 898    //    this platform's home directory  (if we can find it)
 899    //      "working_directory": {
 900    //        "always": {
 901    //          "directory": "~/zed/projects/"
 902    //        }
 903    //      }
 904    "working_directory": "current_project_directory",
 905    // Set the cursor blinking behavior in the terminal.
 906    // May take 3 values:
 907    //  1. Never blink the cursor, ignoring the terminal mode
 908    //         "blinking": "off",
 909    //  2. Default the cursor blink to off, but allow the terminal to
 910    //     set blinking
 911    //         "blinking": "terminal_controlled",
 912    //  3. Always blink the cursor, ignoring the terminal mode
 913    //         "blinking": "on",
 914    "blinking": "terminal_controlled",
 915    // Default cursor shape for the terminal.
 916    //  1. A block that surrounds the following character
 917    //     "block"
 918    //  2. A vertical bar
 919    //     "bar"
 920    //  3. An underline / underscore that runs along the following character
 921    //     "underline"
 922    //  4. A box drawn around the following character
 923    //     "hollow"
 924    //
 925    // Default: not set, defaults to "block"
 926    "cursor_shape": null,
 927    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
 928    // Alternate Scroll mode converts mouse scroll events into up / down key
 929    // presses when in the alternate screen (e.g. when running applications
 930    // like vim or  less). The terminal can still set and unset this mode.
 931    // May take 2 values:
 932    //  1. Default alternate scroll mode to on
 933    //         "alternate_scroll": "on",
 934    //  2. Default alternate scroll mode to off
 935    //         "alternate_scroll": "off",
 936    "alternate_scroll": "off",
 937    // Set whether the option key behaves as the meta key.
 938    // May take 2 values:
 939    //  1. Rely on default platform handling of option key, on macOS
 940    //     this means generating certain unicode characters
 941    //         "option_as_meta": false,
 942    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
 943    //         "option_as_meta": true,
 944    "option_as_meta": false,
 945    // Whether or not selecting text in the terminal will automatically
 946    // copy to the system clipboard.
 947    "copy_on_select": false,
 948    // Whether to show the terminal button in the status bar
 949    "button": true,
 950    // Any key-value pairs added to this list will be added to the terminal's
 951    // environment. Use `:` to separate multiple values.
 952    "env": {
 953      // "KEY": "value1:value2"
 954    },
 955    // Set the terminal's line height.
 956    // May take 3 values:
 957    //  1. Use a line height that's comfortable for reading, 1.618
 958    //         "line_height": "comfortable"
 959    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
 960    //      particularly if they use box characters
 961    //         "line_height": "standard",
 962    //  3. Use a custom line height.
 963    //         "line_height": {
 964    //           "custom": 2
 965    //         },
 966    "line_height": "comfortable",
 967    // Activate the python virtual environment, if one is found, in the
 968    // terminal's working directory (as resolved by the working_directory
 969    // setting). Set this to "off" to disable this behavior.
 970    "detect_venv": {
 971      "on": {
 972        // Default directories to search for virtual environments, relative
 973        // to the current working directory. We recommend overriding this
 974        // in your project's settings, rather than globally.
 975        "directories": [".env", "env", ".venv", "venv"],
 976        // Can also be `csh`, `fish`, `nushell` and `power_shell`
 977        "activate_script": "default"
 978      }
 979    },
 980    "toolbar": {
 981      // Whether to display the terminal title in its toolbar's breadcrumbs.
 982      // Only shown if the terminal title is not empty.
 983      //
 984      // The shell running in the terminal needs to be configured to emit the title.
 985      // Example: `echo -e "\e]2;New Title\007";`
 986      "breadcrumbs": true
 987    },
 988    /// Scrollbar-related settings
 989    "scrollbar": {
 990      /// When to show the scrollbar in the terminal.
 991      /// This setting can take five values:
 992      ///
 993      /// 1. null (default): Inherit editor settings
 994      /// 2. Show the scrollbar if there's important information or
 995      ///    follow the system's configured behavior (default):
 996      ///   "auto"
 997      /// 3. Match the system's configured behavior:
 998      ///    "system"
 999      /// 4. Always show the scrollbar:
1000      ///    "always"
1001      /// 5. Never show the scrollbar:
1002      ///    "never"
1003      "show": null
1004    }
1005    // Set the terminal's font size. If this option is not included,
1006    // the terminal will default to matching the buffer's font size.
1007    // "font_size": 15,
1008    // Set the terminal's font family. If this option is not included,
1009    // the terminal will default to matching the buffer's font family.
1010    // "font_family": "Zed Plex Mono",
1011    // Set the terminal's font fallbacks. If this option is not included,
1012    // the terminal will default to matching the buffer's font fallbacks.
1013    // This will be merged with the platform's default font fallbacks
1014    // "font_fallbacks": ["FiraCode Nerd Fonts"],
1015    // Sets the maximum number of lines in the terminal's scrollback buffer.
1016    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1017    // Existing terminals will not pick up this change until they are recreated.
1018    // "max_scroll_history_lines": 10000,
1019  },
1020  "code_actions_on_format": {},
1021  /// Settings related to running tasks.
1022  "tasks": {
1023    "variables": {}
1024  },
1025  // An object whose keys are language names, and whose values
1026  // are arrays of filenames or extensions of files that should
1027  // use those languages.
1028  //
1029  // For example, to treat files like `foo.notjs` as JavaScript,
1030  // and `Embargo.lock` as TOML:
1031  //
1032  // {
1033  //   "JavaScript": ["notjs"],
1034  //   "TOML": ["Embargo.lock"]
1035  // }
1036  //
1037  "file_types": {
1038    "Plain Text": ["txt"],
1039    "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1040    "Shell Script": [".env.*"]
1041  },
1042  /// By default use a recent system version of node, or install our own.
1043  /// You can override this to use a version of node that is not in $PATH with:
1044  /// {
1045  ///   "node": {
1046  ///     "path": "/path/to/node"
1047  ///     "npm_path": "/path/to/npm" (defaults to node_path/../npm)
1048  ///   }
1049  /// }
1050  /// or to ensure Zed always downloads and installs an isolated version of node:
1051  /// {
1052  ///   "node": {
1053  ///     "ignore_system_version": true,
1054  ///   }
1055  /// NOTE: changing this setting currently requires restarting Zed.
1056  "node": {},
1057  // The extensions that Zed should automatically install on startup.
1058  //
1059  // If you don't want any of these extensions, add this field to your settings
1060  // and change the value to `false`.
1061  "auto_install_extensions": {
1062    "html": true
1063  },
1064  // Different settings for specific languages.
1065  "languages": {
1066    "Astro": {
1067      "language_servers": ["astro-language-server", "..."],
1068      "prettier": {
1069        "allowed": true,
1070        "plugins": ["prettier-plugin-astro"]
1071      }
1072    },
1073    "Blade": {
1074      "prettier": {
1075        "allowed": true
1076      }
1077    },
1078    "C": {
1079      "format_on_save": "off",
1080      "use_on_type_format": false,
1081      "prettier": {
1082        "allowed": false
1083      }
1084    },
1085    "C++": {
1086      "format_on_save": "off",
1087      "use_on_type_format": false,
1088      "prettier": {
1089        "allowed": false
1090      }
1091    },
1092    "CSS": {
1093      "prettier": {
1094        "allowed": true
1095      }
1096    },
1097    "Dart": {
1098      "tab_size": 2
1099    },
1100    "Diff": {
1101      "show_edit_predictions": false,
1102      "remove_trailing_whitespace_on_save": false,
1103      "ensure_final_newline_on_save": false
1104    },
1105    "Elixir": {
1106      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1107    },
1108    "Erlang": {
1109      "language_servers": ["erlang-ls", "!elp", "..."]
1110    },
1111    "Git Commit": {
1112      "allow_rewrap": "anywhere"
1113    },
1114    "Go": {
1115      "code_actions_on_format": {
1116        "source.organizeImports": true
1117      }
1118    },
1119    "GraphQL": {
1120      "prettier": {
1121        "allowed": true
1122      }
1123    },
1124    "HEEX": {
1125      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1126    },
1127    "HTML": {
1128      "prettier": {
1129        "allowed": true
1130      }
1131    },
1132    "Java": {
1133      "prettier": {
1134        "allowed": true,
1135        "plugins": ["prettier-plugin-java"]
1136      }
1137    },
1138    "JavaScript": {
1139      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1140      "prettier": {
1141        "allowed": true
1142      }
1143    },
1144    "JSON": {
1145      "prettier": {
1146        "allowed": true
1147      }
1148    },
1149    "JSONC": {
1150      "prettier": {
1151        "allowed": true
1152      }
1153    },
1154    "Markdown": {
1155      "format_on_save": "off",
1156      "use_on_type_format": false,
1157      "allow_rewrap": "anywhere",
1158      "prettier": {
1159        "allowed": true
1160      }
1161    },
1162    "PHP": {
1163      "language_servers": ["phpactor", "!intelephense", "..."],
1164      "prettier": {
1165        "allowed": true,
1166        "plugins": ["@prettier/plugin-php"],
1167        "parser": "php"
1168      }
1169    },
1170    "Plain Text": {
1171      "allow_rewrap": "anywhere"
1172    },
1173    "Ruby": {
1174      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1175    },
1176    "SCSS": {
1177      "prettier": {
1178        "allowed": true
1179      }
1180    },
1181    "SQL": {
1182      "prettier": {
1183        "allowed": true,
1184        "plugins": ["prettier-plugin-sql"]
1185      }
1186    },
1187    "Starlark": {
1188      "language_servers": ["starpls", "!buck2-lsp", "..."]
1189    },
1190    "Svelte": {
1191      "language_servers": ["svelte-language-server", "..."],
1192      "prettier": {
1193        "allowed": true,
1194        "plugins": ["prettier-plugin-svelte"]
1195      }
1196    },
1197    "TSX": {
1198      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1199      "prettier": {
1200        "allowed": true
1201      }
1202    },
1203    "Twig": {
1204      "prettier": {
1205        "allowed": true
1206      }
1207    },
1208    "TypeScript": {
1209      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1210      "prettier": {
1211        "allowed": true
1212      }
1213    },
1214    "Vue.js": {
1215      "language_servers": ["vue-language-server", "..."],
1216      "prettier": {
1217        "allowed": true
1218      }
1219    },
1220    "XML": {
1221      "prettier": {
1222        "allowed": true,
1223        "plugins": ["@prettier/plugin-xml"]
1224      }
1225    },
1226    "YAML": {
1227      "prettier": {
1228        "allowed": true
1229      }
1230    },
1231    "Zig": {
1232      "language_servers": ["zls", "..."]
1233    }
1234  },
1235  // Different settings for specific language models.
1236  "language_models": {
1237    "anthropic": {
1238      "version": "1",
1239      "api_url": "https://api.anthropic.com"
1240    },
1241    "google": {
1242      "api_url": "https://generativelanguage.googleapis.com"
1243    },
1244    "ollama": {
1245      "api_url": "http://localhost:11434"
1246    },
1247    "openai": {
1248      "version": "1",
1249      "api_url": "https://api.openai.com/v1"
1250    },
1251    "lmstudio": {
1252      "api_url": "http://localhost:1234/api/v0"
1253    },
1254    "deepseek": {
1255      "api_url": "https://api.deepseek.com"
1256    },
1257    "mistral": {
1258      "api_url": "https://api.mistral.ai/v1"
1259    }
1260  },
1261  // Zed's Prettier integration settings.
1262  // Allows to enable/disable formatting with Prettier
1263  // and configure default Prettier, used when no project-level Prettier installation is found.
1264  "prettier": {
1265    // // Whether to consider prettier formatter or not when attempting to format a file.
1266    // "allowed": false,
1267    //
1268    // // Use regular Prettier json configuration.
1269    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1270    // // the project has no other Prettier installed.
1271    // "plugins": [],
1272    //
1273    // // Use regular Prettier json configuration.
1274    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1275    // // the project has no other Prettier installed.
1276    // "trailingComma": "es5",
1277    // "tabWidth": 4,
1278    // "semi": false,
1279    // "singleQuote": true
1280  },
1281  // LSP Specific settings.
1282  "lsp": {
1283    // Specify the LSP name as a key here.
1284    // "rust-analyzer": {
1285    //     // These initialization options are merged into Zed's defaults
1286    //     "initialization_options": {
1287    //         "check": {
1288    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
1289    //         }
1290    //     }
1291    // }
1292  },
1293  // Jupyter settings
1294  "jupyter": {
1295    "enabled": true
1296    // Specify the language name as the key and the kernel name as the value.
1297    // "kernel_selections": {
1298    //    "python": "conda-base"
1299    //    "typescript": "deno"
1300    // }
1301  },
1302  // Vim settings
1303  "vim": {
1304    "default_mode": "normal",
1305    "toggle_relative_line_numbers": false,
1306    "use_system_clipboard": "always",
1307    "use_multiline_find": false,
1308    "use_smartcase_find": false,
1309    "highlight_on_yank_duration": 200,
1310    "custom_digraphs": {}
1311  },
1312  // The server to connect to. If the environment variable
1313  // ZED_SERVER_URL is set, it will override this setting.
1314  "server_url": "https://zed.dev",
1315  // Settings overrides to use when using Zed Preview.
1316  // Mostly useful for developers who are managing multiple instances of Zed.
1317  "preview": {
1318    // "theme": "Andromeda"
1319  },
1320  // Settings overrides to use when using Zed Nightly.
1321  // Mostly useful for developers who are managing multiple instances of Zed.
1322  "nightly": {
1323    // "theme": "Andromeda"
1324  },
1325  // Settings overrides to use when using Zed Stable.
1326  // Mostly useful for developers who are managing multiple instances of Zed.
1327  "stable": {
1328    // "theme": "Andromeda"
1329  },
1330  // Settings overrides to use when using Zed Dev.
1331  // Mostly useful for developers who are managing multiple instances of Zed.
1332  "dev": {
1333    // "theme": "Andromeda"
1334  },
1335  // Task-related settings.
1336  "task": {
1337    // Whether to show task status indicator in the status bar. Default: true
1338    "show_status_indicator": true
1339  },
1340  // Whether to show full labels in line indicator or short ones
1341  //
1342  // Values:
1343  //   - `short`: "2 s, 15 l, 32 c"
1344  //   - `long`: "2 selections, 15 lines, 32 characters"
1345  // Default: long
1346  "line_indicator_format": "long",
1347  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1348  //
1349  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1350  // `socks5h`. `http` will be used when no scheme is specified.
1351  //
1352  // By default no proxy will be used, or Zed will try get proxy settings from
1353  // environment variables.
1354  //
1355  // Examples:
1356  //   - "proxy": "socks5h://localhost:10808"
1357  //   - "proxy": "http://127.0.0.1:10809"
1358  "proxy": null,
1359  // Set to configure aliases for the command palette.
1360  // When typing a query which is a key of this object, the value will be used instead.
1361  //
1362  // Examples:
1363  // {
1364  //   "W": "workspace::Save"
1365  // }
1366  "command_aliases": {},
1367  // Whether to show user picture in titlebar.
1368  "show_user_picture": true,
1369  // ssh_connections is an array of ssh connections.
1370  // You can configure these from `project: Open Remote` in the command palette.
1371  // Zed's ssh support will pull configuration from your ~/.ssh too.
1372  // Examples:
1373  // [
1374  //   {
1375  //     "host": "example-box",
1376  //     // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1377  //     "projects": [
1378  //       {
1379  //         "paths": ["/home/user/code/zed"]
1380  //       }
1381  //     ]
1382  //   }
1383  // ]
1384  "ssh_connections": [],
1385  // Configures context servers for use in the Assistant.
1386  "context_servers": {}
1387}