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