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