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