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  "icon_theme": "Zed (Default)",
  14  // The name of a base set of key bindings to use.
  15  // This setting can take six values, each named after another
  16  // text editor:
  17  //
  18  // 1. "VSCode"
  19  // 2. "Atom"
  20  // 3. "JetBrains"
  21  // 4. "None"
  22  // 5. "SublimeText"
  23  // 6. "TextMate"
  24  "base_keymap": "VSCode",
  25  // Features that can be globally enabled or disabled
  26  "features": {
  27    // Which edit prediction provider to use.
  28    "edit_prediction_provider": "zed"
  29  },
  30  // The name of a font to use for rendering text in the editor
  31  "buffer_font_family": "Zed Plex Mono",
  32  // Set the buffer text's font fallbacks, this will be merged with
  33  // the platform's default fallbacks.
  34  "buffer_font_fallbacks": null,
  35  // The OpenType features to enable for text in the editor.
  36  "buffer_font_features": {
  37    // Disable ligatures:
  38    // "calt": false
  39  },
  40  // The default font size for text in the editor
  41  "buffer_font_size": 15,
  42  // The weight of the editor font in standard CSS units from 100 to 900.
  43  "buffer_font_weight": 400,
  44  // Set the buffer's line height.
  45  // May take 3 values:
  46  //  1. Use a line height that's comfortable for reading (1.618)
  47  //         "buffer_line_height": "comfortable"
  48  //  2. Use a standard line height, (1.3)
  49  //         "buffer_line_height": "standard",
  50  //  3. Use a custom line height
  51  //         "buffer_line_height": {
  52  //           "custom": 2
  53  //         },
  54  "buffer_line_height": "comfortable",
  55  // The name of a font to use for rendering text in the UI
  56  // You can set this to ".SystemUIFont" to use the system font
  57  "ui_font_family": "Zed Plex Sans",
  58  // Set the UI's font fallbacks, this will be merged with the platform's
  59  // default font fallbacks.
  60  "ui_font_fallbacks": null,
  61  // The OpenType features to enable for text in the UI
  62  "ui_font_features": {
  63    // Disable ligatures:
  64    "calt": false
  65  },
  66  // The weight of the UI font in standard CSS units from 100 to 900.
  67  "ui_font_weight": 400,
  68  // The default font size for text in the UI
  69  "ui_font_size": 16,
  70  // How much to fade out unused code.
  71  "unnecessary_code_fade": 0.3,
  72  // Active pane styling settings.
  73  "active_pane_modifiers": {
  74    // The factor to grow the active pane by. Defaults to 1.0
  75    // which gives the same size as all other panes.
  76    "magnification": 1.0,
  77    // Inset border size of the active pane, in pixels.
  78    "border_size": 0.0,
  79    // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
  80    // Values are clamped to the [0.0, 1.0] range.
  81    "inactive_opacity": 1.0
  82  },
  83  // Layout mode of the bottom dock. Defaults to "contained"
  84  "bottom_dock_layout": "contained",
  85  // The direction that you want to split panes horizontally. Defaults to "up"
  86  "pane_split_direction_horizontal": "up",
  87  // The direction that you want to split panes horizontally. Defaults to "left"
  88  "pane_split_direction_vertical": "left",
  89  // Centered layout related settings.
  90  "centered_layout": {
  91    // The relative width of the left padding of the central pane from the
  92    // workspace when the centered layout is used.
  93    "left_padding": 0.2,
  94    // The relative width of the right padding of the central pane from the
  95    // workspace when the centered layout is used.
  96    "right_padding": 0.2
  97  },
  98  // All settings related to the image viewer.
  99  "image_viewer": {
 100    // The unit for image file sizes.
 101    // By default we're setting it to binary.
 102    // The second option is decimal.
 103    "unit": "binary"
 104  },
 105  // The key to use for adding multiple cursors
 106  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 107  // "cmd" and "ctrl") are supported.
 108  "multi_cursor_modifier": "alt",
 109  // Whether to enable vim modes and key bindings.
 110  "vim_mode": false,
 111  // Whether to show the informational hover box when moving the mouse
 112  // over symbols in the editor.
 113  "hover_popover_enabled": true,
 114  // Time to wait before showing the informational hover box
 115  "hover_popover_delay": 350,
 116  // Whether to confirm before quitting Zed.
 117  "confirm_quit": false,
 118  // Whether to restore last closed project when fresh Zed instance is opened.
 119  "restore_on_startup": "last_session",
 120  // Whether to attempt to restore previous file's state when opening it again.
 121  // The state is stored per pane.
 122  // When disabled, defaults are applied instead of the state restoration.
 123  //
 124  // E.g. for editors, selections, folds and scroll positions are restored, if the same file is closed and, later, opened again in the same pane.
 125  // When disabled, a single selection in the very beginning of the file, zero scroll position and no folds state is used as a default.
 126  //
 127  // Default: true
 128  "restore_on_file_reopen": true,
 129  // Size of the drop target in the editor.
 130  "drop_target_size": 0.2,
 131  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 132  // May take 3 values:
 133  //  1. Use the current platform's convention
 134  //         "when_closing_with_no_tabs": "platform_default"
 135  //  2. Always close the window:
 136  //         "when_closing_with_no_tabs": "close_window",
 137  //  3. Never close the window
 138  //         "when_closing_with_no_tabs": "keep_window_open",
 139  "when_closing_with_no_tabs": "platform_default",
 140  // What to do when the last window is closed.
 141  // May take 2 values:
 142  //  1. Use the current platform's convention
 143  //         "on_last_window_closed": "platform_default"
 144  //  2. Always quit the application
 145  //         "on_last_window_closed": "quit_app",
 146  "on_last_window_closed": "platform_default",
 147  // Whether to use the system provided dialogs for Open and Save As.
 148  // When set to false, Zed will use the built-in keyboard-first pickers.
 149  "use_system_path_prompts": true,
 150  // Whether to use the system provided dialogs for prompts, such as confirmation
 151  // prompts.
 152  // When set to false, Zed will use its built-in prompts. Note that on Linux,
 153  // this option is ignored and Zed will always use the built-in prompts.
 154  "use_system_prompts": true,
 155  // Whether the cursor blinks in the editor.
 156  "cursor_blink": true,
 157  // Cursor shape for the default editor.
 158  //  1. A vertical bar
 159  //     "bar"
 160  //  2. A block that surrounds the following character
 161  //     "block"
 162  //  3. An underline / underscore that runs along the following character
 163  //     "underline"
 164  //  4. A box drawn around the following character
 165  //     "hollow"
 166  //
 167  // Default: not set, defaults to "bar"
 168  "cursor_shape": null,
 169  // Determines when the mouse cursor should be hidden in an editor or input box.
 170  "hide_mouse": "on_typing_and_movement",
 171  // How to highlight the current line in the editor.
 172  //
 173  // 1. Don't highlight the current line:
 174  //    "none"
 175  // 2. Highlight the gutter area:
 176  //    "gutter"
 177  // 3. Highlight the editor area:
 178  //    "line"
 179  // 4. Highlight the full line (default):
 180  //    "all"
 181  "current_line_highlight": "all",
 182  // Whether to highlight all occurrences of the selected text in an editor.
 183  "selection_highlight": true,
 184  // The debounce delay before querying highlights based on the selected text.
 185  "selection_highlight_debounce": 50,
 186  // The debounce delay before querying highlights from the language
 187  // server based on the current cursor location.
 188  "lsp_highlight_debounce": 75,
 189  // Whether to pop the completions menu while typing in an editor without
 190  // explicitly requesting it.
 191  "show_completions_on_input": true,
 192  // Whether to display inline and alongside documentation for items in the
 193  // completions menu
 194  "show_completion_documentation": true,
 195  // Show method signatures in the editor, when inside parentheses.
 196  "auto_signature_help": false,
 197  // Whether to show the signature help after completion or a bracket pair inserted.
 198  // If `auto_signature_help` is enabled, this setting will be treated as enabled also.
 199  "show_signature_help_after_edits": false,
 200  // What to do when go to definition yields no results.
 201  //
 202  // 1. Do nothing: `none`
 203  // 2. Find references for the same symbol: `find_all_references` (default)
 204  "go_to_definition_fallback": "find_all_references",
 205  // Whether to show wrap guides (vertical rulers) in the editor.
 206  // Setting this to true will show a guide at the 'preferred_line_length' value
 207  // if 'soft_wrap' is set to 'preferred_line_length', and will show any
 208  // additional guides as specified by the 'wrap_guides' setting.
 209  "show_wrap_guides": true,
 210  // Character counts at which to show wrap guides in the editor.
 211  "wrap_guides": [],
 212  // Hide the values of in variables from visual display in private files
 213  "redact_private_values": false,
 214  // The default number of lines to expand excerpts in the multibuffer by.
 215  "expand_excerpt_lines": 3,
 216  // Globs to match against file paths to determine if a file is private.
 217  "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
 218  // Whether to use additional LSP queries to format (and amend) the code after
 219  // every "trigger" symbol input, defined by LSP server capabilities.
 220  "use_on_type_format": true,
 221  // Whether to automatically add matching closing characters when typing
 222  // opening parenthesis, bracket, brace, single or double quote characters.
 223  // For example, when you type (, Zed will add a closing ) at the correct position.
 224  "use_autoclose": true,
 225  // Whether to automatically surround selected text when typing opening parenthesis,
 226  // bracket, brace, single or double quote characters.
 227  // For example, when you select text and type (, Zed will surround the text with ().
 228  "use_auto_surround": true,
 229  // Whether indentation of pasted content should be adjusted based on the context.
 230  "auto_indent_on_paste": true,
 231  // Controls how the editor handles the autoclosed characters.
 232  // When set to `false`(default), skipping over and auto-removing of the closing characters
 233  // happen only for auto-inserted characters.
 234  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
 235  // no matter how they were inserted.
 236  "always_treat_brackets_as_autoclosed": false,
 237  // Controls where the `editor::Rewrap` action is allowed in the current language scope.
 238  //
 239  // This setting can take three values:
 240  //
 241  // 1. Only allow rewrapping in comments:
 242  //    "in_comments"
 243  // 2. Only allow rewrapping in the current selection(s):
 244  //    "in_selections"
 245  // 3. Allow rewrapping anywhere:
 246  //    "anywhere"
 247  //
 248  // When using values other than `in_comments`, it is possible for the rewrapping to produce code
 249  // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
 250  // to use.
 251  //
 252  // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
 253  "allow_rewrap": "in_comments",
 254  // Controls whether edit predictions are shown immediately (true)
 255  // or manually by triggering `editor::ShowEditPrediction` (false).
 256  "show_edit_predictions": true,
 257  // Controls whether edit predictions are shown in a given language scope.
 258  // Example: ["string", "comment"]
 259  "edit_predictions_disabled_in": [],
 260  // Whether to show tabs and spaces in the editor.
 261  // This setting can take four values:
 262  //
 263  // 1. Draw tabs and spaces only for the selected text (default):
 264  //    "selection"
 265  // 2. Do not draw any tabs or spaces:
 266  //    "none"
 267  // 3. Draw all invisible symbols:
 268  //    "all"
 269  // 4. Draw whitespaces at boundaries only:
 270  //    "boundary"
 271  // For a whitespace to be on a boundary, any of the following conditions need to be met:
 272  // - It is a tab
 273  // - It is adjacent to an edge (start or end)
 274  // - It is adjacent to a whitespace (left or right)
 275  "show_whitespaces": "selection",
 276  // Settings related to calls in Zed
 277  "calls": {
 278    // Join calls with the microphone live by default
 279    "mute_on_join": false,
 280    // Share your project when you are the first to join a channel
 281    "share_on_join": false
 282  },
 283  // Toolbar related settings
 284  "toolbar": {
 285    // Whether to show breadcrumbs.
 286    "breadcrumbs": true,
 287    // Whether to show quick action buttons.
 288    "quick_actions": true,
 289    // Whether to show the Selections menu in the editor toolbar
 290    "selections_menu": true
 291  },
 292  // Scrollbar related settings
 293  "scrollbar": {
 294    // When to show the scrollbar in the editor.
 295    // This setting can take four values:
 296    //
 297    // 1. Show the scrollbar if there's important information or
 298    //    follow the system's configured behavior (default):
 299    //   "auto"
 300    // 2. Match the system's configured behavior:
 301    //    "system"
 302    // 3. Always show the scrollbar:
 303    //    "always"
 304    // 4. Never show the scrollbar:
 305    //    "never"
 306    "show": "auto",
 307    // Whether to show cursor positions in the scrollbar.
 308    "cursors": true,
 309    // Whether to show git diff indicators in the scrollbar.
 310    "git_diff": true,
 311    // Whether to show buffer search results in the scrollbar.
 312    "search_results": true,
 313    // Whether to show selected text occurrences in the scrollbar.
 314    "selected_text": true,
 315    // Whether to show selected symbol occurrences in the scrollbar.
 316    "selected_symbol": true,
 317    // Which diagnostic indicators to show in the scrollbar:
 318    //  - "none" or false: do not show diagnostics
 319    //  - "error": show only errors
 320    //  - "warning": show only errors and warnings
 321    //  - "information": show only errors, warnings, and information
 322    //  - "all" or true: show all diagnostics
 323    "diagnostics": "all",
 324    // Forcefully enable or disable the scrollbar for each axis
 325    "axes": {
 326      // When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
 327      "horizontal": true,
 328      // When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
 329      "vertical": true
 330    }
 331  },
 332  // Enable middle-click paste on Linux.
 333  "middle_click_paste": true,
 334  // What to do when multibuffer is double clicked in some of its excerpts
 335  // (parts of singleton buffers).
 336  // May take 2 values:
 337  //  1. Behave as a regular buffer and select the whole word (default).
 338  //         "double_click_in_multibuffer": "select"
 339  //  2. Open the excerpt clicked as a new buffer in the new tab.
 340  //         "double_click_in_multibuffer": "open",
 341  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
 342  "double_click_in_multibuffer": "select",
 343  "gutter": {
 344    // Whether to show line numbers in the gutter.
 345    "line_numbers": true,
 346    // Whether to show code action buttons in the gutter.
 347    "code_actions": true,
 348    // Whether to show runnables buttons in the gutter.
 349    "runnables": true,
 350    // Whether to show breakpoints in the gutter.
 351    "breakpoints": true,
 352    // Whether to show fold buttons in the gutter.
 353    "folds": true
 354  },
 355  "indent_guides": {
 356    // Whether to show indent guides in the editor.
 357    "enabled": true,
 358    // The width of the indent guides in pixels, between 1 and 10.
 359    "line_width": 1,
 360    // The width of the active indent guide in pixels, between 1 and 10.
 361    "active_line_width": 1,
 362    // Determines how indent guides are colored.
 363    // This setting can take the following three values:
 364    //
 365    // 1. "disabled"
 366    // 2. "fixed"
 367    // 3. "indent_aware"
 368    "coloring": "fixed",
 369    // Determines how indent guide backgrounds are colored.
 370    // This setting can take the following two values:
 371    //
 372    // 1. "disabled"
 373    // 2. "indent_aware"
 374    "background_coloring": "disabled"
 375  },
 376  // Whether the editor will scroll beyond the last line.
 377  "scroll_beyond_last_line": "one_page",
 378  // The number of lines to keep above/below the cursor when scrolling.
 379  "vertical_scroll_margin": 3,
 380  // Whether to scroll when clicking near the edge of the visible text area.
 381  "autoscroll_on_clicks": false,
 382  // The number of characters to keep on either side when scrolling with the mouse
 383  "horizontal_scroll_margin": 5,
 384  // Scroll sensitivity multiplier. This multiplier is applied
 385  // to both the horizontal and vertical delta values while scrolling.
 386  "scroll_sensitivity": 1.0,
 387  "relative_line_numbers": false,
 388  // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
 389  "search_wrap": true,
 390  // Search options to enable by default when opening new project and buffer searches.
 391  "search": {
 392    "whole_word": false,
 393    "case_sensitive": false,
 394    "include_ignored": false,
 395    "regex": false
 396  },
 397  // When to populate a new search's query based on the text under the cursor.
 398  // This setting can take the following three values:
 399  //
 400  // 1. Always populate the search query with the word under the cursor (default).
 401  //    "always"
 402  // 2. Only populate the search query when there is text selected
 403  //    "selection"
 404  // 3. Never populate the search query
 405  //    "never"
 406  "seed_search_query_from_cursor": "always",
 407  // When enabled, automatically adjusts search case sensitivity based on your query.
 408  // If your search query contains any uppercase letters, the search becomes case-sensitive;
 409  // if it contains only lowercase letters, the search becomes case-insensitive.
 410  "use_smartcase_search": false,
 411  // Inlay hint related settings
 412  "inlay_hints": {
 413    // Global switch to toggle hints on and off, switched off by default.
 414    "enabled": false,
 415    // Toggle certain types of hints on and off, all switched on by default.
 416    "show_type_hints": true,
 417    "show_parameter_hints": true,
 418    // Corresponds to null/None LSP hint type value.
 419    "show_other_hints": true,
 420    // Whether to show a background for inlay hints.
 421    //
 422    // If set to `true`, the background will use the `hint.background` color from the current theme.
 423    "show_background": false,
 424    // Time to wait after editing the buffer, before requesting the hints,
 425    // set to 0 to disable debouncing.
 426    "edit_debounce_ms": 700,
 427    // Time to wait after scrolling the buffer, before requesting the hints,
 428    // set to 0 to disable debouncing.
 429    "scroll_debounce_ms": 50,
 430    // A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
 431    // If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
 432    "toggle_on_modifiers_press": {
 433      "control": false,
 434      "shift": false,
 435      "alt": false,
 436      "platform": false,
 437      "function": false
 438    }
 439  },
 440  "project_panel": {
 441    // Whether to show the project panel button in the status bar
 442    "button": true,
 443    // Whether to hide the gitignore entries in the project panel.
 444    "hide_gitignore": false,
 445    // Default width of the project panel.
 446    "default_width": 240,
 447    // Where to dock the project panel. Can be 'left' or 'right'.
 448    "dock": "left",
 449    // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
 450    "entry_spacing": "comfortable",
 451    // Whether to show file icons in the project panel.
 452    "file_icons": true,
 453    // Whether to show folder icons or chevrons for directories in the project panel.
 454    "folder_icons": true,
 455    // Whether to show the git status in the project panel.
 456    "git_status": true,
 457    // Amount of indentation for nested items.
 458    "indent_size": 20,
 459    // Whether to reveal it in the project panel automatically,
 460    // when a corresponding project entry becomes active.
 461    // Gitignored entries are never auto revealed.
 462    "auto_reveal_entries": true,
 463    // Whether to fold directories automatically and show compact folders
 464    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
 465    "auto_fold_dirs": true,
 466    // Scrollbar-related settings
 467    "scrollbar": {
 468      // When to show the scrollbar in the project panel.
 469      // This setting can take five values:
 470      //
 471      // 1. null (default): Inherit editor settings
 472      // 2. Show the scrollbar if there's important information or
 473      //    follow the system's configured behavior (default):
 474      //   "auto"
 475      // 3. Match the system's configured behavior:
 476      //    "system"
 477      // 4. Always show the scrollbar:
 478      //    "always"
 479      // 5. Never show the scrollbar:
 480      //    "never"
 481      "show": null
 482    },
 483    // Which files containing diagnostic errors/warnings to mark in the project panel.
 484    // This setting can take the following three values:
 485    //
 486    // 1. Do not mark any files:
 487    //    "off"
 488    // 2. Only mark files with errors:
 489    //    "errors"
 490    // 3. Mark files with errors and warnings:
 491    //    "all"
 492    "show_diagnostics": "all",
 493    // Settings related to indent guides in the project panel.
 494    "indent_guides": {
 495      // When to show indent guides in the project panel.
 496      // This setting can take two values:
 497      //
 498      // 1. Always show indent guides:
 499      //    "always"
 500      // 2. Never show indent guides:
 501      //    "never"
 502      "show": "always"
 503    }
 504  },
 505  "outline_panel": {
 506    // Whether to show the outline panel button in the status bar
 507    "button": true,
 508    // Default width of the outline panel.
 509    "default_width": 300,
 510    // Where to dock the outline panel. Can be 'left' or 'right'.
 511    "dock": "left",
 512    // Whether to show file icons in the outline panel.
 513    "file_icons": true,
 514    // Whether to show folder icons or chevrons for directories in the outline panel.
 515    "folder_icons": true,
 516    // Whether to show the git status in the outline panel.
 517    "git_status": true,
 518    // Amount of indentation for nested items.
 519    "indent_size": 20,
 520    // Whether to reveal it in the outline panel automatically,
 521    // when a corresponding outline entry becomes active.
 522    // Gitignored entries are never auto revealed.
 523    "auto_reveal_entries": true,
 524    // Whether to fold directories automatically
 525    // when a directory has only one directory inside.
 526    "auto_fold_dirs": true,
 527    // Settings related to indent guides in the outline panel.
 528    "indent_guides": {
 529      // When to show indent guides in the outline panel.
 530      // This setting can take two values:
 531      //
 532      // 1. Always show indent guides:
 533      //    "always"
 534      // 2. Never show indent guides:
 535      //    "never"
 536      "show": "always"
 537    },
 538    // Scrollbar-related settings
 539    "scrollbar": {
 540      // When to show the scrollbar in the project panel.
 541      // This setting can take five values:
 542      //
 543      // 1. null (default): Inherit editor settings
 544      // 2. Show the scrollbar if there's important information or
 545      //    follow the system's configured behavior (default):
 546      //   "auto"
 547      // 3. Match the system's configured behavior:
 548      //    "system"
 549      // 4. Always show the scrollbar:
 550      //    "always"
 551      // 5. Never show the scrollbar:
 552      //    "never"
 553      "show": null
 554    }
 555  },
 556  "collaboration_panel": {
 557    // Whether to show the collaboration panel button in the status bar.
 558    "button": true,
 559    // Where to dock the collaboration panel. Can be 'left' or 'right'.
 560    "dock": "left",
 561    // Default width of the collaboration panel.
 562    "default_width": 240
 563  },
 564  "chat_panel": {
 565    // When to show the chat panel button in the status bar.
 566    // Can be 'never', 'always', or 'when_in_call',
 567    // or a boolean (interpreted as 'never'/'always').
 568    "button": "when_in_call",
 569    // Where to the chat panel. Can be 'left' or 'right'.
 570    "dock": "right",
 571    // Default width of the chat panel.
 572    "default_width": 240
 573  },
 574  "git_panel": {
 575    // Whether to show the git panel button in the status bar.
 576    "button": true,
 577    // Where to show the git panel. Can be 'left' or 'right'.
 578    "dock": "left",
 579    // Default width of the git panel.
 580    "default_width": 360,
 581    // Style of the git status indicator in the panel.
 582    //
 583    // Default: icon
 584    "status_style": "icon",
 585    // What branch name to use if init.defaultBranch
 586    // is not set
 587    //
 588    // Default: main
 589    "fallback_branch_name": "main",
 590
 591    "scrollbar": {
 592      // When to show the scrollbar in the git panel.
 593      //
 594      // Default: inherits editor scrollbar settings
 595      "show": null
 596    }
 597  },
 598  "message_editor": {
 599    // Whether to automatically replace emoji shortcodes with emoji characters.
 600    // For example: typing `:wave:` gets replaced with `👋`.
 601    "auto_replace_emoji_shortcode": true
 602  },
 603  "notification_panel": {
 604    // Whether to show the notification panel button in the status bar.
 605    "button": true,
 606    // Where to dock the notification panel. Can be 'left' or 'right'.
 607    "dock": "right",
 608    // Default width of the notification panel.
 609    "default_width": 380
 610  },
 611  "assistant": {
 612    // Version of this setting.
 613    "version": "2",
 614    // Whether the assistant is enabled.
 615    "enabled": true,
 616    // Whether to show the assistant panel button in the status bar.
 617    "button": true,
 618    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
 619    "dock": "right",
 620    // Default width when the assistant is docked to the left or right.
 621    "default_width": 640,
 622    // Default height when the assistant is docked to the bottom.
 623    "default_height": 320,
 624    // The default model to use when creating new chats.
 625    "default_model": {
 626      // The provider to use.
 627      "provider": "zed.dev",
 628      // The model to use.
 629      "model": "claude-3-7-sonnet-latest"
 630    },
 631    // The model to use when applying edits from the assistant.
 632    "editor_model": {
 633      // The provider to use.
 634      "provider": "zed.dev",
 635      // The model to use.
 636      "model": "claude-3-7-sonnet-latest"
 637    },
 638    // When enabled, the agent can run potentially destructive actions without asking for your confirmation.
 639    "always_allow_tool_actions": false,
 640    "default_profile": "write",
 641    "profiles": {
 642      "ask": {
 643        "name": "Ask",
 644        // We don't know which of the context server tools are safe for the "Ask" profile, so we don't enable them by default.
 645        // "enable_all_context_servers": true,
 646        "tools": {
 647          "contents": true,
 648          "diagnostics": true,
 649          "fetch": true,
 650          "list_directory": false,
 651          "now": true,
 652          "path_search": true,
 653          "read_file": true,
 654          "regex_search": true,
 655          "thinking": true,
 656          "web_search": true
 657        }
 658      },
 659      "write": {
 660        "name": "Write",
 661        "enable_all_context_servers": true,
 662        "tools": {
 663          "terminal": true,
 664          "batch_tool": true,
 665          "code_actions": true,
 666          "code_symbols": true,
 667          "contents": true,
 668          "copy_path": false,
 669          "create_file": true,
 670          "delete_path": false,
 671          "diagnostics": true,
 672          "find_replace_file": true,
 673          "fetch": true,
 674          "list_directory": false,
 675          "move_path": false,
 676          "now": true,
 677          "path_search": true,
 678          "read_file": true,
 679          "regex_search": true,
 680          "rename": true,
 681          "symbol_info": true,
 682          "thinking": true,
 683          "web_search": true
 684        }
 685      }
 686    },
 687    // Where to show notifications when an agent has either completed
 688    // its response, or else needs confirmation before it can run a
 689    // tool action.
 690    // "primary_screen" - Show the notification only on your primary screen (default)
 691    // "all_screens" - Show these notifications on all screens
 692    // "never" - Never show these notifications
 693    "notify_when_agent_waiting": "primary_screen"
 694  },
 695  // The settings for slash commands.
 696  "slash_commands": {
 697    // Settings for the `/docs` slash command.
 698    "docs": {
 699      // Whether `/docs` is enabled.
 700      "enabled": false
 701    },
 702    // Settings for the `/project` slash command.
 703    "project": {
 704      // Whether `/project` is enabled.
 705      "enabled": false
 706    }
 707  },
 708  // Whether the screen sharing icon is shown in the os status bar.
 709  "show_call_status_icon": true,
 710  // Whether to use language servers to provide code intelligence.
 711  "enable_language_server": true,
 712  // Whether to perform linked edits of associated ranges, if the language server supports it.
 713  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
 714  "linked_edits": true,
 715  // The list of language servers to use (or disable) for all languages.
 716  //
 717  // This is typically customized on a per-language basis.
 718  "language_servers": ["..."],
 719  // When to automatically save edited buffers. This setting can
 720  // take four values.
 721  //
 722  // 1. Never automatically save:
 723  //     "autosave": "off",
 724  // 2. Save when changing focus away from the Zed window:
 725  //     "autosave": "on_window_change",
 726  // 3. Save when changing focus away from a specific buffer:
 727  //     "autosave": "on_focus_change",
 728  // 4. Save when idle for a certain amount of time:
 729  //     "autosave": { "after_delay": {"milliseconds": 500} },
 730  "autosave": "off",
 731  // Maximum number of tabs per pane. Unset for unlimited.
 732  "max_tabs": null,
 733  // Settings related to the editor's tab bar.
 734  "tab_bar": {
 735    // Whether or not to show the tab bar in the editor
 736    "show": true,
 737    // Whether or not to show the navigation history buttons.
 738    "show_nav_history_buttons": true,
 739    // Whether or not to show the tab bar buttons.
 740    "show_tab_bar_buttons": true
 741  },
 742  // Settings related to the editor's tabs
 743  "tabs": {
 744    // Show git status colors in the editor tabs.
 745    "git_status": false,
 746    // Position of the close button on the editor tabs.
 747    // One of: ["right", "left", "hidden"]
 748    "close_position": "right",
 749    // Whether to show the file icon for a tab.
 750    "file_icons": false,
 751    // Controls the appearance behavior of the tab's close button.
 752    //
 753    // 1. Show it just upon hovering the tab. (default)
 754    //     "hover"
 755    // 2. Show it persistently.
 756    //     "always"
 757    // 3. Never show it, even if hovering it.
 758    //     "hidden"
 759    "show_close_button": "hover",
 760    // What to do after closing the current tab.
 761    //
 762    // 1. Activate the tab that was open previously (default)
 763    //     "history"
 764    // 2. Activate the right neighbour tab if present
 765    //     "neighbour"
 766    // 3. Activate the left neighbour tab if present
 767    //     "left_neighbour"
 768    "activate_on_close": "history",
 769    // Which files containing diagnostic errors/warnings to mark in the tabs.
 770    // Diagnostics are only shown when file icons are also active.
 771    // This setting only works when can take the following three values:
 772    //
 773    // 1. Do not mark any files:
 774    //    "off"
 775    // 2. Only mark files with errors:
 776    //    "errors"
 777    // 3. Mark files with errors and warnings:
 778    //    "all"
 779    "show_diagnostics": "off"
 780  },
 781  // Settings related to preview tabs.
 782  "preview_tabs": {
 783    // Whether preview tabs should be enabled.
 784    // Preview tabs allow you to open files in preview mode, where they close automatically
 785    // when you switch to another file unless you explicitly pin them.
 786    // This is useful for quickly viewing files without cluttering your workspace.
 787    "enabled": true,
 788    // Whether to open tabs in preview mode when selected from the file finder.
 789    "enable_preview_from_file_finder": false,
 790    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
 791    "enable_preview_from_code_navigation": false
 792  },
 793  // Settings related to the file finder.
 794  "file_finder": {
 795    // Whether to show file icons in the file finder.
 796    "file_icons": true,
 797    // Determines how much space the file finder can take up in relation to the available window width.
 798    // There are 5 possible width values:
 799    //
 800    // 1. Small: This value is essentially a fixed width.
 801    //    "modal_max_width": "small"
 802    // 2. Medium:
 803    //    "modal_max_width": "medium"
 804    // 3. Large:
 805    //    "modal_max_width": "large"
 806    // 4. Extra Large:
 807    //    "modal_max_width": "xlarge"
 808    // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
 809    //    "modal_max_width": "full"
 810    //
 811    // Default: small
 812    "modal_max_width": "small"
 813  },
 814  // Whether or not to remove any trailing whitespace from lines of a buffer
 815  // before saving it.
 816  "remove_trailing_whitespace_on_save": true,
 817  // Whether to start a new line with a comment when a previous line is a comment as well.
 818  "extend_comment_on_newline": true,
 819  // Removes any lines containing only whitespace at the end of the file and
 820  // ensures just one newline at the end.
 821  "ensure_final_newline_on_save": true,
 822  // Whether or not to perform a buffer format before saving
 823  //
 824  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
 825  "format_on_save": "on",
 826  // How to perform a buffer format. This setting can take 4 values:
 827  //
 828  // 1. Format code using the current language server:
 829  //     "formatter": "language_server"
 830  // 2. Format code using an external command:
 831  //     "formatter": {
 832  //       "external": {
 833  //         "command": "prettier",
 834  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
 835  //       }
 836  //     }
 837  // 3. Format code using Zed's Prettier integration:
 838  //     "formatter": "prettier"
 839  // 4. Default. Format files using Zed's Prettier integration (if applicable),
 840  //    or falling back to formatting via language server:
 841  //     "formatter": "auto"
 842  "formatter": "auto",
 843  // How to soft-wrap long lines of text.
 844  // Possible values:
 845  //
 846  // 1. Prefer a single line generally, unless an overly long line is encountered.
 847  //      "soft_wrap": "none",
 848  //      "soft_wrap": "prefer_line", // (deprecated, same as "none")
 849  // 2. Soft wrap lines that overflow the editor.
 850  //      "soft_wrap": "editor_width",
 851  // 3. Soft wrap lines at the preferred line length.
 852  //      "soft_wrap": "preferred_line_length",
 853  // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
 854  //      "soft_wrap": "bounded",
 855  "soft_wrap": "none",
 856  // The column at which to soft-wrap lines, for buffers where soft-wrap
 857  // is enabled.
 858  "preferred_line_length": 80,
 859  // Whether to indent lines using tab characters, as opposed to multiple
 860  // spaces.
 861  "hard_tabs": false,
 862  // How many columns a tab should occupy.
 863  "tab_size": 4,
 864  // Control what info is collected by Zed.
 865  "telemetry": {
 866    // Send debug info like crash reports.
 867    "diagnostics": true,
 868    // Send anonymized usage data like what languages you're using Zed with.
 869    "metrics": true
 870  },
 871  // Automatically update Zed. This setting may be ignored on Linux if
 872  // installed through a package manager.
 873  "auto_update": true,
 874  // Diagnostics configuration.
 875  "diagnostics": {
 876    // Whether to show warnings or not by default.
 877    "include_warnings": true,
 878    // Settings for inline diagnostics
 879    "inline": {
 880      // Whether to show diagnostics inline or not
 881      "enabled": false,
 882      // The delay in milliseconds to show inline diagnostics after the
 883      // last diagnostic update.
 884      "update_debounce_ms": 150,
 885      // The amount of padding between the end of the source line and the start
 886      // of the inline diagnostic in units of em widths.
 887      "padding": 4,
 888      // The minimum column to display inline diagnostics. This setting can be
 889      // used to horizontally align inline diagnostics at some column. Lines
 890      // longer than this value will still push diagnostics further to the right.
 891      "min_column": 0,
 892      // The minimum severity of the diagnostics to show inline.
 893      // Shows all diagnostics when not specified.
 894      "max_severity": null
 895    }
 896  },
 897  // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
 898  // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
 899  "file_scan_exclusions": [
 900    "**/.git",
 901    "**/.svn",
 902    "**/.hg",
 903    "**/.jj",
 904    "**/CVS",
 905    "**/.DS_Store",
 906    "**/Thumbs.db",
 907    "**/.classpath",
 908    "**/.settings"
 909  ],
 910  // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
 911  // for files that are not tracked by git, but are still important to your project. Note that globs
 912  // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
 913  // precedence over these inclusions.
 914  "file_scan_inclusions": [".env*"],
 915  // Git gutter behavior configuration.
 916  "git": {
 917    // Control whether the git gutter is shown. May take 2 values:
 918    // 1. Show the gutter
 919    //      "git_gutter": "tracked_files"
 920    // 2. Hide the gutter
 921    //      "git_gutter": "hide"
 922    "git_gutter": "tracked_files",
 923    // Control whether the git blame information is shown inline,
 924    // in the currently focused line.
 925    "inline_blame": {
 926      "enabled": true
 927      // Sets a delay after which the inline blame information is shown.
 928      // Delay is restarted with every cursor movement.
 929      // "delay_ms": 600
 930      //
 931      // Whether or not to display the git commit summary on the same line.
 932      // "show_commit_summary": false
 933      //
 934      // The minimum column number to show the inline blame information at
 935      // "min_column": 0
 936    },
 937    // How git hunks are displayed visually in the editor.
 938    // This setting can take two values:
 939    //
 940    // 1. Show unstaged hunks filled and staged hunks hollow:
 941    //    "hunk_style": "staged_hollow"
 942    // 2. Show unstaged hunks hollow and staged hunks filled:
 943    //    "hunk_style": "unstaged_hollow"
 944    "hunk_style": "staged_hollow"
 945  },
 946  // The list of custom Git hosting providers.
 947  "git_hosting_providers": [
 948    // {
 949    //   "provider": "github",
 950    //   "name": "BigCorp GitHub",
 951    //   "base_url": "https://code.big-corp.com"
 952    // }
 953  ],
 954  // Configuration for how direnv configuration should be loaded. May take 2 values:
 955  // 1. Load direnv configuration using `direnv export json` directly.
 956  //      "load_direnv": "direct"
 957  // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
 958  //      "load_direnv": "shell_hook"
 959  "load_direnv": "direct",
 960  "edit_predictions": {
 961    // A list of globs representing files that edit predictions should be disabled for.
 962    // There's a sensible default list of globs already included.
 963    // Any addition to this list will be merged with the default list.
 964    // Globs are matched relative to the worktree root,
 965    // except when starting with a slash (/) or equivalent in Windows.
 966    "disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets.yml"],
 967    // When to show edit predictions previews in buffer.
 968    // This setting takes two possible values:
 969    // 1. Display predictions inline when there are no language server completions available.
 970    //     "mode": "eager"
 971    // 2. Display predictions inline only when holding a modifier key (alt by default).
 972    //     "mode": "subtle"
 973    "mode": "eager",
 974    // Whether edit predictions are enabled in the assistant panel.
 975    // This setting has no effect if globally disabled.
 976    "enabled_in_assistant": true
 977  },
 978  // Settings specific to journaling
 979  "journal": {
 980    // The path of the directory where journal entries are stored
 981    "path": "~",
 982    // What format to display the hours in
 983    // May take 2 values:
 984    // 1. hour12
 985    // 2. hour24
 986    "hour_format": "hour12"
 987  },
 988  // Settings specific to the terminal
 989  "terminal": {
 990    // What shell to use when opening a terminal. May take 3 values:
 991    // 1. Use the system's default terminal configuration in /etc/passwd
 992    //      "shell": "system"
 993    // 2. A program:
 994    //      "shell": {
 995    //        "program": "sh"
 996    //      }
 997    // 3. A program with arguments:
 998    //     "shell": {
 999    //         "with_arguments": {
1000    //           "program": "/bin/bash",
1001    //           "args": ["--login"]
1002    //         }
1003    //     }
1004    "shell": "system",
1005    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
1006    "dock": "bottom",
1007    // Default width when the terminal is docked to the left or right.
1008    "default_width": 640,
1009    // Default height when the terminal is docked to the bottom.
1010    "default_height": 320,
1011    // What working directory to use when launching the terminal.
1012    // May take 4 values:
1013    // 1. Use the current file's project directory.  Will Fallback to the
1014    //    first project directory strategy if unsuccessful
1015    //      "working_directory": "current_project_directory"
1016    // 2. Use the first project in this workspace's directory
1017    //      "working_directory": "first_project_directory"
1018    // 3. Always use this platform's home directory (if we can find it)
1019    //     "working_directory": "always_home"
1020    // 4. Always use a specific directory. This value will be shell expanded.
1021    //    If this path is not a valid directory the terminal will default to
1022    //    this platform's home directory  (if we can find it)
1023    //      "working_directory": {
1024    //        "always": {
1025    //          "directory": "~/zed/projects/"
1026    //        }
1027    //      }
1028    "working_directory": "current_project_directory",
1029    // Set the cursor blinking behavior in the terminal.
1030    // May take 3 values:
1031    //  1. Never blink the cursor, ignoring the terminal mode
1032    //         "blinking": "off",
1033    //  2. Default the cursor blink to off, but allow the terminal to
1034    //     set blinking
1035    //         "blinking": "terminal_controlled",
1036    //  3. Always blink the cursor, ignoring the terminal mode
1037    //         "blinking": "on",
1038    "blinking": "terminal_controlled",
1039    // Default cursor shape for the terminal.
1040    //  1. A block that surrounds the following character
1041    //     "block"
1042    //  2. A vertical bar
1043    //     "bar"
1044    //  3. An underline / underscore that runs along the following character
1045    //     "underline"
1046    //  4. A box drawn around the following character
1047    //     "hollow"
1048    //
1049    // Default: not set, defaults to "block"
1050    "cursor_shape": null,
1051    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
1052    // Alternate Scroll mode converts mouse scroll events into up / down key
1053    // presses when in the alternate screen (e.g. when running applications
1054    // like vim or  less). The terminal can still set and unset this mode.
1055    // May take 2 values:
1056    //  1. Default alternate scroll mode to on
1057    //         "alternate_scroll": "on",
1058    //  2. Default alternate scroll mode to off
1059    //         "alternate_scroll": "off",
1060    "alternate_scroll": "on",
1061    // Set whether the option key behaves as the meta key.
1062    // May take 2 values:
1063    //  1. Rely on default platform handling of option key, on macOS
1064    //     this means generating certain unicode characters
1065    //         "option_as_meta": false,
1066    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
1067    //         "option_as_meta": true,
1068    "option_as_meta": false,
1069    // Whether or not selecting text in the terminal will automatically
1070    // copy to the system clipboard.
1071    "copy_on_select": false,
1072    // Whether to show the terminal button in the status bar
1073    "button": true,
1074    // Any key-value pairs added to this list will be added to the terminal's
1075    // environment. Use `:` to separate multiple values.
1076    "env": {
1077      // "KEY": "value1:value2"
1078    },
1079    // Set the terminal's line height.
1080    // May take 3 values:
1081    //  1. Use a line height that's comfortable for reading, 1.618
1082    //         "line_height": "comfortable"
1083    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
1084    //      particularly if they use box characters
1085    //         "line_height": "standard",
1086    //  3. Use a custom line height.
1087    //         "line_height": {
1088    //           "custom": 2
1089    //         },
1090    "line_height": "comfortable",
1091    // Activate the python virtual environment, if one is found, in the
1092    // terminal's working directory (as resolved by the working_directory
1093    // setting). Set this to "off" to disable this behavior.
1094    "detect_venv": {
1095      "on": {
1096        // Default directories to search for virtual environments, relative
1097        // to the current working directory. We recommend overriding this
1098        // in your project's settings, rather than globally.
1099        "directories": [".env", "env", ".venv", "venv"],
1100        // Can also be `csh`, `fish`, `nushell` and `power_shell`
1101        "activate_script": "default"
1102      }
1103    },
1104    "toolbar": {
1105      // Whether to display the terminal title in its toolbar's breadcrumbs.
1106      // Only shown if the terminal title is not empty.
1107      //
1108      // The shell running in the terminal needs to be configured to emit the title.
1109      // Example: `echo -e "\e]2;New Title\007";`
1110      "breadcrumbs": true
1111    },
1112    // Scrollbar-related settings
1113    "scrollbar": {
1114      // When to show the scrollbar in the terminal.
1115      // This setting can take five values:
1116      //
1117      // 1. null (default): Inherit editor settings
1118      // 2. Show the scrollbar if there's important information or
1119      //    follow the system's configured behavior (default):
1120      //   "auto"
1121      // 3. Match the system's configured behavior:
1122      //    "system"
1123      // 4. Always show the scrollbar:
1124      //    "always"
1125      // 5. Never show the scrollbar:
1126      //    "never"
1127      "show": null
1128    }
1129    // Set the terminal's font size. If this option is not included,
1130    // the terminal will default to matching the buffer's font size.
1131    // "font_size": 15,
1132    // Set the terminal's font family. If this option is not included,
1133    // the terminal will default to matching the buffer's font family.
1134    // "font_family": "Zed Plex Mono",
1135    // Set the terminal's font fallbacks. If this option is not included,
1136    // the terminal will default to matching the buffer's font fallbacks.
1137    // This will be merged with the platform's default font fallbacks
1138    // "font_fallbacks": ["FiraCode Nerd Fonts"],
1139    // Sets the maximum number of lines in the terminal's scrollback buffer.
1140    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1141    // Existing terminals will not pick up this change until they are recreated.
1142    // "max_scroll_history_lines": 10000,
1143  },
1144  "code_actions_on_format": {},
1145  // Settings related to running tasks.
1146  "tasks": {
1147    "variables": {},
1148    "enabled": true
1149  },
1150  // An object whose keys are language names, and whose values
1151  // are arrays of filenames or extensions of files that should
1152  // use those languages.
1153  //
1154  // For example, to treat files like `foo.notjs` as JavaScript,
1155  // and `Embargo.lock` as TOML:
1156  //
1157  // {
1158  //   "JavaScript": ["notjs"],
1159  //   "TOML": ["Embargo.lock"]
1160  // }
1161  //
1162  "file_types": {
1163    "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1164    "Shell Script": [".env.*"]
1165  },
1166  // By default use a recent system version of node, or install our own.
1167  // You can override this to use a version of node that is not in $PATH with:
1168  // {
1169  //   "node": {
1170  //     "path": "/path/to/node"
1171  //     "npm_path": "/path/to/npm" (defaults to node_path/../npm)
1172  //   }
1173  // }
1174  // or to ensure Zed always downloads and installs an isolated version of node:
1175  // {
1176  //   "node": {
1177  //     "ignore_system_version": true,
1178  //   }
1179  // NOTE: changing this setting currently requires restarting Zed.
1180  "node": {},
1181  // The extensions that Zed should automatically install on startup.
1182  //
1183  // If you don't want any of these extensions, add this field to your settings
1184  // and change the value to `false`.
1185  "auto_install_extensions": {
1186    "html": true
1187  },
1188  // Controls how completions are processed for this language.
1189  "completions": {
1190    // Controls how words are completed.
1191    // For large documents, not all words may be fetched for completion.
1192    //
1193    // May take 3 values:
1194    // 1. "enabled"
1195    //   Always fetch document's words for completions along with LSP completions.
1196    // 2. "fallback"
1197    //   Only if LSP response errors or times out, use document's words to show completions.
1198    // 3. "disabled"
1199    //   Never fetch or complete document's words for completions.
1200    //   (Word-based completions can still be queried via a separate action)
1201    //
1202    // Default: fallback
1203    "words": "fallback",
1204    // Whether to fetch LSP completions or not.
1205    //
1206    // Default: true
1207    "lsp": true,
1208    // When fetching LSP completions, determines how long to wait for a response of a particular server.
1209    // When set to 0, waits indefinitely.
1210    //
1211    // Default: 0
1212    "lsp_fetch_timeout_ms": 0,
1213    // Controls what range to replace when accepting LSP completions.
1214    //
1215    // When LSP servers give an `InsertReplaceEdit` completion, they provides two ranges: `insert` and `replace`. Usually, `insert`
1216    // contains the word prefix before your cursor and `replace` contains the whole word.
1217    //
1218    // Effectively, this setting just changes whether Zed will use the received range for `insert` or `replace`, so the results may
1219    // differ depending on the underlying LSP server.
1220    //
1221    // Possible values:
1222    // 1. "insert"
1223    //   Replaces text before the cursor, using the `insert` range described in the LSP specification.
1224    // 2. "replace"
1225    //   Replaces text before and after the cursor, using the `replace` range described in the LSP specification.
1226    // 3. "replace_subsequence"
1227    //   Behaves like `"replace"` if the text that would be replaced is a subsequence of the completion text,
1228    //   and like `"insert"` otherwise.
1229    // 4. "replace_suffix"
1230    //   Behaves like `"replace"` if the text after the cursor is a suffix of the completion, and like
1231    //   `"insert"` otherwise.
1232    "lsp_insert_mode": "replace_suffix"
1233  },
1234  // Different settings for specific languages.
1235  "languages": {
1236    "Astro": {
1237      "language_servers": ["astro-language-server", "..."],
1238      "prettier": {
1239        "allowed": true,
1240        "plugins": ["prettier-plugin-astro"]
1241      }
1242    },
1243    "Blade": {
1244      "prettier": {
1245        "allowed": true
1246      }
1247    },
1248    "C": {
1249      "format_on_save": "off",
1250      "use_on_type_format": false,
1251      "prettier": {
1252        "allowed": false
1253      }
1254    },
1255    "C++": {
1256      "format_on_save": "off",
1257      "use_on_type_format": false,
1258      "prettier": {
1259        "allowed": false
1260      }
1261    },
1262    "CSS": {
1263      "prettier": {
1264        "allowed": true
1265      }
1266    },
1267    "Dart": {
1268      "tab_size": 2
1269    },
1270    "Diff": {
1271      "show_edit_predictions": false,
1272      "remove_trailing_whitespace_on_save": false,
1273      "ensure_final_newline_on_save": false
1274    },
1275    "Elixir": {
1276      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1277    },
1278    "Erlang": {
1279      "language_servers": ["erlang-ls", "!elp", "..."]
1280    },
1281    "Git Commit": {
1282      "allow_rewrap": "anywhere"
1283    },
1284    "Go": {
1285      "code_actions_on_format": {
1286        "source.organizeImports": true
1287      }
1288    },
1289    "GraphQL": {
1290      "prettier": {
1291        "allowed": true
1292      }
1293    },
1294    "HEEX": {
1295      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1296    },
1297    "HTML": {
1298      "prettier": {
1299        "allowed": true
1300      }
1301    },
1302    "Java": {
1303      "prettier": {
1304        "allowed": true,
1305        "plugins": ["prettier-plugin-java"]
1306      }
1307    },
1308    "JavaScript": {
1309      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1310      "prettier": {
1311        "allowed": true
1312      }
1313    },
1314    "JSON": {
1315      "prettier": {
1316        "allowed": true
1317      }
1318    },
1319    "JSONC": {
1320      "prettier": {
1321        "allowed": true
1322      }
1323    },
1324    "LaTeX": {
1325      "format_on_save": "on",
1326      "formatter": "language_server",
1327      "language_servers": ["texlab", "..."],
1328      "prettier": {
1329        "allowed": false
1330      }
1331    },
1332    "Markdown": {
1333      "format_on_save": "off",
1334      "use_on_type_format": false,
1335      "allow_rewrap": "anywhere",
1336      "soft_wrap": "editor_width",
1337      "prettier": {
1338        "allowed": true
1339      }
1340    },
1341    "PHP": {
1342      "language_servers": ["phpactor", "!intelephense", "..."],
1343      "prettier": {
1344        "allowed": true,
1345        "plugins": ["@prettier/plugin-php"],
1346        "parser": "php"
1347      }
1348    },
1349    "Plain Text": {
1350      "allow_rewrap": "anywhere"
1351    },
1352    "Ruby": {
1353      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1354    },
1355    "SCSS": {
1356      "prettier": {
1357        "allowed": true
1358      }
1359    },
1360    "SQL": {
1361      "prettier": {
1362        "allowed": true,
1363        "plugins": ["prettier-plugin-sql"]
1364      }
1365    },
1366    "Starlark": {
1367      "language_servers": ["starpls", "!buck2-lsp", "..."]
1368    },
1369    "Svelte": {
1370      "language_servers": ["svelte-language-server", "..."],
1371      "prettier": {
1372        "allowed": true,
1373        "plugins": ["prettier-plugin-svelte"]
1374      }
1375    },
1376    "TSX": {
1377      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1378      "prettier": {
1379        "allowed": true
1380      }
1381    },
1382    "Twig": {
1383      "prettier": {
1384        "allowed": true
1385      }
1386    },
1387    "TypeScript": {
1388      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1389      "prettier": {
1390        "allowed": true
1391      }
1392    },
1393    "Vue.js": {
1394      "language_servers": ["vue-language-server", "..."],
1395      "prettier": {
1396        "allowed": true
1397      }
1398    },
1399    "XML": {
1400      "prettier": {
1401        "allowed": true,
1402        "plugins": ["@prettier/plugin-xml"]
1403      }
1404    },
1405    "YAML": {
1406      "prettier": {
1407        "allowed": true
1408      }
1409    },
1410    "Zig": {
1411      "language_servers": ["zls", "..."]
1412    }
1413  },
1414  // Different settings for specific language models.
1415  "language_models": {
1416    "anthropic": {
1417      "version": "1",
1418      "api_url": "https://api.anthropic.com"
1419    },
1420    "google": {
1421      "api_url": "https://generativelanguage.googleapis.com"
1422    },
1423    "ollama": {
1424      "api_url": "http://localhost:11434"
1425    },
1426    "openai": {
1427      "version": "1",
1428      "api_url": "https://api.openai.com/v1"
1429    },
1430    "lmstudio": {
1431      "api_url": "http://localhost:1234/api/v0"
1432    },
1433    "deepseek": {
1434      "api_url": "https://api.deepseek.com"
1435    },
1436    "mistral": {
1437      "api_url": "https://api.mistral.ai/v1"
1438    }
1439  },
1440  // Zed's Prettier integration settings.
1441  // Allows to enable/disable formatting with Prettier
1442  // and configure default Prettier, used when no project-level Prettier installation is found.
1443  "prettier": {
1444    // // Whether to consider prettier formatter or not when attempting to format a file.
1445    // "allowed": false,
1446    //
1447    // // Use regular Prettier json configuration.
1448    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1449    // // the project has no other Prettier installed.
1450    // "plugins": [],
1451    //
1452    // // Use regular Prettier json configuration.
1453    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1454    // // the project has no other Prettier installed.
1455    // "trailingComma": "es5",
1456    // "tabWidth": 4,
1457    // "semi": false,
1458    // "singleQuote": true
1459  },
1460  // Settings for auto-closing of JSX tags.
1461  "jsx_tag_auto_close": {
1462    "enabled": true
1463  },
1464  // LSP Specific settings.
1465  "lsp": {
1466    // Specify the LSP name as a key here.
1467    // "rust-analyzer": {
1468    //     // A special flag for rust-analyzer integration, to use server-provided tasks
1469    //     enable_lsp_tasks": true,
1470    //     // These initialization options are merged into Zed's defaults
1471    //     "initialization_options": {
1472    //         "check": {
1473    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
1474    //         }
1475    //     }
1476    // }
1477  },
1478  // Jupyter settings
1479  "jupyter": {
1480    "enabled": true
1481    // Specify the language name as the key and the kernel name as the value.
1482    // "kernel_selections": {
1483    //    "python": "conda-base"
1484    //    "typescript": "deno"
1485    // }
1486  },
1487  // Vim settings
1488  "vim": {
1489    "default_mode": "normal",
1490    "toggle_relative_line_numbers": false,
1491    "use_system_clipboard": "always",
1492    "use_multiline_find": false,
1493    "use_smartcase_find": false,
1494    "highlight_on_yank_duration": 200,
1495    "custom_digraphs": {}
1496  },
1497  // The server to connect to. If the environment variable
1498  // ZED_SERVER_URL is set, it will override this setting.
1499  "server_url": "https://zed.dev",
1500  // Settings overrides to use when using Zed Preview.
1501  // Mostly useful for developers who are managing multiple instances of Zed.
1502  "preview": {
1503    // "theme": "Andromeda"
1504  },
1505  // Settings overrides to use when using Zed Nightly.
1506  // Mostly useful for developers who are managing multiple instances of Zed.
1507  "nightly": {
1508    // "theme": "Andromeda"
1509  },
1510  // Settings overrides to use when using Zed Stable.
1511  // Mostly useful for developers who are managing multiple instances of Zed.
1512  "stable": {
1513    // "theme": "Andromeda"
1514  },
1515  // Settings overrides to use when using Zed Dev.
1516  // Mostly useful for developers who are managing multiple instances of Zed.
1517  "dev": {
1518    // "theme": "Andromeda"
1519  },
1520  // Whether to show full labels in line indicator or short ones
1521  //
1522  // Values:
1523  //   - `short`: "2 s, 15 l, 32 c"
1524  //   - `long`: "2 selections, 15 lines, 32 characters"
1525  // Default: long
1526  "line_indicator_format": "long",
1527  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1528  //
1529  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1530  // `socks5h`. `http` will be used when no scheme is specified.
1531  //
1532  // By default no proxy will be used, or Zed will try get proxy settings from
1533  // environment variables.
1534  //
1535  // Examples:
1536  //   - "proxy": "socks5h://localhost:10808"
1537  //   - "proxy": "http://127.0.0.1:10809"
1538  "proxy": null,
1539  // Set to configure aliases for the command palette.
1540  // When typing a query which is a key of this object, the value will be used instead.
1541  //
1542  // Examples:
1543  // {
1544  //   "W": "workspace::Save"
1545  // }
1546  "command_aliases": {},
1547  // Whether to show user picture in titlebar.
1548  "show_user_picture": true,
1549  // ssh_connections is an array of ssh connections.
1550  // You can configure these from `project: Open Remote` in the command palette.
1551  // Zed's ssh support will pull configuration from your ~/.ssh too.
1552  // Examples:
1553  // [
1554  //   {
1555  //     "host": "example-box",
1556  //     // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1557  //     "projects": [
1558  //       {
1559  //         "paths": ["/home/user/code/zed"]
1560  //       }
1561  //     ]
1562  //   }
1563  // ]
1564  "ssh_connections": [],
1565
1566  // Configures context servers for use in the Assistant.
1567  "context_servers": {},
1568  "debugger": {
1569    "stepping_granularity": "line",
1570    "save_breakpoints": true,
1571    "button": true
1572  }
1573}