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