default.json

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