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