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