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