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
457 "auto_update": true,
458 // Diagnostics configuration.
459 "diagnostics": {
460 // Whether to show warnings or not by default.
461 "include_warnings": true
462 },
463 // Add files or globs of files that will be excluded by Zed entirely:
464 // they will be skipped during FS scan(s), file tree and file search
465 // will lack the corresponding file entries.
466 "file_scan_exclusions": [
467 "**/.git",
468 "**/.svn",
469 "**/.hg",
470 "**/CVS",
471 "**/.DS_Store",
472 "**/Thumbs.db",
473 "**/.classpath",
474 "**/.settings"
475 ],
476 // Git gutter behavior configuration.
477 "git": {
478 // Control whether the git gutter is shown. May take 2 values:
479 // 1. Show the gutter
480 // "git_gutter": "tracked_files"
481 // 2. Hide the gutter
482 // "git_gutter": "hide"
483 "git_gutter": "tracked_files",
484 // Control whether the git blame information is shown inline,
485 // in the currently focused line.
486 "inline_blame": {
487 "enabled": true
488 // Sets a delay after which the inline blame information is shown.
489 // Delay is restarted with every cursor movement.
490 // "delay_ms": 600
491 }
492 },
493 "copilot": {
494 // The set of glob patterns for which copilot should be disabled
495 // in any matching file.
496 "disabled_globs": [".env"]
497 },
498 // Settings specific to journaling
499 "journal": {
500 // The path of the directory where journal entries are stored
501 "path": "~",
502 // What format to display the hours in
503 // May take 2 values:
504 // 1. hour12
505 // 2. hour24
506 "hour_format": "hour12"
507 },
508 // Settings specific to the terminal
509 "terminal": {
510 // What shell to use when opening a terminal. May take 3 values:
511 // 1. Use the system's default terminal configuration in /etc/passwd
512 // "shell": "system"
513 // 2. A program:
514 // "shell": {
515 // "program": "sh"
516 // }
517 // 3. A program with arguments:
518 // "shell": {
519 // "with_arguments": {
520 // "program": "/bin/bash",
521 // "arguments": ["--login"]
522 // }
523 // }
524 "shell": "system",
525 // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
526 "dock": "bottom",
527 // Default width when the terminal is docked to the left or right.
528 "default_width": 640,
529 // Default height when the terminal is docked to the bottom.
530 "default_height": 320,
531 // What working directory to use when launching the terminal.
532 // May take 4 values:
533 // 1. Use the current file's project directory. Will Fallback to the
534 // first project directory strategy if unsuccessful
535 // "working_directory": "current_project_directory"
536 // 2. Use the first project in this workspace's directory
537 // "working_directory": "first_project_directory"
538 // 3. Always use this platform's home directory (if we can find it)
539 // "working_directory": "always_home"
540 // 4. Always use a specific directory. This value will be shell expanded.
541 // If this path is not a valid directory the terminal will default to
542 // this platform's home directory (if we can find it)
543 // "working_directory": {
544 // "always": {
545 // "directory": "~/zed/projects/"
546 // }
547 // }
548 "working_directory": "current_project_directory",
549 // Set the cursor blinking behavior in the terminal.
550 // May take 3 values:
551 // 1. Never blink the cursor, ignoring the terminal mode
552 // "blinking": "off",
553 // 2. Default the cursor blink to off, but allow the terminal to
554 // set blinking
555 // "blinking": "terminal_controlled",
556 // 3. Always blink the cursor, ignoring the terminal mode
557 // "blinking": "on",
558 "blinking": "terminal_controlled",
559 // Set whether Alternate Scroll mode (code: ?1007) is active by default.
560 // Alternate Scroll mode converts mouse scroll events into up / down key
561 // presses when in the alternate screen (e.g. when running applications
562 // like vim or less). The terminal can still set and unset this mode.
563 // May take 2 values:
564 // 1. Default alternate scroll mode to on
565 // "alternate_scroll": "on",
566 // 2. Default alternate scroll mode to off
567 // "alternate_scroll": "off",
568 "alternate_scroll": "off",
569 // Set whether the option key behaves as the meta key.
570 // May take 2 values:
571 // 1. Rely on default platform handling of option key, on macOS
572 // this means generating certain unicode characters
573 // "option_to_meta": false,
574 // 2. Make the option keys behave as a 'meta' key, e.g. for emacs
575 // "option_to_meta": true,
576 "option_as_meta": false,
577 // Whether or not selecting text in the terminal will automatically
578 // copy to the system clipboard.
579 "copy_on_select": false,
580 // Whether to show the terminal button in the status bar
581 "button": true,
582 // Any key-value pairs added to this list will be added to the terminal's
583 // environment. Use `:` to separate multiple values.
584 "env": {
585 // "KEY": "value1:value2"
586 },
587 // Set the terminal's line height.
588 // May take 3 values:
589 // 1. Use a line height that's comfortable for reading, 1.618
590 // "line_height": "comfortable"
591 // 2. Use a standard line height, 1.3. This option is useful for TUIs,
592 // particularly if they use box characters
593 // "line_height": "standard",
594 // 3. Use a custom line height.
595 // "line_height": {
596 // "custom": 2
597 // },
598 "line_height": "comfortable",
599 // Activate the python virtual environment, if one is found, in the
600 // terminal's working directory (as resolved by the working_directory
601 // setting). Set this to "off" to disable this behavior.
602 "detect_venv": {
603 "on": {
604 // Default directories to search for virtual environments, relative
605 // to the current working directory. We recommend overriding this
606 // in your project's settings, rather than globally.
607 "directories": [".env", "env", ".venv", "venv"],
608 // Can also be `csh`, `fish`, and `nushell`
609 "activate_script": "default"
610 }
611 },
612 "toolbar": {
613 // Whether to display the terminal title in its toolbar.
614 "title": true
615 }
616 // Set the terminal's font size. If this option is not included,
617 // the terminal will default to matching the buffer's font size.
618 // "font_size": 15,
619 // Set the terminal's font family. If this option is not included,
620 // the terminal will default to matching the buffer's font family.
621 // "font_family": "Zed Mono",
622 // Sets the maximum number of lines in the terminal's scrollback buffer.
623 // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
624 // Existing terminals will not pick up this change until they are recreated.
625 // "max_scroll_history_lines": 10000,
626 },
627 "code_actions_on_format": {},
628 // An object whose keys are language names, and whose values
629 // are arrays of filenames or extensions of files that should
630 // use those languages.
631 //
632 // For example, to treat files like `foo.notjs` as JavaScript,
633 // and `Embargo.lock` as TOML:
634 //
635 // {
636 // "JavaScript": ["notjs"],
637 // "TOML": ["Embargo.lock"]
638 // }
639 //
640 "file_types": {},
641 // The extensions that Zed should automatically install on startup.
642 //
643 // If you don't want any of these extensions, add this field to your settings
644 // and change the value to `false`.
645 "auto_install_extensions": {
646 "html": true
647 },
648 // Different settings for specific languages.
649 "languages": {
650 "Astro": {
651 "prettier": {
652 "allowed": true,
653 "plugins": ["prettier-plugin-astro"]
654 }
655 },
656 "Blade": {
657 "prettier": {
658 "allowed": true
659 }
660 },
661 "C": {
662 "format_on_save": "off"
663 },
664 "C++": {
665 "format_on_save": "off"
666 },
667 "CSS": {
668 "prettier": {
669 "allowed": true
670 }
671 },
672 "Elixir": {
673 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
674 },
675 "Gleam": {
676 "tab_size": 2
677 },
678 "Go": {
679 "code_actions_on_format": {
680 "source.organizeImports": true
681 }
682 },
683 "GraphQL": {
684 "prettier": {
685 "allowed": true
686 }
687 },
688 "HEEX": {
689 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
690 },
691 "HTML": {
692 "prettier": {
693 "allowed": true
694 }
695 },
696 "Java": {
697 "prettier": {
698 "allowed": true,
699 "plugins": ["prettier-plugin-java"]
700 }
701 },
702 "JavaScript": {
703 "prettier": {
704 "allowed": true
705 }
706 },
707 "JSON": {
708 "prettier": {
709 "allowed": true
710 }
711 },
712 "Make": {
713 "hard_tabs": true
714 },
715 "Markdown": {
716 "format_on_save": "off",
717 "prettier": {
718 "allowed": true
719 }
720 },
721 "PHP": {
722 "prettier": {
723 "allowed": true,
724 "plugins": ["@prettier/plugin-php"]
725 }
726 },
727 "Prisma": {
728 "tab_size": 2
729 },
730 "Ruby": {
731 "language_servers": ["solargraph", "!ruby-lsp", "..."]
732 },
733 "SCSS": {
734 "prettier": {
735 "allowed": true
736 }
737 },
738 "SQL": {
739 "prettier": {
740 "allowed": true,
741 "plugins": ["prettier-plugin-sql"]
742 }
743 },
744 "Svelte": {
745 "prettier": {
746 "allowed": true,
747 "plugins": ["prettier-plugin-svelte"]
748 }
749 },
750 "TSX": {
751 "prettier": {
752 "allowed": true
753 }
754 },
755 "Twig": {
756 "prettier": {
757 "allowed": true
758 }
759 },
760 "TypeScript": {
761 "prettier": {
762 "allowed": true
763 }
764 },
765 "Vue.js": {
766 "prettier": {
767 "allowed": true
768 }
769 },
770 "XML": {
771 "prettier": {
772 "allowed": true,
773 "plugins": ["@prettier/plugin-xml"]
774 }
775 },
776 "YAML": {
777 "prettier": {
778 "allowed": true
779 }
780 }
781 },
782 // Zed's Prettier integration settings.
783 // Allows to enable/disable formatting with Prettier
784 // and configure default Prettier, used when no project-level Prettier installation is found.
785 "prettier": {
786 // // Whether to consider prettier formatter or not when attempting to format a file.
787 // "allowed": false,
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 // "plugins": [],
793 //
794 // // Use regular Prettier json configuration.
795 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
796 // // the project has no other Prettier installed.
797 // "trailingComma": "es5",
798 // "tabWidth": 4,
799 // "semi": false,
800 // "singleQuote": true
801 },
802 // LSP Specific settings.
803 "lsp": {
804 // Specify the LSP name as a key here.
805 // "rust-analyzer": {
806 // // These initialization options are merged into Zed's defaults
807 // "initialization_options": {
808 // "check": {
809 // "command": "clippy" // rust-analyzer.check.command (default: "check")
810 // }
811 // }
812 // }
813 },
814 // Vim settings
815 "vim": {
816 "use_system_clipboard": "always",
817 "use_multiline_find": false,
818 "use_smartcase_find": false
819 },
820 // The server to connect to. If the environment variable
821 // ZED_SERVER_URL is set, it will override this setting.
822 "server_url": "https://zed.dev",
823 // Settings overrides to use when using Zed Preview.
824 // Mostly useful for developers who are managing multiple instances of Zed.
825 "preview": {
826 // "theme": "Andromeda"
827 },
828 // Settings overrides to use when using Zed Nightly.
829 // Mostly useful for developers who are managing multiple instances of Zed.
830 "nightly": {
831 // "theme": "Andromeda"
832 },
833 // Settings overrides to use when using Zed Stable.
834 // Mostly useful for developers who are managing multiple instances of Zed.
835 "stable": {
836 // "theme": "Andromeda"
837 },
838 // Settings overrides to use when using Zed Dev.
839 // Mostly useful for developers who are managing multiple instances of Zed.
840 "dev": {
841 // "theme": "Andromeda"
842 },
843 // Task-related settings.
844 "task": {
845 // Whether to show task status indicator in the status bar. Default: true
846 "show_status_indicator": true
847 },
848 // Whether to show full labels in line indicator or short ones
849 //
850 // Values:
851 // - `short`: "2 s, 15 l, 32 c"
852 // - `long`: "2 selections, 15 lines, 32 characters"
853 // Default: long
854 "line_indicator_format": "long",
855 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
856 //
857 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
858 // `socks5h`. `http` will be used when no scheme is specified.
859 //
860 // By default no proxy will be used, or Zed will try get proxy settings from
861 // environment variables.
862 //
863 // Examples:
864 // - "proxy": "socks5://localhost:10808"
865 // - "proxy": "http://127.0.0.1:10809"
866 "proxy": null
867}