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