default.json

  1{
  2  // The name of the Zed theme to use for the UI.
  3  //
  4  // The theme can also be set to follow system preferences:
  5  //
  6  // "theme": {
  7  //   "mode": "system",
  8  //   "light": "One Light",
  9  //   "dark": "One Dark"
 10  // }
 11  //
 12  // Where `mode` is one of:
 13  // - "system": Use the theme that corresponds to the system's appearance
 14  // - "light": Use the theme indicated by the "light" field
 15  // - "dark": Use the theme indicated by the "dark" field
 16  "theme": "One Dark",
 17  // The name of a base set of key bindings to use.
 18  // This setting can take four values, each named after another
 19  // text editor:
 20  //
 21  // 1. "VSCode"
 22  // 2. "JetBrains"
 23  // 3. "SublimeText"
 24  // 4. "Atom"
 25  "base_keymap": "VSCode",
 26  // Features that can be globally enabled or disabled
 27  "features": {
 28    // Which inline completion provider to use.
 29    "inline_completion_provider": "copilot"
 30  },
 31  // The name of a font to use for rendering text in the editor
 32  "buffer_font_family": "Zed Mono",
 33  // The OpenType features to enable for text in the editor.
 34  "buffer_font_features": {
 35    // Disable ligatures:
 36    // "calt": false
 37  },
 38  // The default font size for text in the editor
 39  "buffer_font_size": 15,
 40  // The weight of the editor font in standard CSS units from 100 to 900.
 41  "buffer_font_weight": 400,
 42  // Set the buffer's line height.
 43  // May take 3 values:
 44  //  1. Use a line height that's comfortable for reading (1.618)
 45  //         "line_height": "comfortable"
 46  //  2. Use a standard line height, (1.3)
 47  //         "line_height": "standard",
 48  //  3. Use a custom line height
 49  //         "line_height": {
 50  //           "custom": 2
 51  //         },
 52  "buffer_line_height": "comfortable",
 53  // The name of a font to use for rendering text in the UI
 54  "ui_font_family": ".SystemUIFont",
 55  // The OpenType features to enable for text in the UI
 56  "ui_font_features": {
 57    // Disable ligatures:
 58    "calt": false
 59  },
 60  // The weight of the UI font in standard CSS units from 100 to 900.
 61  "ui_font_weight": 400,
 62  // The default font size for text in the UI
 63  "ui_font_size": 16,
 64  // The factor to grow the active pane by. Defaults to 1.0
 65  // which gives the same size as all other panes.
 66  "active_pane_magnification": 1.0,
 67  // Centered layout related settings.
 68  "centered_layout": {
 69    // The relative width of the left padding of the central pane from the
 70    // workspace when the centered layout is used.
 71    "left_padding": 0.2,
 72    // The relative width of the right padding of the central pane from the
 73    // workspace when the centered layout is used.
 74    "right_padding": 0.2
 75  },
 76  // The key to use for adding multiple cursors
 77  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 78  // "cmd" and "ctrl") are supported.
 79  "multi_cursor_modifier": "alt",
 80  // Whether to enable vim modes and key bindings.
 81  "vim_mode": false,
 82  // Whether to show the informational hover box when moving the mouse
 83  // over symbols in the editor.
 84  "hover_popover_enabled": true,
 85  // Whether to confirm before quitting Zed.
 86  "confirm_quit": false,
 87  // Whether to restore last closed project when fresh Zed instance is opened.
 88  "restore_on_startup": "last_workspace",
 89  // Size of the drop target in the editor.
 90  "drop_target_size": 0.2,
 91  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 92  // May take 3 values:
 93  //  1. Use the current platform's convention
 94  //         "when_closing_with_no_tabs": "platform_default"
 95  //  2. Always close the window:
 96  //         "when_closing_with_no_tabs": "close_window",
 97  //  3. Never close the window
 98  //         "when_closing_with_no_tabs": "keep_window_open",
 99  "when_closing_with_no_tabs": "platform_default",
100  // Whether the cursor blinks in the editor.
101  "cursor_blink": true,
102  // How to highlight the current line in the editor.
103  //
104  // 1. Don't highlight the current line:
105  //    "none"
106  // 2. Highlight the gutter area:
107  //    "gutter"
108  // 3. Highlight the editor area:
109  //    "line"
110  // 4. Highlight the full line (default):
111  //    "all"
112  "current_line_highlight": "all",
113  // Whether to pop the completions menu while typing in an editor without
114  // explicitly requesting it.
115  "show_completions_on_input": true,
116  // Whether to display inline and alongside documentation for items in the
117  // completions menu
118  "show_completion_documentation": true,
119  // The debounce delay before re-querying the language server for completion
120  // documentation when not included in original completion list.
121  "completion_documentation_secondary_query_debounce": 300,
122  // Whether to show wrap guides (vertical rulers) in the editor.
123  // Setting this to true will show a guide at the 'preferred_line_length' value
124  // if softwrap is set to 'preferred_line_length', and will show any
125  // additional guides as specified by the 'wrap_guides' setting.
126  "show_wrap_guides": true,
127  // Character counts at which to show wrap guides in the editor.
128  "wrap_guides": [],
129  // Hide the values of in variables from visual display in private files
130  "redact_private_values": false,
131  // The default number of lines to expand excerpts in the multibuffer by.
132  "expand_excerpt_lines": 3,
133  // Globs to match against file paths to determine if a file is private.
134  "private_files": [
135    "**/.env*",
136    "**/*.pem",
137    "**/*.key",
138    "**/*.cert",
139    "**/*.crt",
140    "**/secrets.yml"
141  ],
142  // Whether to use additional LSP queries to format (and amend) the code after
143  // every "trigger" symbol input, defined by LSP server capabilities.
144  "use_on_type_format": true,
145  // Whether to automatically add matching closing characters when typing
146  // opening parenthesis, bracket, brace, single or double quote characters.
147  // For example, when you type (, Zed will add a closing ) at the correct position.
148  "use_autoclose": true,
149  // Controls how the editor handles the autoclosed characters.
150  // When set to `false`(default), skipping over and auto-removing of the closing characters
151  // happen only for auto-inserted characters.
152  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
153  // no matter how they were inserted.
154  "always_treat_brackets_as_autoclosed": false,
155  // Controls whether inline completions are shown immediately (true)
156  // or manually by triggering `editor::ShowInlineCompletion` (false).
157  "show_inline_completions": true,
158  // Whether to show tabs and spaces in the editor.
159  // This setting can take three values:
160  //
161  // 1. Draw tabs and spaces only for the selected text (default):
162  //    "selection"
163  // 2. Do not draw any tabs or spaces:
164  //   "none"
165  // 3. Draw all invisible symbols:
166  //   "all"
167  // 4. Draw whitespaces at boundaries only:
168  //   "boundaries"
169  // For a whitespace to be on a boundary, any of the following conditions need to be met:
170  // - It is a tab
171  // - It is adjacent to an edge (start or end)
172  // - It is adjacent to a whitespace (left or right)
173  "show_whitespaces": "selection",
174  // Settings related to calls in Zed
175  "calls": {
176    // Join calls with the microphone live by default
177    "mute_on_join": false,
178    // Share your project when you are the first to join a channel
179    "share_on_join": false
180  },
181  // Toolbar related settings
182  "toolbar": {
183    // Whether to show breadcrumbs.
184    "breadcrumbs": true,
185    // Whether to show quick action buttons.
186    "quick_actions": true,
187    // Whether to show the Selections menu in the editor toolbar
188    "selections_menu": true
189  },
190  // Scrollbar related settings
191  "scrollbar": {
192    // When to show the scrollbar in the editor.
193    // This setting can take four values:
194    //
195    // 1. Show the scrollbar if there's important information or
196    //    follow the system's configured behavior (default):
197    //   "auto"
198    // 2. Match the system's configured behavior:
199    //    "system"
200    // 3. Always show the scrollbar:
201    //    "always"
202    // 4. Never show the scrollbar:
203    //    "never"
204    "show": "auto",
205    // Whether to show cursor positions in the scrollbar.
206    "cursors": true,
207    // Whether to show git diff indicators in the scrollbar.
208    "git_diff": true,
209    // Whether to show buffer search results in the scrollbar.
210    "search_results": true,
211    // Whether to show selected symbol occurrences in the scrollbar.
212    "selected_symbol": true,
213    // Whether to show diagnostic indicators in the scrollbar.
214    "diagnostics": true
215  },
216  // What to do when multibuffer is double clicked in some of its excerpts
217  // (parts of singleton buffers).
218  // May take 2 values:
219  //  1. Behave as a regular buffer and select the whole word (default).
220  //         "double_click_in_multibuffer": "select"
221  //  2. Open the excerpt clicked as a new buffer in the new tab.
222  //         "double_click_in_multibuffer": "open",
223  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
224  "double_click_in_multibuffer": "select",
225  "gutter": {
226    // Whether to show line numbers in the gutter.
227    "line_numbers": true,
228    // Whether to show code action buttons in the gutter.
229    "code_actions": true,
230    // Whether to show fold buttons in the gutter.
231    "folds": true
232  },
233  "indent_guides": {
234    /// Whether to show indent guides in the editor.
235    "enabled": true,
236    /// The width of the indent guides in pixels, between 1 and 10.
237    "line_width": 1,
238    /// Determines how indent guides are colored.
239    /// This setting can take the following three values:
240    ///
241    /// 1. "disabled"
242    /// 2. "fixed"
243    /// 3. "indent_aware"
244    "coloring": "fixed",
245    /// Determines how indent guide backgrounds are colored.
246    /// This setting can take the following two values:
247    ///
248    /// 1. "disabled"
249    /// 2. "indent_aware"
250    "background_coloring": "disabled"
251  },
252  // The number of lines to keep above/below the cursor when scrolling.
253  "vertical_scroll_margin": 3,
254  // Scroll sensitivity multiplier. This multiplier is applied
255  // to both the horizontal and vertical delta values while scrolling.
256  "scroll_sensitivity": 1.0,
257  "relative_line_numbers": false,
258  // When to populate a new search's query based on the text under the cursor.
259  // This setting can take the following three values:
260  //
261  // 1. Always populate the search query with the word under the cursor (default).
262  //    "always"
263  // 2. Only populate the search query when there is text selected
264  //    "selection"
265  // 3. Never populate the search query
266  //    "never"
267  "seed_search_query_from_cursor": "always",
268  // Inlay hint related settings
269  "inlay_hints": {
270    // Global switch to toggle hints on and off, switched off by default.
271    "enabled": false,
272    // Toggle certain types of hints on and off, all switched on by default.
273    "show_type_hints": true,
274    "show_parameter_hints": true,
275    // Corresponds to null/None LSP hint type value.
276    "show_other_hints": true,
277    // Time to wait after editing the buffer, before requesting the hints,
278    // set to 0 to disable debouncing.
279    "edit_debounce_ms": 700,
280    // Time to wait after scrolling the buffer, before requesting the hints,
281    // set to 0 to disable debouncing.
282    "scroll_debounce_ms": 50
283  },
284  "project_panel": {
285    // Whether to show the project panel button in the status bar
286    "button": true,
287    // Default width of the project panel.
288    "default_width": 240,
289    // Where to dock the project panel. Can be 'left' or 'right'.
290    "dock": "left",
291    // Whether to show file icons in the project panel.
292    "file_icons": true,
293    // Whether to show folder icons or chevrons for directories in the project panel.
294    "folder_icons": true,
295    // Whether to show the git status in the project panel.
296    "git_status": true,
297    // Amount of indentation for nested items.
298    "indent_size": 20,
299    // Whether to reveal it in the project panel automatically,
300    // when a corresponding project entry becomes active.
301    // Gitignored entries are never auto revealed.
302    "auto_reveal_entries": true,
303    /// Whether to fold directories automatically
304    /// when a directory has only one directory inside.
305    "auto_fold_dirs": false
306  },
307  "outline_panel": {
308    // Whether to show the outline panel button in the status bar
309    "button": true,
310    // Default width of the outline panel.
311    "default_width": 300,
312    // Where to dock the outline panel. Can be 'left' or 'right'.
313    "dock": "left",
314    // Whether to show file icons in the outline panel.
315    "file_icons": true,
316    // Whether to show folder icons or chevrons for directories in the outline panel.
317    "folder_icons": true,
318    // Whether to show the git status in the outline panel.
319    "git_status": true,
320    // Amount of indentation for nested items.
321    "indent_size": 20,
322    // Whether to reveal it in the outline panel automatically,
323    // when a corresponding outline entry becomes active.
324    // Gitignored entries are never auto revealed.
325    "auto_reveal_entries": true,
326    /// Whether to fold directories automatically
327    /// when a directory has only one directory inside.
328    "auto_fold_dirs": true
329  },
330  "collaboration_panel": {
331    // Whether to show the collaboration panel button in the status bar.
332    "button": true,
333    // Where to dock the collaboration panel. Can be 'left' or 'right'.
334    "dock": "left",
335    // Default width of the collaboration panel.
336    "default_width": 240
337  },
338  "chat_panel": {
339    // Whether to show the chat panel button in the status bar.
340    "button": true,
341    // Where to the chat panel. Can be 'left' or 'right'.
342    "dock": "right",
343    // Default width of the chat panel.
344    "default_width": 240
345  },
346  "message_editor": {
347    // Whether to automatically replace emoji shortcodes with emoji characters.
348    // For example: typing `:wave:` gets replaced with `👋`.
349    "auto_replace_emoji_shortcode": true
350  },
351  "notification_panel": {
352    // Whether to show the notification panel button in the status bar.
353    "button": true,
354    // Where to dock the notification panel. Can be 'left' or 'right'.
355    "dock": "right",
356    // Default width of the notification panel.
357    "default_width": 380
358  },
359  "assistant": {
360    // Version of this setting.
361    "version": "1",
362    // Whether the assistant is enabled.
363    "enabled": true,
364    // Whether to show the assistant panel button in the status bar.
365    "button": true,
366    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
367    "dock": "right",
368    // Default width when the assistant is docked to the left or right.
369    "default_width": 640,
370    // Default height when the assistant is docked to the bottom.
371    "default_height": 320,
372    // AI provider.
373    "provider": {
374      "name": "openai",
375      // The default model to use when creating new contexts. This
376      // setting can take three values:
377      //
378      // 1. "gpt-3.5-turbo"
379      // 2. "gpt-4"
380      // 3. "gpt-4-turbo-preview"
381      // 4. "gpt-4o"
382      "default_model": "gpt-4o"
383    }
384  },
385  // Whether the screen sharing icon is shown in the os status bar.
386  "show_call_status_icon": true,
387  // Whether to use language servers to provide code intelligence.
388  "enable_language_server": true,
389  // Whether to perform linked edits of associated ranges, if the language server supports it.
390  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
391  "linked_edits": true,
392  // The list of language servers to use (or disable) for all languages.
393  //
394  // This is typically customized on a per-language basis.
395  "language_servers": ["..."],
396  // When to automatically save edited buffers. This setting can
397  // take four values.
398  //
399  // 1. Never automatically save:
400  //     "autosave": "off",
401  // 2. Save when changing focus away from the Zed window:
402  //     "autosave": "on_window_change",
403  // 3. Save when changing focus away from a specific buffer:
404  //     "autosave": "on_focus_change",
405  // 4. Save when idle for a certain amount of time:
406  //     "autosave": { "after_delay": {"milliseconds": 500} },
407  "autosave": "off",
408  // Settings related to the editor's tab bar.
409  "tab_bar": {
410    // Whether or not to show the tab bar in the editor
411    "show": true,
412    // Whether or not to show the navigation history buttons.
413    "show_nav_history_buttons": true
414  },
415  // Settings related to the editor's tabs
416  "tabs": {
417    // Show git status colors in the editor tabs.
418    "git_status": false,
419    // Position of the close button on the editor tabs.
420    "close_position": "right"
421  },
422  // Settings related to preview tabs.
423  "preview_tabs": {
424    // Whether preview tabs should be enabled.
425    // Preview tabs allow you to open files in preview mode, where they close automatically
426    // when you switch to another file unless you explicitly pin them.
427    // This is useful for quickly viewing files without cluttering your workspace.
428    "enabled": true,
429    // Whether to open tabs in preview mode when selected from the file finder.
430    "enable_preview_from_file_finder": false,
431    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
432    "enable_preview_from_code_navigation": false
433  },
434  // Whether or not to remove any trailing whitespace from lines of a buffer
435  // before saving it.
436  "remove_trailing_whitespace_on_save": true,
437  // Whether to start a new line with a comment when a previous line is a comment as well.
438  "extend_comment_on_newline": true,
439  // Whether or not to ensure there's a single newline at the end of a buffer
440  // when saving it.
441  "ensure_final_newline_on_save": true,
442  // Whether or not to perform a buffer format before saving
443  //
444  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
445  "format_on_save": "on",
446  // How to perform a buffer format. This setting can take 4 values:
447  //
448  // 1. Format code using the current language server:
449  //     "formatter": "language_server"
450  // 2. Format code using an external command:
451  //     "formatter": {
452  //       "external": {
453  //         "command": "prettier",
454  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
455  //       }
456  //     }
457  // 3. Format code using Zed's Prettier integration:
458  //     "formatter": "prettier"
459  // 4. Default. Format files using Zed's Prettier integration (if applicable),
460  //    or falling back to formatting via language server:
461  //     "formatter": "auto"
462  "formatter": "auto",
463  // How to soft-wrap long lines of text. This setting can take
464  // three values:
465  //
466  // 1. Do not soft wrap.
467  //      "soft_wrap": "none",
468  // 2. Prefer a single line generally, unless an overly long line is encountered.
469  //      "soft_wrap": "prefer_line",
470  // 3. Soft wrap lines that overflow the editor:
471  //      "soft_wrap": "editor_width",
472  // 4. Soft wrap lines at the preferred line length
473  //      "soft_wrap": "preferred_line_length",
474  "soft_wrap": "prefer_line",
475  // The column at which to soft-wrap lines, for buffers where soft-wrap
476  // is enabled.
477  "preferred_line_length": 80,
478  // Whether to indent lines using tab characters, as opposed to multiple
479  // spaces.
480  "hard_tabs": false,
481  // How many columns a tab should occupy.
482  "tab_size": 4,
483  // Control what info is collected by Zed.
484  "telemetry": {
485    // Send debug info like crash reports.
486    "diagnostics": true,
487    // Send anonymized usage data like what languages you're using Zed with.
488    "metrics": true
489  },
490  // Automatically update Zed. This setting may be ignored on Linux if
491  // installed through a package manager.
492  "auto_update": true,
493  // Diagnostics configuration.
494  "diagnostics": {
495    // Whether to show warnings or not by default.
496    "include_warnings": true
497  },
498  // Add files or globs of files that will be excluded by Zed entirely:
499  // they will be skipped during FS scan(s), file tree and file search
500  // will lack the corresponding file entries.
501  "file_scan_exclusions": [
502    "**/.git",
503    "**/.svn",
504    "**/.hg",
505    "**/CVS",
506    "**/.DS_Store",
507    "**/Thumbs.db",
508    "**/.classpath",
509    "**/.settings"
510  ],
511  // Git gutter behavior configuration.
512  "git": {
513    // Control whether the git gutter is shown. May take 2 values:
514    // 1. Show the gutter
515    //      "git_gutter": "tracked_files"
516    // 2. Hide the gutter
517    //      "git_gutter": "hide"
518    "git_gutter": "tracked_files",
519    // Control whether the git blame information is shown inline,
520    // in the currently focused line.
521    "inline_blame": {
522      "enabled": true
523      // Sets a delay after which the inline blame information is shown.
524      // Delay is restarted with every cursor movement.
525      // "delay_ms": 600
526    }
527  },
528  "inline_completions": {
529    // A list of globs representing files that inline completions should be disabled for.
530    "disabled_globs": [".env"]
531  },
532  // Settings specific to journaling
533  "journal": {
534    // The path of the directory where journal entries are stored
535    "path": "~",
536    // What format to display the hours in
537    // May take 2 values:
538    // 1. hour12
539    // 2. hour24
540    "hour_format": "hour12"
541  },
542  // Settings specific to the terminal
543  "terminal": {
544    // What shell to use when opening a terminal. May take 3 values:
545    // 1. Use the system's default terminal configuration in /etc/passwd
546    //      "shell": "system"
547    // 2. A program:
548    //      "shell": {
549    //        "program": "sh"
550    //      }
551    // 3. A program with arguments:
552    //     "shell": {
553    //         "with_arguments": {
554    //           "program": "/bin/bash",
555    //           "arguments": ["--login"]
556    //         }
557    //     }
558    "shell": "system",
559    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
560    "dock": "bottom",
561    // Default width when the terminal is docked to the left or right.
562    "default_width": 640,
563    // Default height when the terminal is docked to the bottom.
564    "default_height": 320,
565    // What working directory to use when launching the terminal.
566    // May take 4 values:
567    // 1. Use the current file's project directory.  Will Fallback to the
568    //    first project directory strategy if unsuccessful
569    //      "working_directory": "current_project_directory"
570    // 2. Use the first project in this workspace's directory
571    //      "working_directory": "first_project_directory"
572    // 3. Always use this platform's home directory (if we can find it)
573    //     "working_directory": "always_home"
574    // 4. Always use a specific directory. This value will be shell expanded.
575    //    If this path is not a valid directory the terminal will default to
576    //    this platform's home directory  (if we can find it)
577    //      "working_directory": {
578    //        "always": {
579    //          "directory": "~/zed/projects/"
580    //        }
581    //      }
582    "working_directory": "current_project_directory",
583    // Set the cursor blinking behavior in the terminal.
584    // May take 3 values:
585    //  1. Never blink the cursor, ignoring the terminal mode
586    //         "blinking": "off",
587    //  2. Default the cursor blink to off, but allow the terminal to
588    //     set blinking
589    //         "blinking": "terminal_controlled",
590    //  3. Always blink the cursor, ignoring the terminal mode
591    //         "blinking": "on",
592    "blinking": "terminal_controlled",
593    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
594    // Alternate Scroll mode converts mouse scroll events into up / down key
595    // presses when in the alternate screen (e.g. when running applications
596    // like vim or  less). The terminal can still set and unset this mode.
597    // May take 2 values:
598    //  1. Default alternate scroll mode to on
599    //         "alternate_scroll": "on",
600    //  2. Default alternate scroll mode to off
601    //         "alternate_scroll": "off",
602    "alternate_scroll": "off",
603    // Set whether the option key behaves as the meta key.
604    // May take 2 values:
605    //  1. Rely on default platform handling of option key, on macOS
606    //     this means generating certain unicode characters
607    //         "option_to_meta": false,
608    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
609    //         "option_to_meta": true,
610    "option_as_meta": false,
611    // Whether or not selecting text in the terminal will automatically
612    // copy to the system clipboard.
613    "copy_on_select": false,
614    // Whether to show the terminal button in the status bar
615    "button": true,
616    // Any key-value pairs added to this list will be added to the terminal's
617    // environment. Use `:` to separate multiple values.
618    "env": {
619      // "KEY": "value1:value2"
620    },
621    // Set the terminal's line height.
622    // May take 3 values:
623    //  1. Use a line height that's comfortable for reading, 1.618
624    //         "line_height": "comfortable"
625    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
626    //      particularly if they use box characters
627    //         "line_height": "standard",
628    //  3. Use a custom line height.
629    //         "line_height": {
630    //           "custom": 2
631    //         },
632    "line_height": "comfortable",
633    // Activate the python virtual environment, if one is found, in the
634    // terminal's working directory (as resolved by the working_directory
635    // setting). Set this to "off" to disable this behavior.
636    "detect_venv": {
637      "on": {
638        // Default directories to search for virtual environments, relative
639        // to the current working directory. We recommend overriding this
640        // in your project's settings, rather than globally.
641        "directories": [".env", "env", ".venv", "venv"],
642        // Can also be `csh`, `fish`, and `nushell`
643        "activate_script": "default"
644      }
645    },
646    "toolbar": {
647      // Whether to display the terminal title in its toolbar.
648      "title": true
649    }
650    // Set the terminal's font size. If this option is not included,
651    // the terminal will default to matching the buffer's font size.
652    // "font_size": 15,
653    // Set the terminal's font family. If this option is not included,
654    // the terminal will default to matching the buffer's font family.
655    // "font_family": "Zed Mono",
656    // Sets the maximum number of lines in the terminal's scrollback buffer.
657    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
658    // Existing terminals will not pick up this change until they are recreated.
659    // "max_scroll_history_lines": 10000,
660  },
661  "code_actions_on_format": {},
662  // An object whose keys are language names, and whose values
663  // are arrays of filenames or extensions of files that should
664  // use those languages.
665  //
666  // For example, to treat files like `foo.notjs` as JavaScript,
667  // and `Embargo.lock` as TOML:
668  //
669  // {
670  //   "JavaScript": ["notjs"],
671  //   "TOML": ["Embargo.lock"]
672  // }
673  //
674  "file_types": {},
675  // The extensions that Zed should automatically install on startup.
676  //
677  // If you don't want any of these extensions, add this field to your settings
678  // and change the value to `false`.
679  "auto_install_extensions": {
680    "html": true
681  },
682  // Different settings for specific languages.
683  "languages": {
684    "Astro": {
685      "prettier": {
686        "allowed": true,
687        "plugins": ["prettier-plugin-astro"]
688      }
689    },
690    "Blade": {
691      "prettier": {
692        "allowed": true
693      }
694    },
695    "C": {
696      "format_on_save": "off"
697    },
698    "C++": {
699      "format_on_save": "off"
700    },
701    "CSS": {
702      "prettier": {
703        "allowed": true
704      }
705    },
706    "Elixir": {
707      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
708    },
709    "Go": {
710      "code_actions_on_format": {
711        "source.organizeImports": true
712      }
713    },
714    "GraphQL": {
715      "prettier": {
716        "allowed": true
717      }
718    },
719    "HEEX": {
720      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
721    },
722    "HTML": {
723      "prettier": {
724        "allowed": true
725      }
726    },
727    "Java": {
728      "prettier": {
729        "allowed": true,
730        "plugins": ["prettier-plugin-java"]
731      }
732    },
733    "JavaScript": {
734      "language_servers": ["!typescript-language-server", "vtsls", "..."],
735      "prettier": {
736        "allowed": true
737      }
738    },
739    "JSON": {
740      "prettier": {
741        "allowed": true
742      }
743    },
744    "Markdown": {
745      "format_on_save": "off",
746      "prettier": {
747        "allowed": true
748      }
749    },
750    "PHP": {
751      "prettier": {
752        "allowed": true,
753        "plugins": ["@prettier/plugin-php"]
754      }
755    },
756    "Ruby": {
757      "language_servers": ["solargraph", "!ruby-lsp", "..."]
758    },
759    "SCSS": {
760      "prettier": {
761        "allowed": true
762      }
763    },
764    "SQL": {
765      "prettier": {
766        "allowed": true,
767        "plugins": ["prettier-plugin-sql"]
768      }
769    },
770    "Svelte": {
771      "prettier": {
772        "allowed": true,
773        "plugins": ["prettier-plugin-svelte"]
774      }
775    },
776    "TSX": {
777      "language_servers": ["!typescript-language-server", "vtsls", "..."],
778      "prettier": {
779        "allowed": true
780      }
781    },
782    "Twig": {
783      "prettier": {
784        "allowed": true
785      }
786    },
787    "TypeScript": {
788      "language_servers": ["!typescript-language-server", "vtsls", "..."],
789      "prettier": {
790        "allowed": true
791      }
792    },
793    "Vue.js": {
794      "prettier": {
795        "allowed": true
796      }
797    },
798    "XML": {
799      "prettier": {
800        "allowed": true,
801        "plugins": ["@prettier/plugin-xml"]
802      }
803    },
804    "YAML": {
805      "prettier": {
806        "allowed": true
807      }
808    }
809  },
810  // Zed's Prettier integration settings.
811  // Allows to enable/disable formatting with Prettier
812  // and configure default Prettier, used when no project-level Prettier installation is found.
813  "prettier": {
814    // // Whether to consider prettier formatter or not when attempting to format a file.
815    // "allowed": false,
816    //
817    // // Use regular Prettier json configuration.
818    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
819    // // the project has no other Prettier installed.
820    // "plugins": [],
821    //
822    // // Use regular Prettier json configuration.
823    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
824    // // the project has no other Prettier installed.
825    // "trailingComma": "es5",
826    // "tabWidth": 4,
827    // "semi": false,
828    // "singleQuote": true
829  },
830  // LSP Specific settings.
831  "lsp": {
832    // Specify the LSP name as a key here.
833    // "rust-analyzer": {
834    //     // These initialization options are merged into Zed's defaults
835    //     "initialization_options": {
836    //         "check": {
837    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
838    //         }
839    //     }
840    // }
841  },
842  // Vim settings
843  "vim": {
844    "use_system_clipboard": "always",
845    "use_multiline_find": false,
846    "use_smartcase_find": false
847  },
848  // The server to connect to. If the environment variable
849  // ZED_SERVER_URL is set, it will override this setting.
850  "server_url": "https://zed.dev",
851  // Settings overrides to use when using Zed Preview.
852  // Mostly useful for developers who are managing multiple instances of Zed.
853  "preview": {
854    // "theme": "Andromeda"
855  },
856  // Settings overrides to use when using Zed Nightly.
857  // Mostly useful for developers who are managing multiple instances of Zed.
858  "nightly": {
859    // "theme": "Andromeda"
860  },
861  // Settings overrides to use when using Zed Stable.
862  // Mostly useful for developers who are managing multiple instances of Zed.
863  "stable": {
864    // "theme": "Andromeda"
865  },
866  // Settings overrides to use when using Zed Dev.
867  // Mostly useful for developers who are managing multiple instances of Zed.
868  "dev": {
869    // "theme": "Andromeda"
870  },
871  // Task-related settings.
872  "task": {
873    // Whether to show task status indicator in the status bar. Default: true
874    "show_status_indicator": true
875  },
876  // Whether to show full labels in line indicator or short ones
877  //
878  // Values:
879  //   - `short`: "2 s, 15 l, 32 c"
880  //   - `long`: "2 selections, 15 lines, 32 characters"
881  // Default: long
882  "line_indicator_format": "long",
883  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
884  //
885  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
886  // `socks5h`. `http` will be used when no scheme is specified.
887  //
888  // By default no proxy will be used, or Zed will try get proxy settings from
889  // environment variables.
890  //
891  // Examples:
892  //   - "proxy": "socks5://localhost:10808"
893  //   - "proxy": "http://127.0.0.1:10809"
894  "proxy": null
895}