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