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": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
135 // Whether to use additional LSP queries to format (and amend) the code after
136 // every "trigger" symbol input, defined by LSP server capabilities.
137 "use_on_type_format": true,
138 // Whether to automatically add matching closing characters when typing
139 // opening parenthesis, bracket, brace, single or double quote characters.
140 // For example, when you type (, Zed will add a closing ) at the correct position.
141 "use_autoclose": true,
142 // Controls how the editor handles the autoclosed characters.
143 // When set to `false`(default), skipping over and auto-removing of the closing characters
144 // happen only for auto-inserted characters.
145 // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
146 // no matter how they were inserted.
147 "always_treat_brackets_as_autoclosed": false,
148 // Controls whether copilot provides suggestion immediately
149 // or waits for a `copilot::Toggle`
150 "show_copilot_suggestions": true,
151 // Whether to show tabs and spaces in the editor.
152 // This setting can take three values:
153 //
154 // 1. Draw tabs and spaces only for the selected text (default):
155 // "selection"
156 // 2. Do not draw any tabs or spaces:
157 // "none"
158 // 3. Draw all invisible symbols:
159 // "all"
160 // 4. Draw whitespaces at boundaries only:
161 // "boundaries"
162 // For a whitespace to be on a boundary, any of the following conditions need to be met:
163 // - It is a tab
164 // - It is adjacent to an edge (start or end)
165 // - It is adjacent to a whitespace (left or right)
166 "show_whitespaces": "selection",
167 // Settings related to calls in Zed
168 "calls": {
169 // Join calls with the microphone live by default
170 "mute_on_join": false,
171 // Share your project when you are the first to join a channel
172 "share_on_join": false
173 },
174 // Toolbar related settings
175 "toolbar": {
176 // Whether to show breadcrumbs.
177 "breadcrumbs": true,
178 // Whether to show quick action buttons.
179 "quick_actions": true
180 },
181 // Scrollbar related settings
182 "scrollbar": {
183 // When to show the scrollbar in the editor.
184 // This setting can take four values:
185 //
186 // 1. Show the scrollbar if there's important information or
187 // follow the system's configured behavior (default):
188 // "auto"
189 // 2. Match the system's configured behavior:
190 // "system"
191 // 3. Always show the scrollbar:
192 // "always"
193 // 4. Never show the scrollbar:
194 // "never"
195 "show": "auto",
196 // Whether to show cursor positions in the scrollbar.
197 "cursors": true,
198 // Whether to show git diff indicators in the scrollbar.
199 "git_diff": true,
200 // Whether to show buffer search results in the scrollbar.
201 "search_results": true,
202 // Whether to show selected symbol occurrences in the scrollbar.
203 "selected_symbol": true,
204 // Whether to show diagnostic indicators in the scrollbar.
205 "diagnostics": true
206 },
207 // What to do when multibuffer is double clicked in some of its excerpts
208 // (parts of singleton buffers).
209 // May take 2 values:
210 // 1. Behave as a regular buffer and select the whole word (default).
211 // "double_click_in_multibuffer": "select"
212 // 2. Open the excerpt clicked as a new buffer in the new tab.
213 // "double_click_in_multibuffer": "open",
214 // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
215 "double_click_in_multibuffer": "select",
216 "gutter": {
217 // Whether to show line numbers in the gutter.
218 "line_numbers": true,
219 // Whether to show code action buttons in the gutter.
220 "code_actions": true,
221 // Whether to show fold buttons in the gutter.
222 "folds": true
223 },
224 "indent_guides": {
225 /// Whether to show indent guides in the editor.
226 "enabled": true,
227 /// The width of the indent guides in pixels, between 1 and 10.
228 "line_width": 1,
229 /// Determines how indent guides are colored.
230 /// This setting can take the following three values:
231 ///
232 /// 1. "disabled"
233 /// 2. "fixed"
234 /// 3. "indent_aware"
235 "coloring": "fixed",
236 /// Determines how indent guide backgrounds are colored.
237 /// This setting can take the following two values:
238 ///
239 /// 1. "disabled"
240 /// 2. "indent_aware"
241 "background_coloring": "disabled"
242 },
243 // The number of lines to keep above/below the cursor when scrolling.
244 "vertical_scroll_margin": 3,
245 // Scroll sensitivity multiplier. This multiplier is applied
246 // to both the horizontal and vertical delta values while scrolling.
247 "scroll_sensitivity": 1.0,
248 "relative_line_numbers": false,
249 // When to populate a new search's query based on the text under the cursor.
250 // This setting can take the following three values:
251 //
252 // 1. Always populate the search query with the word under the cursor (default).
253 // "always"
254 // 2. Only populate the search query when there is text selected
255 // "selection"
256 // 3. Never populate the search query
257 // "never"
258 "seed_search_query_from_cursor": "always",
259 // Inlay hint related settings
260 "inlay_hints": {
261 // Global switch to toggle hints on and off, switched off by default.
262 "enabled": false,
263 // Toggle certain types of hints on and off, all switched on by default.
264 "show_type_hints": true,
265 "show_parameter_hints": true,
266 // Corresponds to null/None LSP hint type value.
267 "show_other_hints": true,
268 // Time to wait after editing the buffer, before requesting the hints,
269 // set to 0 to disable debouncing.
270 "edit_debounce_ms": 700,
271 // Time to wait after scrolling the buffer, before requesting the hints,
272 // set to 0 to disable debouncing.
273 "scroll_debounce_ms": 50
274 },
275 "project_panel": {
276 // Whether to show the project panel button in the status bar
277 "button": true,
278 // Default width of the project panel.
279 "default_width": 240,
280 // Where to dock the project panel. Can be 'left' or 'right'.
281 "dock": "left",
282 // Whether to show file icons in the project panel.
283 "file_icons": true,
284 // Whether to show folder icons or chevrons for directories in the project panel.
285 "folder_icons": true,
286 // Whether to show the git status in the project panel.
287 "git_status": true,
288 // Amount of indentation for nested items.
289 "indent_size": 20,
290 // Whether to reveal it in the project panel automatically,
291 // when a corresponding project entry becomes active.
292 // Gitignored entries are never auto revealed.
293 "auto_reveal_entries": true,
294 /// Whether to fold directories automatically
295 /// when a directory has only one directory inside.
296 "auto_fold_dirs": false
297 },
298 "collaboration_panel": {
299 // Whether to show the collaboration panel button in the status bar.
300 "button": true,
301 // Where to dock the collaboration panel. Can be 'left' or 'right'.
302 "dock": "left",
303 // Default width of the collaboration panel.
304 "default_width": 240
305 },
306 "chat_panel": {
307 // Whether to show the chat panel button in the status bar.
308 "button": true,
309 // Where to the chat panel. Can be 'left' or 'right'.
310 "dock": "right",
311 // Default width of the chat panel.
312 "default_width": 240
313 },
314 "message_editor": {
315 // Whether to automatically replace emoji shortcodes with emoji characters.
316 // For example: typing `:wave:` gets replaced with `👋`.
317 "auto_replace_emoji_shortcode": true
318 },
319 "notification_panel": {
320 // Whether to show the notification panel button in the status bar.
321 "button": true,
322 // Where to dock the notification panel. Can be 'left' or 'right'.
323 "dock": "right",
324 // Default width of the notification panel.
325 "default_width": 380
326 },
327 "assistant": {
328 // Version of this setting.
329 "version": "1",
330 // Whether the assistant is enabled.
331 "enabled": true,
332 // Whether to show the assistant panel button in the status bar.
333 "button": true,
334 // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
335 "dock": "right",
336 // Default width when the assistant is docked to the left or right.
337 "default_width": 640,
338 // Default height when the assistant is docked to the bottom.
339 "default_height": 320,
340 // AI provider.
341 "provider": {
342 "name": "openai",
343 // The default model to use when creating new contexts. This
344 // setting can take three values:
345 //
346 // 1. "gpt-3.5-turbo"
347 // 2. "gpt-4"
348 // 3. "gpt-4-turbo-preview"
349 // 4. "gpt-4o"
350 "default_model": "gpt-4o"
351 }
352 },
353 // Whether the screen sharing icon is shown in the os status bar.
354 "show_call_status_icon": true,
355 // Whether to use language servers to provide code intelligence.
356 "enable_language_server": true,
357 // The list of language servers to use (or disable) for all languages.
358 //
359 // This is typically customized on a per-language basis.
360 "language_servers": ["..."],
361 // When to automatically save edited buffers. This setting can
362 // take four values.
363 //
364 // 1. Never automatically save:
365 // "autosave": "off",
366 // 2. Save when changing focus away from the Zed window:
367 // "autosave": "on_window_change",
368 // 3. Save when changing focus away from a specific buffer:
369 // "autosave": "on_focus_change",
370 // 4. Save when idle for a certain amount of time:
371 // "autosave": { "after_delay": {"milliseconds": 500} },
372 "autosave": "off",
373 // Settings related to the editor's tab bar.
374 "tab_bar": {
375 // Whether or not to show the tab bar in the editor
376 "show": true,
377 // Whether or not to show the navigation history buttons.
378 "show_nav_history_buttons": true
379 },
380 // Settings related to the editor's tabs
381 "tabs": {
382 // Show git status colors in the editor tabs.
383 "git_status": false,
384 // Position of the close button on the editor tabs.
385 "close_position": "right"
386 },
387 // Settings related to preview tabs.
388 "preview_tabs": {
389 // Whether preview tabs should be enabled.
390 // Preview tabs allow you to open files in preview mode, where they close automatically
391 // when you switch to another file unless you explicitly pin them.
392 // This is useful for quickly viewing files without cluttering your workspace.
393 "enabled": true,
394 // Whether to open tabs in preview mode when selected from the file finder.
395 "enable_preview_from_file_finder": false,
396 // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
397 "enable_preview_from_code_navigation": false
398 },
399 // Whether or not to remove any trailing whitespace from lines of a buffer
400 // before saving it.
401 "remove_trailing_whitespace_on_save": true,
402 // Whether to start a new line with a comment when a previous line is a comment as well.
403 "extend_comment_on_newline": true,
404 // Whether or not to ensure there's a single newline at the end of a buffer
405 // when saving it.
406 "ensure_final_newline_on_save": true,
407 // Whether or not to perform a buffer format before saving
408 //
409 // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
410 "format_on_save": "on",
411 // How to perform a buffer format. This setting can take 4 values:
412 //
413 // 1. Format code using the current language server:
414 // "formatter": "language_server"
415 // 2. Format code using an external command:
416 // "formatter": {
417 // "external": {
418 // "command": "prettier",
419 // "arguments": ["--stdin-filepath", "{buffer_path}"]
420 // }
421 // }
422 // 3. Format code using Zed's Prettier integration:
423 // "formatter": "prettier"
424 // 4. Default. Format files using Zed's Prettier integration (if applicable),
425 // or falling back to formatting via language server:
426 // "formatter": "auto"
427 "formatter": "auto",
428 // How to soft-wrap long lines of text. This setting can take
429 // three values:
430 //
431 // 1. Do not soft wrap.
432 // "soft_wrap": "none",
433 // 2. Prefer a single line generally, unless an overly long line is encountered.
434 // "soft_wrap": "prefer_line",
435 // 3. Soft wrap lines that overflow the editor:
436 // "soft_wrap": "editor_width",
437 // 4. Soft wrap lines at the preferred line length
438 // "soft_wrap": "preferred_line_length",
439 "soft_wrap": "prefer_line",
440 // The column at which to soft-wrap lines, for buffers where soft-wrap
441 // is enabled.
442 "preferred_line_length": 80,
443 // Whether to indent lines using tab characters, as opposed to multiple
444 // spaces.
445 "hard_tabs": false,
446 // How many columns a tab should occupy.
447 "tab_size": 4,
448 // Control what info is collected by Zed.
449 "telemetry": {
450 // Send debug info like crash reports.
451 "diagnostics": true,
452 // Send anonymized usage data like what languages you're using Zed with.
453 "metrics": true
454 },
455 // Automatically update Zed. This setting may be ignored on Linux if
456 // installed through a package manager.
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 "Go": {
676 "code_actions_on_format": {
677 "source.organizeImports": true
678 }
679 },
680 "GraphQL": {
681 "prettier": {
682 "allowed": true
683 }
684 },
685 "HEEX": {
686 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
687 },
688 "HTML": {
689 "prettier": {
690 "allowed": true
691 }
692 },
693 "Java": {
694 "prettier": {
695 "allowed": true,
696 "plugins": ["prettier-plugin-java"]
697 }
698 },
699 "JavaScript": {
700 "language_servers": ["typescript-language-server", "!vtsls", ".."],
701 "prettier": {
702 "allowed": true
703 }
704 },
705 "JSON": {
706 "prettier": {
707 "allowed": true
708 }
709 },
710 "Markdown": {
711 "format_on_save": "off",
712 "prettier": {
713 "allowed": true
714 }
715 },
716 "PHP": {
717 "prettier": {
718 "allowed": true,
719 "plugins": ["@prettier/plugin-php"]
720 }
721 },
722 "Ruby": {
723 "language_servers": ["solargraph", "!ruby-lsp", "..."]
724 },
725 "SCSS": {
726 "prettier": {
727 "allowed": true
728 }
729 },
730 "SQL": {
731 "prettier": {
732 "allowed": true,
733 "plugins": ["prettier-plugin-sql"]
734 }
735 },
736 "Svelte": {
737 "prettier": {
738 "allowed": true,
739 "plugins": ["prettier-plugin-svelte"]
740 }
741 },
742 "TSX": {
743 "language_servers": ["typescript-language-server", "!vtsls", ".."],
744 "prettier": {
745 "allowed": true
746 }
747 },
748 "Twig": {
749 "prettier": {
750 "allowed": true
751 }
752 },
753 "TypeScript": {
754 "language_servers": ["typescript-language-server", "!vtsls", ".."],
755 "prettier": {
756 "allowed": true
757 }
758 },
759 "Vue.js": {
760 "prettier": {
761 "allowed": true
762 }
763 },
764 "XML": {
765 "prettier": {
766 "allowed": true,
767 "plugins": ["@prettier/plugin-xml"]
768 }
769 },
770 "YAML": {
771 "prettier": {
772 "allowed": true
773 }
774 }
775 },
776 // Zed's Prettier integration settings.
777 // Allows to enable/disable formatting with Prettier
778 // and configure default Prettier, used when no project-level Prettier installation is found.
779 "prettier": {
780 // // Whether to consider prettier formatter or not when attempting to format a file.
781 // "allowed": false,
782 //
783 // // Use regular Prettier json configuration.
784 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
785 // // the project has no other Prettier installed.
786 // "plugins": [],
787 //
788 // // Use regular Prettier json configuration.
789 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
790 // // the project has no other Prettier installed.
791 // "trailingComma": "es5",
792 // "tabWidth": 4,
793 // "semi": false,
794 // "singleQuote": true
795 },
796 // LSP Specific settings.
797 "lsp": {
798 // Specify the LSP name as a key here.
799 // "rust-analyzer": {
800 // // These initialization options are merged into Zed's defaults
801 // "initialization_options": {
802 // "check": {
803 // "command": "clippy" // rust-analyzer.check.command (default: "check")
804 // }
805 // }
806 // }
807 },
808 // Vim settings
809 "vim": {
810 "use_system_clipboard": "always",
811 "use_multiline_find": false,
812 "use_smartcase_find": false
813 },
814 // The server to connect to. If the environment variable
815 // ZED_SERVER_URL is set, it will override this setting.
816 "server_url": "https://zed.dev",
817 // Settings overrides to use when using Zed Preview.
818 // Mostly useful for developers who are managing multiple instances of Zed.
819 "preview": {
820 // "theme": "Andromeda"
821 },
822 // Settings overrides to use when using Zed Nightly.
823 // Mostly useful for developers who are managing multiple instances of Zed.
824 "nightly": {
825 // "theme": "Andromeda"
826 },
827 // Settings overrides to use when using Zed Stable.
828 // Mostly useful for developers who are managing multiple instances of Zed.
829 "stable": {
830 // "theme": "Andromeda"
831 },
832 // Settings overrides to use when using Zed Dev.
833 // Mostly useful for developers who are managing multiple instances of Zed.
834 "dev": {
835 // "theme": "Andromeda"
836 },
837 // Task-related settings.
838 "task": {
839 // Whether to show task status indicator in the status bar. Default: true
840 "show_status_indicator": true
841 },
842 // Whether to show full labels in line indicator or short ones
843 //
844 // Values:
845 // - `short`: "2 s, 15 l, 32 c"
846 // - `long`: "2 selections, 15 lines, 32 characters"
847 // Default: long
848 "line_indicator_format": "long",
849 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
850 //
851 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
852 // `socks5h`. `http` will be used when no scheme is specified.
853 //
854 // By default no proxy will be used, or Zed will try get proxy settings from
855 // environment variables.
856 //
857 // Examples:
858 // - "proxy": "socks5://localhost:10808"
859 // - "proxy": "http://127.0.0.1:10809"
860 "proxy": null
861}