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