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