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