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