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: not set, defaults to "bar"
 125  "cursor_shape": null,
 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    // Whether to show a background for inlay hints.
 322    //
 323    // If set to `true`, the background will use the `hint.background` color from the current theme.
 324    "show_background": false,
 325    // Time to wait after editing the buffer, before requesting the hints,
 326    // set to 0 to disable debouncing.
 327    "edit_debounce_ms": 700,
 328    // Time to wait after scrolling the buffer, before requesting the hints,
 329    // set to 0 to disable debouncing.
 330    "scroll_debounce_ms": 50
 331  },
 332  "project_panel": {
 333    // Whether to show the project panel button in the status bar
 334    "button": true,
 335    // Default width of the project panel.
 336    "default_width": 240,
 337    // Where to dock the project panel. Can be 'left' or 'right'.
 338    "dock": "left",
 339    // Whether to show file icons in the project panel.
 340    "file_icons": true,
 341    // Whether to show folder icons or chevrons for directories in the project panel.
 342    "folder_icons": true,
 343    // Whether to show the git status in the project panel.
 344    "git_status": true,
 345    // Amount of indentation for nested items.
 346    "indent_size": 20,
 347    // Whether to reveal it in the project panel automatically,
 348    // when a corresponding project entry becomes active.
 349    // Gitignored entries are never auto revealed.
 350    "auto_reveal_entries": true,
 351    // Whether to fold directories automatically and show compact folders
 352    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
 353    "auto_fold_dirs": true,
 354    /// Scrollbar-related settings
 355    "scrollbar": {
 356      /// When to show the scrollbar in the project panel.
 357      ///
 358      /// Default: always
 359      "show": "always"
 360    }
 361  },
 362  "outline_panel": {
 363    // Whether to show the outline panel button in the status bar
 364    "button": true,
 365    // Default width of the outline panel.
 366    "default_width": 300,
 367    // Where to dock the outline panel. Can be 'left' or 'right'.
 368    "dock": "left",
 369    // Whether to show file icons in the outline panel.
 370    "file_icons": true,
 371    // Whether to show folder icons or chevrons for directories in the outline panel.
 372    "folder_icons": true,
 373    // Whether to show the git status in the outline panel.
 374    "git_status": true,
 375    // Amount of indentation for nested items.
 376    "indent_size": 20,
 377    // Whether to reveal it in the outline panel automatically,
 378    // when a corresponding outline entry becomes active.
 379    // Gitignored entries are never auto revealed.
 380    "auto_reveal_entries": true,
 381    /// Whether to fold directories automatically
 382    /// when a directory has only one directory inside.
 383    "auto_fold_dirs": true
 384  },
 385  "collaboration_panel": {
 386    // Whether to show the collaboration panel button in the status bar.
 387    "button": true,
 388    // Where to dock the collaboration panel. Can be 'left' or 'right'.
 389    "dock": "left",
 390    // Default width of the collaboration panel.
 391    "default_width": 240
 392  },
 393  "chat_panel": {
 394    // Whether to show the chat panel button in the status bar.
 395    "button": true,
 396    // Where to the chat panel. Can be 'left' or 'right'.
 397    "dock": "right",
 398    // Default width of the chat panel.
 399    "default_width": 240
 400  },
 401  "message_editor": {
 402    // Whether to automatically replace emoji shortcodes with emoji characters.
 403    // For example: typing `:wave:` gets replaced with `👋`.
 404    "auto_replace_emoji_shortcode": true
 405  },
 406  "notification_panel": {
 407    // Whether to show the notification panel button in the status bar.
 408    "button": true,
 409    // Where to dock the notification panel. Can be 'left' or 'right'.
 410    "dock": "right",
 411    // Default width of the notification panel.
 412    "default_width": 380
 413  },
 414  "assistant": {
 415    // Version of this setting.
 416    "version": "2",
 417    // Whether the assistant is enabled.
 418    "enabled": true,
 419    // Whether to show the assistant panel button in the status bar.
 420    "button": true,
 421    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
 422    "dock": "right",
 423    // Default width when the assistant is docked to the left or right.
 424    "default_width": 640,
 425    // Default height when the assistant is docked to the bottom.
 426    "default_height": 320,
 427    // The default model to use when creating new contexts.
 428    "default_model": {
 429      // The provider to use.
 430      "provider": "zed.dev",
 431      // The model to use.
 432      "model": "claude-3-5-sonnet"
 433    }
 434  },
 435  // The settings for slash commands.
 436  "slash_commands": {
 437    // Settings for the `/docs` slash command.
 438    "docs": {
 439      // Whether `/docs` is enabled.
 440      "enabled": false
 441    },
 442    // Settings for the `/project` slash command.
 443    "project": {
 444      // Whether `/project` is enabled.
 445      "enabled": false
 446    }
 447  },
 448  // Whether the screen sharing icon is shown in the os status bar.
 449  "show_call_status_icon": true,
 450  // Whether to use language servers to provide code intelligence.
 451  "enable_language_server": true,
 452  // Whether to perform linked edits of associated ranges, if the language server supports it.
 453  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
 454  "linked_edits": true,
 455  // The list of language servers to use (or disable) for all languages.
 456  //
 457  // This is typically customized on a per-language basis.
 458  "language_servers": ["..."],
 459  // When to automatically save edited buffers. This setting can
 460  // take four values.
 461  //
 462  // 1. Never automatically save:
 463  //     "autosave": "off",
 464  // 2. Save when changing focus away from the Zed window:
 465  //     "autosave": "on_window_change",
 466  // 3. Save when changing focus away from a specific buffer:
 467  //     "autosave": "on_focus_change",
 468  // 4. Save when idle for a certain amount of time:
 469  //     "autosave": { "after_delay": {"milliseconds": 500} },
 470  "autosave": "off",
 471  // Settings related to the editor's tab bar.
 472  "tab_bar": {
 473    // Whether or not to show the tab bar in the editor
 474    "show": true,
 475    // Whether or not to show the navigation history buttons.
 476    "show_nav_history_buttons": true
 477  },
 478  // Settings related to the editor's tabs
 479  "tabs": {
 480    // Show git status colors in the editor tabs.
 481    "git_status": false,
 482    // Position of the close button on the editor tabs.
 483    "close_position": "right",
 484    // Whether to show the file icon for a tab.
 485    "file_icons": false
 486  },
 487  // Settings related to preview tabs.
 488  "preview_tabs": {
 489    // Whether preview tabs should be enabled.
 490    // Preview tabs allow you to open files in preview mode, where they close automatically
 491    // when you switch to another file unless you explicitly pin them.
 492    // This is useful for quickly viewing files without cluttering your workspace.
 493    "enabled": true,
 494    // Whether to open tabs in preview mode when selected from the file finder.
 495    "enable_preview_from_file_finder": false,
 496    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
 497    "enable_preview_from_code_navigation": false
 498  },
 499  // Whether or not to remove any trailing whitespace from lines of a buffer
 500  // before saving it.
 501  "remove_trailing_whitespace_on_save": true,
 502  // Whether to start a new line with a comment when a previous line is a comment as well.
 503  "extend_comment_on_newline": true,
 504  // Whether or not to ensure there's a single newline at the end of a buffer
 505  // when saving it.
 506  "ensure_final_newline_on_save": true,
 507  // Whether or not to perform a buffer format before saving
 508  //
 509  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
 510  "format_on_save": "on",
 511  // How to perform a buffer format. This setting can take 4 values:
 512  //
 513  // 1. Format code using the current language server:
 514  //     "formatter": "language_server"
 515  // 2. Format code using an external command:
 516  //     "formatter": {
 517  //       "external": {
 518  //         "command": "prettier",
 519  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
 520  //       }
 521  //     }
 522  // 3. Format code using Zed's Prettier integration:
 523  //     "formatter": "prettier"
 524  // 4. Default. Format files using Zed's Prettier integration (if applicable),
 525  //    or falling back to formatting via language server:
 526  //     "formatter": "auto"
 527  "formatter": "auto",
 528  // How to soft-wrap long lines of text.
 529  // Possible values:
 530  //
 531  // 1. Do not soft wrap.
 532  //      "soft_wrap": "none",
 533  // 2. Prefer a single line generally, unless an overly long line is encountered.
 534  //      "soft_wrap": "prefer_line",
 535  // 3. Soft wrap lines that overflow the editor.
 536  //      "soft_wrap": "editor_width",
 537  // 4. Soft wrap lines at the preferred line length.
 538  //      "soft_wrap": "preferred_line_length",
 539  // 5. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
 540  //      "soft_wrap": "bounded",
 541  "soft_wrap": "prefer_line",
 542  // The column at which to soft-wrap lines, for buffers where soft-wrap
 543  // is enabled.
 544  "preferred_line_length": 80,
 545  // Whether to indent lines using tab characters, as opposed to multiple
 546  // spaces.
 547  "hard_tabs": false,
 548  // How many columns a tab should occupy.
 549  "tab_size": 4,
 550  // Control what info is collected by Zed.
 551  "telemetry": {
 552    // Send debug info like crash reports.
 553    "diagnostics": true,
 554    // Send anonymized usage data like what languages you're using Zed with.
 555    "metrics": true
 556  },
 557  // Automatically update Zed. This setting may be ignored on Linux if
 558  // installed through a package manager.
 559  "auto_update": true,
 560  // Diagnostics configuration.
 561  "diagnostics": {
 562    // Whether to show warnings or not by default.
 563    "include_warnings": true
 564  },
 565  // Add files or globs of files that will be excluded by Zed entirely:
 566  // they will be skipped during FS scan(s), file tree and file search
 567  // will lack the corresponding file entries.
 568  "file_scan_exclusions": [
 569    "**/.git",
 570    "**/.svn",
 571    "**/.hg",
 572    "**/CVS",
 573    "**/.DS_Store",
 574    "**/Thumbs.db",
 575    "**/.classpath",
 576    "**/.settings"
 577  ],
 578  // Git gutter behavior configuration.
 579  "git": {
 580    // Control whether the git gutter is shown. May take 2 values:
 581    // 1. Show the gutter
 582    //      "git_gutter": "tracked_files"
 583    // 2. Hide the gutter
 584    //      "git_gutter": "hide"
 585    "git_gutter": "tracked_files",
 586    // Control whether the git blame information is shown inline,
 587    // in the currently focused line.
 588    "inline_blame": {
 589      "enabled": true
 590      // Sets a delay after which the inline blame information is shown.
 591      // Delay is restarted with every cursor movement.
 592      // "delay_ms": 600
 593    }
 594  },
 595  // Configuration for how direnv configuration should be loaded. May take 2 values:
 596  // 1. Load direnv configuration through the shell hook, works for POSIX shells and fish.
 597  //      "load_direnv": "shell_hook"
 598  // 2. Load direnv configuration using `direnv export json` directly.
 599  //    This can help with some shells that otherwise would not detect
 600  //    the direnv environment, such as nushell or elvish.
 601  //      "load_direnv": "direct"
 602  "load_direnv": "shell_hook",
 603  "inline_completions": {
 604    // A list of globs representing files that inline completions should be disabled for.
 605    "disabled_globs": [".env"]
 606  },
 607  // Settings specific to journaling
 608  "journal": {
 609    // The path of the directory where journal entries are stored
 610    "path": "~",
 611    // What format to display the hours in
 612    // May take 2 values:
 613    // 1. hour12
 614    // 2. hour24
 615    "hour_format": "hour12"
 616  },
 617  // Settings specific to the terminal
 618  "terminal": {
 619    // What shell to use when opening a terminal. May take 3 values:
 620    // 1. Use the system's default terminal configuration in /etc/passwd
 621    //      "shell": "system"
 622    // 2. A program:
 623    //      "shell": {
 624    //        "program": "sh"
 625    //      }
 626    // 3. A program with arguments:
 627    //     "shell": {
 628    //         "with_arguments": {
 629    //           "program": "/bin/bash",
 630    //           "args": ["--login"]
 631    //         }
 632    //     }
 633    "shell": "system",
 634    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
 635    "dock": "bottom",
 636    // Default width when the terminal is docked to the left or right.
 637    "default_width": 640,
 638    // Default height when the terminal is docked to the bottom.
 639    "default_height": 320,
 640    // What working directory to use when launching the terminal.
 641    // May take 4 values:
 642    // 1. Use the current file's project directory.  Will Fallback to the
 643    //    first project directory strategy if unsuccessful
 644    //      "working_directory": "current_project_directory"
 645    // 2. Use the first project in this workspace's directory
 646    //      "working_directory": "first_project_directory"
 647    // 3. Always use this platform's home directory (if we can find it)
 648    //     "working_directory": "always_home"
 649    // 4. Always use a specific directory. This value will be shell expanded.
 650    //    If this path is not a valid directory the terminal will default to
 651    //    this platform's home directory  (if we can find it)
 652    //      "working_directory": {
 653    //        "always": {
 654    //          "directory": "~/zed/projects/"
 655    //        }
 656    //      }
 657    "working_directory": "current_project_directory",
 658    // Set the cursor blinking behavior in the terminal.
 659    // May take 3 values:
 660    //  1. Never blink the cursor, ignoring the terminal mode
 661    //         "blinking": "off",
 662    //  2. Default the cursor blink to off, but allow the terminal to
 663    //     set blinking
 664    //         "blinking": "terminal_controlled",
 665    //  3. Always blink the cursor, ignoring the terminal mode
 666    //         "blinking": "on",
 667    "blinking": "terminal_controlled",
 668    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
 669    // Alternate Scroll mode converts mouse scroll events into up / down key
 670    // presses when in the alternate screen (e.g. when running applications
 671    // like vim or  less). The terminal can still set and unset this mode.
 672    // May take 2 values:
 673    //  1. Default alternate scroll mode to on
 674    //         "alternate_scroll": "on",
 675    //  2. Default alternate scroll mode to off
 676    //         "alternate_scroll": "off",
 677    "alternate_scroll": "off",
 678    // Set whether the option key behaves as the meta key.
 679    // May take 2 values:
 680    //  1. Rely on default platform handling of option key, on macOS
 681    //     this means generating certain unicode characters
 682    //         "option_to_meta": false,
 683    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
 684    //         "option_to_meta": true,
 685    "option_as_meta": true,
 686    // Whether or not selecting text in the terminal will automatically
 687    // copy to the system clipboard.
 688    "copy_on_select": false,
 689    // Whether to show the terminal button in the status bar
 690    "button": true,
 691    // Any key-value pairs added to this list will be added to the terminal's
 692    // environment. Use `:` to separate multiple values.
 693    "env": {
 694      // "KEY": "value1:value2"
 695    },
 696    // Set the terminal's line height.
 697    // May take 3 values:
 698    //  1. Use a line height that's comfortable for reading, 1.618
 699    //         "line_height": "comfortable"
 700    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
 701    //      particularly if they use box characters
 702    //         "line_height": "standard",
 703    //  3. Use a custom line height.
 704    //         "line_height": {
 705    //           "custom": 2
 706    //         },
 707    "line_height": "comfortable",
 708    // Activate the python virtual environment, if one is found, in the
 709    // terminal's working directory (as resolved by the working_directory
 710    // setting). Set this to "off" to disable this behavior.
 711    "detect_venv": {
 712      "on": {
 713        // Default directories to search for virtual environments, relative
 714        // to the current working directory. We recommend overriding this
 715        // in your project's settings, rather than globally.
 716        "directories": [".env", "env", ".venv", "venv"],
 717        // Can also be `csh`, `fish`, `nushell` and `power_shell`
 718        "activate_script": "default"
 719      }
 720    },
 721    "toolbar": {
 722      // Whether to display the terminal title in its toolbar.
 723      "title": true
 724    }
 725    // Set the terminal's font size. If this option is not included,
 726    // the terminal will default to matching the buffer's font size.
 727    // "font_size": 15,
 728    // Set the terminal's font family. If this option is not included,
 729    // the terminal will default to matching the buffer's font family.
 730    // "font_family": "Zed Plex Mono",
 731    // Set the terminal's font fallbacks. If this option is not included,
 732    // the terminal will default to matching the buffer's font fallbacks.
 733    // This will be merged with the platform's default font fallbacks
 734    // "font_fallbacks": ["FiraCode Nerd Fonts"],
 735    // Sets the maximum number of lines in the terminal's scrollback buffer.
 736    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
 737    // Existing terminals will not pick up this change until they are recreated.
 738    // "max_scroll_history_lines": 10000,
 739  },
 740  "code_actions_on_format": {},
 741  /// Settings related to running tasks.
 742  "tasks": {
 743    "variables": {}
 744  },
 745  // An object whose keys are language names, and whose values
 746  // are arrays of filenames or extensions of files that should
 747  // use those languages.
 748  //
 749  // For example, to treat files like `foo.notjs` as JavaScript,
 750  // and `Embargo.lock` as TOML:
 751  //
 752  // {
 753  //   "JavaScript": ["notjs"],
 754  //   "TOML": ["Embargo.lock"]
 755  // }
 756  //
 757  "file_types": {
 758    "JSON": ["flake.lock"],
 759    "JSONC": [
 760      "**/.zed/**/*.json",
 761      "**/zed/**/*.json",
 762      "**/Zed/**/*.json",
 763      "tsconfig.json",
 764      "pyrightconfig.json"
 765    ]
 766  },
 767  // The extensions that Zed should automatically install on startup.
 768  //
 769  // If you don't want any of these extensions, add this field to your settings
 770  // and change the value to `false`.
 771  "auto_install_extensions": {
 772    "html": true
 773  },
 774  // Different settings for specific languages.
 775  "languages": {
 776    "Astro": {
 777      "prettier": {
 778        "allowed": true,
 779        "plugins": ["prettier-plugin-astro"]
 780      }
 781    },
 782    "Blade": {
 783      "prettier": {
 784        "allowed": true
 785      }
 786    },
 787    "C": {
 788      "format_on_save": "off",
 789      "use_on_type_format": false
 790    },
 791    "C++": {
 792      "format_on_save": "off",
 793      "use_on_type_format": false
 794    },
 795    "CSS": {
 796      "prettier": {
 797        "allowed": true
 798      }
 799    },
 800    "Elixir": {
 801      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
 802    },
 803    "Erlang": {
 804      "language_servers": ["erlang-ls", "!elp", "..."]
 805    },
 806    "Go": {
 807      "code_actions_on_format": {
 808        "source.organizeImports": true
 809      }
 810    },
 811    "GraphQL": {
 812      "prettier": {
 813        "allowed": true
 814      }
 815    },
 816    "HEEX": {
 817      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
 818    },
 819    "HTML": {
 820      "prettier": {
 821        "allowed": true
 822      }
 823    },
 824    "Java": {
 825      "prettier": {
 826        "allowed": true,
 827        "plugins": ["prettier-plugin-java"]
 828      }
 829    },
 830    "JavaScript": {
 831      "language_servers": ["!typescript-language-server", "vtsls", "..."],
 832      "prettier": {
 833        "allowed": true
 834      }
 835    },
 836    "JSON": {
 837      "prettier": {
 838        "allowed": true
 839      }
 840    },
 841    "JSONC": {
 842      "prettier": {
 843        "allowed": true
 844      }
 845    },
 846    "Markdown": {
 847      "format_on_save": "off",
 848      "use_on_type_format": false,
 849      "prettier": {
 850        "allowed": true
 851      }
 852    },
 853    "PHP": {
 854      "language_servers": ["phpactor", "!intelephense", "..."],
 855      "prettier": {
 856        "allowed": true,
 857        "plugins": ["@prettier/plugin-php"],
 858        "parser": "php"
 859      }
 860    },
 861    "Ruby": {
 862      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
 863    },
 864    "SCSS": {
 865      "prettier": {
 866        "allowed": true
 867      }
 868    },
 869    "SQL": {
 870      "prettier": {
 871        "allowed": true,
 872        "plugins": ["prettier-plugin-sql"]
 873      }
 874    },
 875    "Starlark": {
 876      "language_servers": ["starpls", "!buck2-lsp", "..."]
 877    },
 878    "Svelte": {
 879      "language_servers": ["svelte-language-server", "..."],
 880      "prettier": {
 881        "allowed": true,
 882        "plugins": ["prettier-plugin-svelte"]
 883      }
 884    },
 885    "TSX": {
 886      "language_servers": ["!typescript-language-server", "vtsls", "..."],
 887      "prettier": {
 888        "allowed": true
 889      }
 890    },
 891    "Twig": {
 892      "prettier": {
 893        "allowed": true
 894      }
 895    },
 896    "TypeScript": {
 897      "language_servers": ["!typescript-language-server", "vtsls", "..."],
 898      "prettier": {
 899        "allowed": true
 900      }
 901    },
 902    "Vue.js": {
 903      "language_servers": ["vue-language-server", "..."],
 904      "prettier": {
 905        "allowed": true
 906      }
 907    },
 908    "XML": {
 909      "prettier": {
 910        "allowed": true,
 911        "plugins": ["@prettier/plugin-xml"]
 912      }
 913    },
 914    "YAML": {
 915      "prettier": {
 916        "allowed": true
 917      }
 918    }
 919  },
 920  // Different settings for specific language models.
 921  "language_models": {
 922    "anthropic": {
 923      "version": "1",
 924      "api_url": "https://api.anthropic.com"
 925    },
 926    "google": {
 927      "api_url": "https://generativelanguage.googleapis.com"
 928    },
 929    "ollama": {
 930      "api_url": "http://localhost:11434",
 931      "low_speed_timeout_in_seconds": 60
 932    },
 933    "openai": {
 934      "version": "1",
 935      "api_url": "https://api.openai.com/v1",
 936      "low_speed_timeout_in_seconds": 600
 937    }
 938  },
 939  // Zed's Prettier integration settings.
 940  // Allows to enable/disable formatting with Prettier
 941  // and configure default Prettier, used when no project-level Prettier installation is found.
 942  "prettier": {
 943    // // Whether to consider prettier formatter or not when attempting to format a file.
 944    // "allowed": false,
 945    //
 946    // // Use regular Prettier json configuration.
 947    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
 948    // // the project has no other Prettier installed.
 949    // "plugins": [],
 950    //
 951    // // Use regular Prettier json configuration.
 952    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
 953    // // the project has no other Prettier installed.
 954    // "trailingComma": "es5",
 955    // "tabWidth": 4,
 956    // "semi": false,
 957    // "singleQuote": true
 958  },
 959  // LSP Specific settings.
 960  "lsp": {
 961    // Specify the LSP name as a key here.
 962    // "rust-analyzer": {
 963    //     // These initialization options are merged into Zed's defaults
 964    //     "initialization_options": {
 965    //         "check": {
 966    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
 967    //         }
 968    //     }
 969    // }
 970  },
 971  // Jupyter settings
 972  "jupyter": {
 973    "enabled": true
 974    // Specify the language name as the key and the kernel name as the value.
 975    // "kernel_selections": {
 976    //    "python": "conda-base"
 977    //    "typescript": "deno"
 978    // }
 979  },
 980  // Vim settings
 981  "vim": {
 982    "toggle_relative_line_numbers": false,
 983    "use_system_clipboard": "always",
 984    "use_multiline_find": false,
 985    "use_smartcase_find": false,
 986    "custom_digraphs": {}
 987  },
 988  // The server to connect to. If the environment variable
 989  // ZED_SERVER_URL is set, it will override this setting.
 990  "server_url": "https://zed.dev",
 991  // Settings overrides to use when using Zed Preview.
 992  // Mostly useful for developers who are managing multiple instances of Zed.
 993  "preview": {
 994    // "theme": "Andromeda"
 995  },
 996  // Settings overrides to use when using Zed Nightly.
 997  // Mostly useful for developers who are managing multiple instances of Zed.
 998  "nightly": {
 999    // "theme": "Andromeda"
1000  },
1001  // Settings overrides to use when using Zed Stable.
1002  // Mostly useful for developers who are managing multiple instances of Zed.
1003  "stable": {
1004    // "theme": "Andromeda"
1005  },
1006  // Settings overrides to use when using Zed Dev.
1007  // Mostly useful for developers who are managing multiple instances of Zed.
1008  "dev": {
1009    // "theme": "Andromeda"
1010  },
1011  // Task-related settings.
1012  "task": {
1013    // Whether to show task status indicator in the status bar. Default: true
1014    "show_status_indicator": true
1015  },
1016  // Whether to show full labels in line indicator or short ones
1017  //
1018  // Values:
1019  //   - `short`: "2 s, 15 l, 32 c"
1020  //   - `long`: "2 selections, 15 lines, 32 characters"
1021  // Default: long
1022  "line_indicator_format": "long",
1023  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1024  //
1025  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1026  // `socks5h`. `http` will be used when no scheme is specified.
1027  //
1028  // By default no proxy will be used, or Zed will try get proxy settings from
1029  // environment variables.
1030  //
1031  // Examples:
1032  //   - "proxy": "socks5://localhost:10808"
1033  //   - "proxy": "http://127.0.0.1:10809"
1034  "proxy": null,
1035  // Set to configure aliases for the command palette.
1036  // When typing a query which is a key of this object, the value will be used instead.
1037  //
1038  // Examples:
1039  // {
1040  //   "W": "workspace::Save"
1041  // }
1042  "command_aliases": {},
1043  // ssh_connections is an array of ssh connections.
1044  // By default this setting is null, which disables the direct ssh connection support.
1045  // You can configure these from `project: Open Remote` in the command palette.
1046  // Zed's ssh support will pull configuration from your ~/.ssh too.
1047  // Examples:
1048  // [
1049  //   {
1050  //     "host": "example-box",
1051  //     "projects": [
1052  //       {
1053  //         "paths": ["/home/user/code/zed"]
1054  //       }
1055  //     ]
1056  //   }
1057  // ]
1058  "ssh_connections": null,
1059  // Configures the Context Server Protocol binaries
1060  //
1061  // Examples:
1062  // {
1063  //   "id": "server-1",
1064  //   "executable": "/path",
1065  //   "args": ['arg1", "args2"]
1066  // }
1067  "experimental.context_servers": {
1068    "servers": []
1069  }
1070}