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