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