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