default.json

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