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