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