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