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