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