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  // Set the buffer text's font fallbacks, this will be merged with
 30  // the platform's default fallbacks.
 31  "buffer_font_fallbacks": [],
 32  // The OpenType features to enable for text in the editor.
 33  "buffer_font_features": {
 34    // Disable ligatures:
 35    // "calt": false
 36  },
 37  // The default font size for text in the editor
 38  "buffer_font_size": 15,
 39  // The weight of the editor font in standard CSS units from 100 to 900.
 40  "buffer_font_weight": 400,
 41  // Set the buffer's line height.
 42  // May take 3 values:
 43  //  1. Use a line height that's comfortable for reading (1.618)
 44  //         "buffer_line_height": "comfortable"
 45  //  2. Use a standard line height, (1.3)
 46  //         "buffer_line_height": "standard",
 47  //  3. Use a custom line height
 48  //         "buffer_line_height": {
 49  //           "custom": 2
 50  //         },
 51  "buffer_line_height": "comfortable",
 52  // The name of a font to use for rendering text in the UI
 53  // You can set this to ".SystemUIFont" to use the system font
 54  "ui_font_family": "Zed Plex Sans",
 55  // Set the UI's font fallbacks, this will be merged with the platform's
 56  // default font fallbacks.
 57  "ui_font_fallbacks": [],
 58  // The OpenType features to enable for text in the UI
 59  "ui_font_features": {
 60    // Disable ligatures:
 61    "calt": false
 62  },
 63  // The weight of the UI font in standard CSS units from 100 to 900.
 64  "ui_font_weight": 400,
 65  // The default font size for text in the UI
 66  "ui_font_size": 16,
 67  // The factor to grow the active pane by. Defaults to 1.0
 68  // which gives the same size as all other panes.
 69  "active_pane_magnification": 1.0,
 70  // Centered layout related settings.
 71  "centered_layout": {
 72    // The relative width of the left padding of the central pane from the
 73    // workspace when the centered layout is used.
 74    "left_padding": 0.2,
 75    // The relative width of the right padding of the central pane from the
 76    // workspace when the centered layout is used.
 77    "right_padding": 0.2
 78  },
 79  // The key to use for adding multiple cursors
 80  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 81  // "cmd" and "ctrl") are supported.
 82  "multi_cursor_modifier": "alt",
 83  // Whether to enable vim modes and key bindings.
 84  "vim_mode": false,
 85  // Whether to show the informational hover box when moving the mouse
 86  // over symbols in the editor.
 87  "hover_popover_enabled": true,
 88  // Whether to confirm before quitting Zed.
 89  "confirm_quit": false,
 90  // Whether to restore last closed project when fresh Zed instance is opened.
 91  "restore_on_startup": "last_session",
 92  // Size of the drop target in the editor.
 93  "drop_target_size": 0.2,
 94  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 95  // May take 3 values:
 96  //  1. Use the current platform's convention
 97  //         "when_closing_with_no_tabs": "platform_default"
 98  //  2. Always close the window:
 99  //         "when_closing_with_no_tabs": "close_window",
100  //  3. Never close the window
101  //         "when_closing_with_no_tabs": "keep_window_open",
102  "when_closing_with_no_tabs": "platform_default",
103  // Whether to use the system provided dialogs for Open and Save As.
104  // When set to false, Zed will use the built-in keyboard-first pickers.
105  "use_system_path_prompts": true,
106  // Whether the cursor blinks in the editor.
107  "cursor_blink": true,
108  // How to highlight the current line in the editor.
109  //
110  // 1. Don't highlight the current line:
111  //    "none"
112  // 2. Highlight the gutter area:
113  //    "gutter"
114  // 3. Highlight the editor area:
115  //    "line"
116  // 4. Highlight the full line (default):
117  //    "all"
118  "current_line_highlight": "all",
119  // Whether to pop the completions menu while typing in an editor without
120  // explicitly requesting it.
121  "show_completions_on_input": true,
122  // Whether to display inline and alongside documentation for items in the
123  // completions menu
124  "show_completion_documentation": true,
125  // The debounce delay before re-querying the language server for completion
126  // documentation when not included in original completion list.
127  "completion_documentation_secondary_query_debounce": 300,
128  // Show method signatures in the editor, when inside parentheses.
129  "auto_signature_help": false,
130  /// Whether to show the signature help after completion or a bracket pair inserted.
131  /// If `auto_signature_help` is enabled, this setting will be treated as enabled also.
132  "show_signature_help_after_edits": true,
133  // Whether to show wrap guides (vertical rulers) in the editor.
134  // Setting this to true will show a guide at the 'preferred_line_length' value
135  // if softwrap is set to 'preferred_line_length', and will show any
136  // additional guides as specified by the 'wrap_guides' setting.
137  "show_wrap_guides": true,
138  // Character counts at which to show wrap guides in the editor.
139  "wrap_guides": [],
140  // Hide the values of in variables from visual display in private files
141  "redact_private_values": false,
142  // The default number of lines to expand excerpts in the multibuffer by.
143  "expand_excerpt_lines": 3,
144  // Globs to match against file paths to determine if a file is private.
145  "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
146  // Whether to use additional LSP queries to format (and amend) the code after
147  // every "trigger" symbol input, defined by LSP server capabilities.
148  "use_on_type_format": true,
149  // Whether to automatically add matching closing characters when typing
150  // opening parenthesis, bracket, brace, single or double quote characters.
151  // For example, when you type (, Zed will add a closing ) at the correct position.
152  "use_autoclose": true,
153  // Whether to automatically surround selected text when typing opening parenthesis,
154  // bracket, brace, single or double quote characters.
155  // For example, when you select text and type (, Zed will surround the text with ().
156  "use_auto_surround": true,
157  // Controls how the editor handles the autoclosed characters.
158  // When set to `false`(default), skipping over and auto-removing of the closing characters
159  // happen only for auto-inserted characters.
160  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
161  // no matter how they were inserted.
162  "always_treat_brackets_as_autoclosed": false,
163  // Controls whether inline completions are shown immediately (true)
164  // or manually by triggering `editor::ShowInlineCompletion` (false).
165  "show_inline_completions": true,
166  // Whether to show tabs and spaces in the editor.
167  // This setting can take three values:
168  //
169  // 1. Draw tabs and spaces only for the selected text (default):
170  //    "selection"
171  // 2. Do not draw any tabs or spaces:
172  //    "none"
173  // 3. Draw all invisible symbols:
174  //    "all"
175  // 4. Draw whitespaces at boundaries only:
176  //    "boundary"
177  // For a whitespace to be on a boundary, any of the following conditions need to be met:
178  // - It is a tab
179  // - It is adjacent to an edge (start or end)
180  // - It is adjacent to a whitespace (left or right)
181  "show_whitespaces": "selection",
182  // Settings related to calls in Zed
183  "calls": {
184    // Join calls with the microphone live by default
185    "mute_on_join": false,
186    // Share your project when you are the first to join a channel
187    "share_on_join": false
188  },
189  // Toolbar related settings
190  "toolbar": {
191    // Whether to show breadcrumbs.
192    "breadcrumbs": true,
193    // Whether to show quick action buttons.
194    "quick_actions": true,
195    // Whether to show the Selections menu in the editor toolbar
196    "selections_menu": true
197  },
198  // Scrollbar related settings
199  "scrollbar": {
200    // When to show the scrollbar in the editor.
201    // This setting can take four values:
202    //
203    // 1. Show the scrollbar if there's important information or
204    //    follow the system's configured behavior (default):
205    //   "auto"
206    // 2. Match the system's configured behavior:
207    //    "system"
208    // 3. Always show the scrollbar:
209    //    "always"
210    // 4. Never show the scrollbar:
211    //    "never"
212    "show": "auto",
213    // Whether to show cursor positions in the scrollbar.
214    "cursors": true,
215    // Whether to show git diff indicators in the scrollbar.
216    "git_diff": true,
217    // Whether to show buffer search results in the scrollbar.
218    "search_results": true,
219    // Whether to show selected symbol occurrences in the scrollbar.
220    "selected_symbol": true,
221    // Whether to show diagnostic indicators in the scrollbar.
222    "diagnostics": true
223  },
224  // What to do when multibuffer is double clicked in some of its excerpts
225  // (parts of singleton buffers).
226  // May take 2 values:
227  //  1. Behave as a regular buffer and select the whole word (default).
228  //         "double_click_in_multibuffer": "select"
229  //  2. Open the excerpt clicked as a new buffer in the new tab.
230  //         "double_click_in_multibuffer": "open",
231  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
232  "double_click_in_multibuffer": "select",
233  "gutter": {
234    // Whether to show line numbers in the gutter.
235    "line_numbers": true,
236    // Whether to show code action buttons in the gutter.
237    "code_actions": true,
238    // Whether to show runnables buttons in the gutter.
239    "runnables": true,
240    // Whether to show fold buttons in the gutter.
241    "folds": true
242  },
243  "indent_guides": {
244    /// Whether to show indent guides in the editor.
245    "enabled": true,
246    /// The width of the indent guides in pixels, between 1 and 10.
247    "line_width": 1,
248    /// The width of the active indent guide in pixels, between 1 and 10.
249    "active_line_width": 1,
250    /// Determines how indent guides are colored.
251    /// This setting can take the following three values:
252    ///
253    /// 1. "disabled"
254    /// 2. "fixed"
255    /// 3. "indent_aware"
256    "coloring": "fixed",
257    /// Determines how indent guide backgrounds are colored.
258    /// This setting can take the following two values:
259    ///
260    /// 1. "disabled"
261    /// 2. "indent_aware"
262    "background_coloring": "disabled"
263  },
264  // Whether the editor will scroll beyond the last line.
265  "scroll_beyond_last_line": "one_page",
266  // The number of lines to keep above/below the cursor when scrolling.
267  "vertical_scroll_margin": 3,
268  // Scroll sensitivity multiplier. This multiplier is applied
269  // to both the horizontal and vertical delta values while scrolling.
270  "scroll_sensitivity": 1.0,
271  "relative_line_numbers": false,
272  // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
273  "search_wrap": true,
274  // When to populate a new search's query based on the text under the cursor.
275  // This setting can take the following three values:
276  //
277  // 1. Always populate the search query with the word under the cursor (default).
278  //    "always"
279  // 2. Only populate the search query when there is text selected
280  //    "selection"
281  // 3. Never populate the search query
282  //    "never"
283  "seed_search_query_from_cursor": "always",
284  // Inlay hint related settings
285  "inlay_hints": {
286    // Global switch to toggle hints on and off, switched off by default.
287    "enabled": false,
288    // Toggle certain types of hints on and off, all switched on by default.
289    "show_type_hints": true,
290    "show_parameter_hints": true,
291    // Corresponds to null/None LSP hint type value.
292    "show_other_hints": true,
293    // Time to wait after editing the buffer, before requesting the hints,
294    // set to 0 to disable debouncing.
295    "edit_debounce_ms": 700,
296    // Time to wait after scrolling the buffer, before requesting the hints,
297    // set to 0 to disable debouncing.
298    "scroll_debounce_ms": 50
299  },
300  "project_panel": {
301    // Whether to show the project panel button in the status bar
302    "button": true,
303    // Default width of the project panel.
304    "default_width": 240,
305    // Where to dock the project panel. Can be 'left' or 'right'.
306    "dock": "left",
307    // Whether to show file icons in the project panel.
308    "file_icons": true,
309    // Whether to show folder icons or chevrons for directories in the project panel.
310    "folder_icons": true,
311    // Whether to show the git status in the project panel.
312    "git_status": true,
313    // Amount of indentation for nested items.
314    "indent_size": 20,
315    // Whether to reveal it in the project panel automatically,
316    // when a corresponding project entry becomes active.
317    // Gitignored entries are never auto revealed.
318    "auto_reveal_entries": true,
319    // Whether to fold directories automatically and show compact folders
320    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
321    "auto_fold_dirs": true,
322    /// Scrollbar-related settings
323    "scrollbar": {
324      /// When to show the scrollbar in the project panel.
325      ///
326      /// Default: always
327      "show": "always"
328    }
329  },
330  "outline_panel": {
331    // Whether to show the outline panel button in the status bar
332    "button": true,
333    // Default width of the outline panel.
334    "default_width": 300,
335    // Where to dock the outline panel. Can be 'left' or 'right'.
336    "dock": "left",
337    // Whether to show file icons in the outline panel.
338    "file_icons": true,
339    // Whether to show folder icons or chevrons for directories in the outline panel.
340    "folder_icons": true,
341    // Whether to show the git status in the outline panel.
342    "git_status": true,
343    // Amount of indentation for nested items.
344    "indent_size": 20,
345    // Whether to reveal it in the outline panel automatically,
346    // when a corresponding outline entry becomes active.
347    // Gitignored entries are never auto revealed.
348    "auto_reveal_entries": true,
349    /// Whether to fold directories automatically
350    /// when a directory has only one directory inside.
351    "auto_fold_dirs": true
352  },
353  "collaboration_panel": {
354    // Whether to show the collaboration panel button in the status bar.
355    "button": true,
356    // Where to dock the collaboration panel. Can be 'left' or 'right'.
357    "dock": "left",
358    // Default width of the collaboration panel.
359    "default_width": 240
360  },
361  "chat_panel": {
362    // Whether to show the chat panel button in the status bar.
363    "button": true,
364    // Where to the chat panel. Can be 'left' or 'right'.
365    "dock": "right",
366    // Default width of the chat panel.
367    "default_width": 240
368  },
369  "message_editor": {
370    // Whether to automatically replace emoji shortcodes with emoji characters.
371    // For example: typing `:wave:` gets replaced with `👋`.
372    "auto_replace_emoji_shortcode": true
373  },
374  "notification_panel": {
375    // Whether to show the notification panel button in the status bar.
376    "button": true,
377    // Where to dock the notification panel. Can be 'left' or 'right'.
378    "dock": "right",
379    // Default width of the notification panel.
380    "default_width": 380
381  },
382  "assistant": {
383    // Version of this setting.
384    "version": "2",
385    // Whether the assistant is enabled.
386    "enabled": true,
387    // Whether to show the assistant panel button in the status bar.
388    "button": true,
389    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
390    "dock": "right",
391    // Default width when the assistant is docked to the left or right.
392    "default_width": 640,
393    // Default height when the assistant is docked to the bottom.
394    "default_height": 320,
395    // The default model to use when creating new contexts.
396    "default_model": {
397      // The provider to use.
398      "provider": "openai",
399      // The model to use.
400      "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  // When to automatically save edited buffers. This setting can
415  // take four values.
416  //
417  // 1. Never automatically save:
418  //     "autosave": "off",
419  // 2. Save when changing focus away from the Zed window:
420  //     "autosave": "on_window_change",
421  // 3. Save when changing focus away from a specific buffer:
422  //     "autosave": "on_focus_change",
423  // 4. Save when idle for a certain amount of time:
424  //     "autosave": { "after_delay": {"milliseconds": 500} },
425  "autosave": "off",
426  // Settings related to the editor's tab bar.
427  "tab_bar": {
428    // Whether or not to show the tab bar in the editor
429    "show": true,
430    // Whether or not to show the navigation history buttons.
431    "show_nav_history_buttons": true
432  },
433  // Settings related to the editor's tabs
434  "tabs": {
435    // Show git status colors in the editor tabs.
436    "git_status": false,
437    // Position of the close button on the editor tabs.
438    "close_position": "right",
439    // Whether to show the file icon for a tab.
440    "file_icons": false
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  // Configuration for how direnv configuration should be loaded. May take 2 values:
549  // 1. Load direnv configuration through the shell hook, works for POSIX shells and fish.
550  //      "load_direnv": "shell_hook"
551  // 2. Load direnv configuration using `direnv export json` directly.
552  //    This can help with some shells that otherwise would not detect
553  //    the direnv environment, such as nushell or elvish.
554  //      "load_direnv": "direct"
555  "load_direnv": "shell_hook",
556  "inline_completions": {
557    // A list of globs representing files that inline completions should be disabled for.
558    "disabled_globs": [".env"]
559  },
560  // Settings specific to journaling
561  "journal": {
562    // The path of the directory where journal entries are stored
563    "path": "~",
564    // What format to display the hours in
565    // May take 2 values:
566    // 1. hour12
567    // 2. hour24
568    "hour_format": "hour12"
569  },
570  // Settings specific to the terminal
571  "terminal": {
572    // What shell to use when opening a terminal. May take 3 values:
573    // 1. Use the system's default terminal configuration in /etc/passwd
574    //      "shell": "system"
575    // 2. A program:
576    //      "shell": {
577    //        "program": "sh"
578    //      }
579    // 3. A program with arguments:
580    //     "shell": {
581    //         "with_arguments": {
582    //           "program": "/bin/bash",
583    //           "arguments": ["--login"]
584    //         }
585    //     }
586    "shell": "system",
587    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
588    "dock": "bottom",
589    // Default width when the terminal is docked to the left or right.
590    "default_width": 640,
591    // Default height when the terminal is docked to the bottom.
592    "default_height": 320,
593    // What working directory to use when launching the terminal.
594    // May take 4 values:
595    // 1. Use the current file's project directory.  Will Fallback to the
596    //    first project directory strategy if unsuccessful
597    //      "working_directory": "current_project_directory"
598    // 2. Use the first project in this workspace's directory
599    //      "working_directory": "first_project_directory"
600    // 3. Always use this platform's home directory (if we can find it)
601    //     "working_directory": "always_home"
602    // 4. Always use a specific directory. This value will be shell expanded.
603    //    If this path is not a valid directory the terminal will default to
604    //    this platform's home directory  (if we can find it)
605    //      "working_directory": {
606    //        "always": {
607    //          "directory": "~/zed/projects/"
608    //        }
609    //      }
610    "working_directory": "current_project_directory",
611    // Set the cursor blinking behavior in the terminal.
612    // May take 3 values:
613    //  1. Never blink the cursor, ignoring the terminal mode
614    //         "blinking": "off",
615    //  2. Default the cursor blink to off, but allow the terminal to
616    //     set blinking
617    //         "blinking": "terminal_controlled",
618    //  3. Always blink the cursor, ignoring the terminal mode
619    //         "blinking": "on",
620    "blinking": "terminal_controlled",
621    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
622    // Alternate Scroll mode converts mouse scroll events into up / down key
623    // presses when in the alternate screen (e.g. when running applications
624    // like vim or  less). The terminal can still set and unset this mode.
625    // May take 2 values:
626    //  1. Default alternate scroll mode to on
627    //         "alternate_scroll": "on",
628    //  2. Default alternate scroll mode to off
629    //         "alternate_scroll": "off",
630    "alternate_scroll": "off",
631    // Set whether the option key behaves as the meta key.
632    // May take 2 values:
633    //  1. Rely on default platform handling of option key, on macOS
634    //     this means generating certain unicode characters
635    //         "option_to_meta": false,
636    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
637    //         "option_to_meta": true,
638    "option_as_meta": false,
639    // Whether or not selecting text in the terminal will automatically
640    // copy to the system clipboard.
641    "copy_on_select": false,
642    // Whether to show the terminal button in the status bar
643    "button": true,
644    // Any key-value pairs added to this list will be added to the terminal's
645    // environment. Use `:` to separate multiple values.
646    "env": {
647      // "KEY": "value1:value2"
648    },
649    // Set the terminal's line height.
650    // May take 3 values:
651    //  1. Use a line height that's comfortable for reading, 1.618
652    //         "line_height": "comfortable"
653    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
654    //      particularly if they use box characters
655    //         "line_height": "standard",
656    //  3. Use a custom line height.
657    //         "line_height": {
658    //           "custom": 2
659    //         },
660    "line_height": "comfortable",
661    // Activate the python virtual environment, if one is found, in the
662    // terminal's working directory (as resolved by the working_directory
663    // setting). Set this to "off" to disable this behavior.
664    "detect_venv": {
665      "on": {
666        // Default directories to search for virtual environments, relative
667        // to the current working directory. We recommend overriding this
668        // in your project's settings, rather than globally.
669        "directories": [".env", "env", ".venv", "venv"],
670        // Can also be `csh`, `fish`, and `nushell`
671        "activate_script": "default"
672      }
673    },
674    "toolbar": {
675      // Whether to display the terminal title in its toolbar.
676      "title": true
677    }
678    // Set the terminal's font size. If this option is not included,
679    // the terminal will default to matching the buffer's font size.
680    // "font_size": 15,
681    // Set the terminal's font family. If this option is not included,
682    // the terminal will default to matching the buffer's font family.
683    // "font_family": "Zed Plex Mono",
684    // Set the terminal's font fallbacks. If this option is not included,
685    // the terminal will default to matching the buffer's font fallbacks.
686    // This will be merged with the platform's default font fallbacks
687    // "font_fallbacks": ["FiraCode Nerd Fonts"],
688    // Sets the maximum number of lines in the terminal's scrollback buffer.
689    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
690    // Existing terminals will not pick up this change until they are recreated.
691    // "max_scroll_history_lines": 10000,
692  },
693  "code_actions_on_format": {},
694  /// Settings related to running tasks.
695  "tasks": {
696    "variables": {}
697  },
698  // An object whose keys are language names, and whose values
699  // are arrays of filenames or extensions of files that should
700  // use those languages.
701  //
702  // For example, to treat files like `foo.notjs` as JavaScript,
703  // and `Embargo.lock` as TOML:
704  //
705  // {
706  //   "JavaScript": ["notjs"],
707  //   "TOML": ["Embargo.lock"]
708  // }
709  //
710  "file_types": {
711    "JSON": ["flake.lock"],
712    "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "tsconfig.json"]
713  },
714  // The extensions that Zed should automatically install on startup.
715  //
716  // If you don't want any of these extensions, add this field to your settings
717  // and change the value to `false`.
718  "auto_install_extensions": {
719    "html": true
720  },
721  // Different settings for specific languages.
722  "languages": {
723    "Astro": {
724      "prettier": {
725        "allowed": true,
726        "plugins": ["prettier-plugin-astro"]
727      }
728    },
729    "Blade": {
730      "prettier": {
731        "allowed": true
732      }
733    },
734    "C": {
735      "format_on_save": "off",
736      "use_on_type_format": false
737    },
738    "C++": {
739      "format_on_save": "off",
740      "use_on_type_format": false
741    },
742    "CSS": {
743      "prettier": {
744        "allowed": true
745      }
746    },
747    "Elixir": {
748      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
749    },
750    "Erlang": {
751      "language_servers": ["erlang-ls", "!elp", "..."]
752    },
753    "Go": {
754      "code_actions_on_format": {
755        "source.organizeImports": true
756      }
757    },
758    "GraphQL": {
759      "prettier": {
760        "allowed": true
761      }
762    },
763    "HEEX": {
764      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
765    },
766    "HTML": {
767      "prettier": {
768        "allowed": true
769      }
770    },
771    "Java": {
772      "prettier": {
773        "allowed": true,
774        "plugins": ["prettier-plugin-java"]
775      }
776    },
777    "JavaScript": {
778      "language_servers": ["!typescript-language-server", "vtsls", "..."],
779      "prettier": {
780        "allowed": true
781      }
782    },
783    "JSON": {
784      "prettier": {
785        "allowed": true
786      }
787    },
788    "JSONC": {
789      "prettier": {
790        "allowed": true
791      }
792    },
793    "Markdown": {
794      "format_on_save": "off",
795      "use_on_type_format": false,
796      "prettier": {
797        "allowed": true
798      }
799    },
800    "PHP": {
801      "language_servers": ["phpactor", "!intelephense", "..."],
802      "prettier": {
803        "allowed": true,
804        "plugins": ["@prettier/plugin-php"],
805        "parser": "php"
806      }
807    },
808    "Ruby": {
809      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
810    },
811    "SCSS": {
812      "prettier": {
813        "allowed": true
814      }
815    },
816    "SQL": {
817      "prettier": {
818        "allowed": true,
819        "plugins": ["prettier-plugin-sql"]
820      }
821    },
822    "Starlark": {
823      "language_servers": ["starpls", "!buck2-lsp", "..."]
824    },
825    "Svelte": {
826      "prettier": {
827        "allowed": true,
828        "plugins": ["prettier-plugin-svelte"]
829      }
830    },
831    "TSX": {
832      "language_servers": ["!typescript-language-server", "vtsls", "..."],
833      "prettier": {
834        "allowed": true
835      }
836    },
837    "Twig": {
838      "prettier": {
839        "allowed": true
840      }
841    },
842    "TypeScript": {
843      "language_servers": ["!typescript-language-server", "vtsls", "..."],
844      "prettier": {
845        "allowed": true
846      }
847    },
848    "Vue.js": {
849      "prettier": {
850        "allowed": true
851      }
852    },
853    "XML": {
854      "prettier": {
855        "allowed": true,
856        "plugins": ["@prettier/plugin-xml"]
857      }
858    },
859    "YAML": {
860      "prettier": {
861        "allowed": true
862      }
863    }
864  },
865  // Different settings for specific language models.
866  "language_models": {
867    "anthropic": {
868      "api_url": "https://api.anthropic.com"
869    },
870    "openai": {
871      "api_url": "https://api.openai.com/v1"
872    },
873    "google": {
874      "api_url": "https://generativelanguage.googleapis.com"
875    },
876    "ollama": {
877      "api_url": "http://localhost:11434"
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  // Jupyter settings
913  "jupyter": {
914    "enabled": true
915    // Specify the language name as the key and the kernel name as the value.
916    // "kernel_selections": {
917    //    "python": "conda-base"
918    //    "typescript": "deno"
919    // }
920  },
921  // Vim settings
922  "vim": {
923    "use_system_clipboard": "always",
924    "use_multiline_find": false,
925    "use_smartcase_find": false
926  },
927  // The server to connect to. If the environment variable
928  // ZED_SERVER_URL is set, it will override this setting.
929  "server_url": "https://zed.dev",
930  // Settings overrides to use when using Zed Preview.
931  // Mostly useful for developers who are managing multiple instances of Zed.
932  "preview": {
933    // "theme": "Andromeda"
934  },
935  // Settings overrides to use when using Zed Nightly.
936  // Mostly useful for developers who are managing multiple instances of Zed.
937  "nightly": {
938    // "theme": "Andromeda"
939  },
940  // Settings overrides to use when using Zed Stable.
941  // Mostly useful for developers who are managing multiple instances of Zed.
942  "stable": {
943    // "theme": "Andromeda"
944  },
945  // Settings overrides to use when using Zed Dev.
946  // Mostly useful for developers who are managing multiple instances of Zed.
947  "dev": {
948    // "theme": "Andromeda"
949  },
950  // Task-related settings.
951  "task": {
952    // Whether to show task status indicator in the status bar. Default: true
953    "show_status_indicator": true
954  },
955  // Whether to show full labels in line indicator or short ones
956  //
957  // Values:
958  //   - `short`: "2 s, 15 l, 32 c"
959  //   - `long`: "2 selections, 15 lines, 32 characters"
960  // Default: long
961  "line_indicator_format": "long",
962  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
963  //
964  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
965  // `socks5h`. `http` will be used when no scheme is specified.
966  //
967  // By default no proxy will be used, or Zed will try get proxy settings from
968  // environment variables.
969  //
970  // Examples:
971  //   - "proxy": "socks5://localhost:10808"
972  //   - "proxy": "http://127.0.0.1:10809"
973  "proxy": null,
974  // Set to configure aliases for the command palette.
975  // When typing a query which is a key of this object, the value will be used instead.
976  //
977  // Examples:
978  // {
979  //   "W": "workspace::Save"
980  // }
981  "command_aliases": {},
982  // ssh_connections is an array of ssh connections.
983  // By default this setting is null, which disables the direct ssh connection support.
984  // You can configure these from `project: Open Remote` in the command palette.
985  // Zed's ssh support will pull configuration from your ~/.ssh too.
986  // Examples:
987  // [
988  //   {
989  //     "host": "example-box",
990  //     "projects": [
991  //       {
992  //         "paths": ["/home/user/code/zed"]
993  //       }
994  //     ]
995  //   }
996  // ]
997  "ssh_connections": null
998}