1{
2 // The name of the Zed theme to use for the UI.
3 //
4 // `mode` is one of:
5 // - "system": Use the theme that corresponds to the system's appearance
6 // - "light": Use the theme indicated by the "light" field
7 // - "dark": Use the theme indicated by the "dark" field
8 "theme": {
9 "mode": "system",
10 "light": "One Light",
11 "dark": "One Dark"
12 },
13 "icon_theme": "Zed (Default)",
14 // The name of a base set of key bindings to use.
15 // This setting can take six values, each named after another
16 // text editor:
17 //
18 // 1. "VSCode"
19 // 2. "Atom"
20 // 3. "JetBrains"
21 // 4. "None"
22 // 5. "SublimeText"
23 // 6. "TextMate"
24 "base_keymap": "VSCode",
25 // Features that can be globally enabled or disabled
26 "features": {
27 // Which edit prediction provider to use.
28 "edit_prediction_provider": "copilot"
29 },
30 // The name of a font to use for rendering text in the editor
31 "buffer_font_family": "Zed Plex Mono",
32 // Set the buffer text's font fallbacks, this will be merged with
33 // the platform's default fallbacks.
34 "buffer_font_fallbacks": null,
35 // The OpenType features to enable for text in the editor.
36 "buffer_font_features": {
37 // Disable ligatures:
38 // "calt": false
39 },
40 // The default font size for text in the editor
41 "buffer_font_size": 15,
42 // The weight of the editor font in standard CSS units from 100 to 900.
43 "buffer_font_weight": 400,
44 // Set the buffer's line height.
45 // May take 3 values:
46 // 1. Use a line height that's comfortable for reading (1.618)
47 // "buffer_line_height": "comfortable"
48 // 2. Use a standard line height, (1.3)
49 // "buffer_line_height": "standard",
50 // 3. Use a custom line height
51 // "buffer_line_height": {
52 // "custom": 2
53 // },
54 "buffer_line_height": "comfortable",
55 // The name of a font to use for rendering text in the UI
56 // You can set this to ".SystemUIFont" to use the system font
57 "ui_font_family": "Zed Plex Sans",
58 // Set the UI's font fallbacks, this will be merged with the platform's
59 // default font fallbacks.
60 "ui_font_fallbacks": null,
61 // The OpenType features to enable for text in the UI
62 "ui_font_features": {
63 // Disable ligatures:
64 "calt": false
65 },
66 // The weight of the UI font in standard CSS units from 100 to 900.
67 "ui_font_weight": 400,
68 // The default font size for text in the UI
69 "ui_font_size": 16,
70 // How much to fade out unused code.
71 "unnecessary_code_fade": 0.3,
72 // Active pane styling settings.
73 "active_pane_modifiers": {
74 // The factor to grow the active pane by. Defaults to 1.0
75 // which gives the same size as all other panes.
76 "magnification": 1.0,
77 // Inset border size of the active pane, in pixels.
78 "border_size": 0.0,
79 // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
80 // Values are clamped to the [0.0, 1.0] range.
81 "inactive_opacity": 1.0
82 },
83 // The direction that you want to split panes horizontally. Defaults to "up"
84 "pane_split_direction_horizontal": "up",
85 // The direction that you want to split panes horizontally. Defaults to "left"
86 "pane_split_direction_vertical": "left",
87 // Centered layout related settings.
88 "centered_layout": {
89 // The relative width of the left padding of the central pane from the
90 // workspace when the centered layout is used.
91 "left_padding": 0.2,
92 // The relative width of the right padding of the central pane from the
93 // workspace when the centered layout is used.
94 "right_padding": 0.2
95 },
96 // All settings related to the image viewer.
97 "image_viewer": {
98 // The unit for image file sizes.
99 // By default we're setting it to binary.
100 // The second option is decimal.
101 "unit": "binary"
102 },
103 // The key to use for adding multiple cursors
104 // Currently "alt" or "cmd_or_ctrl" (also aliased as
105 // "cmd" and "ctrl") are supported.
106 "multi_cursor_modifier": "alt",
107 // Whether to enable vim modes and key bindings.
108 "vim_mode": false,
109 // Whether to show the informational hover box when moving the mouse
110 // over symbols in the editor.
111 "hover_popover_enabled": true,
112 // Time to wait before showing the informational hover box
113 "hover_popover_delay": 350,
114 // Whether to confirm before quitting Zed.
115 "confirm_quit": false,
116 // Whether to restore last closed project when fresh Zed instance is opened.
117 "restore_on_startup": "last_session",
118 // Size of the drop target in the editor.
119 "drop_target_size": 0.2,
120 // Whether the window should be closed when using 'close active item' on a window with no tabs.
121 // May take 3 values:
122 // 1. Use the current platform's convention
123 // "when_closing_with_no_tabs": "platform_default"
124 // 2. Always close the window:
125 // "when_closing_with_no_tabs": "close_window",
126 // 3. Never close the window
127 // "when_closing_with_no_tabs": "keep_window_open",
128 "when_closing_with_no_tabs": "platform_default",
129 // What to do when the last window is closed.
130 // May take 2 values:
131 // 1. Use the current platform's convention
132 // "on_last_window_closed": "platform_default"
133 // 2. Always quit the application
134 // "on_last_window_closed": "quit_app",
135 "on_last_window_closed": "platform_default",
136 // Whether to use the system provided dialogs for Open and Save As.
137 // When set to false, Zed will use the built-in keyboard-first pickers.
138 "use_system_path_prompts": true,
139 // Whether the cursor blinks in the editor.
140 "cursor_blink": true,
141 // Cursor shape for the default editor.
142 // 1. A vertical bar
143 // "bar"
144 // 2. A block that surrounds the following character
145 // "block"
146 // 3. An underline / underscore that runs along the following character
147 // "underline"
148 // 4. A box drawn around the following character
149 // "hollow"
150 //
151 // Default: not set, defaults to "bar"
152 "cursor_shape": null,
153 // How to highlight the current line in the editor.
154 //
155 // 1. Don't highlight the current line:
156 // "none"
157 // 2. Highlight the gutter area:
158 // "gutter"
159 // 3. Highlight the editor area:
160 // "line"
161 // 4. Highlight the full line (default):
162 // "all"
163 "current_line_highlight": "all",
164 // Whether to highlight all occurrences of the selected text in an editor.
165 "selection_highlight": true,
166 // The debounce delay before querying highlights based on the selected text.
167 "selection_highlight_debounce": 50,
168 // The debounce delay before querying highlights from the language
169 // server based on the current cursor location.
170 "lsp_highlight_debounce": 75,
171 // Whether to pop the completions menu while typing in an editor without
172 // explicitly requesting it.
173 "show_completions_on_input": true,
174 // Whether to display inline and alongside documentation for items in the
175 // completions menu
176 "show_completion_documentation": true,
177 // Show method signatures in the editor, when inside parentheses.
178 "auto_signature_help": false,
179 // Whether to show the signature help after completion or a bracket pair inserted.
180 // If `auto_signature_help` is enabled, this setting will be treated as enabled also.
181 "show_signature_help_after_edits": false,
182 // Whether to show wrap guides (vertical rulers) in the editor.
183 // Setting this to true will show a guide at the 'preferred_line_length' value
184 // if 'soft_wrap' is set to 'preferred_line_length', and will show any
185 // additional guides as specified by the 'wrap_guides' setting.
186 "show_wrap_guides": true,
187 // Character counts at which to show wrap guides in the editor.
188 "wrap_guides": [],
189 // Hide the values of in variables from visual display in private files
190 "redact_private_values": false,
191 // The default number of lines to expand excerpts in the multibuffer by.
192 "expand_excerpt_lines": 3,
193 // Globs to match against file paths to determine if a file is private.
194 "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
195 // Whether to use additional LSP queries to format (and amend) the code after
196 // every "trigger" symbol input, defined by LSP server capabilities.
197 "use_on_type_format": true,
198 // Whether to automatically add matching closing characters when typing
199 // opening parenthesis, bracket, brace, single or double quote characters.
200 // For example, when you type (, Zed will add a closing ) at the correct position.
201 "use_autoclose": true,
202 // Whether to automatically surround selected text when typing opening parenthesis,
203 // bracket, brace, single or double quote characters.
204 // For example, when you select text and type (, Zed will surround the text with ().
205 "use_auto_surround": true,
206 // Whether indentation of pasted content should be adjusted based on the context.
207 "auto_indent_on_paste": true,
208 // Controls how the editor handles the autoclosed characters.
209 // When set to `false`(default), skipping over and auto-removing of the closing characters
210 // happen only for auto-inserted characters.
211 // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
212 // no matter how they were inserted.
213 "always_treat_brackets_as_autoclosed": false,
214 // Controls where the `editor::Rewrap` action is allowed in the current language scope.
215 //
216 // This setting can take three values:
217 //
218 // 1. Only allow rewrapping in comments:
219 // "in_comments"
220 // 2. Only allow rewrapping in the current selection(s):
221 // "in_selections"
222 // 3. Allow rewrapping anywhere:
223 // "anywhere"
224 //
225 // When using values other than `in_comments`, it is possible for the rewrapping to produce code
226 // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
227 // to use.
228 //
229 // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
230 "allow_rewrap": "in_comments",
231 // Controls whether edit predictions are shown immediately (true)
232 // or manually by triggering `editor::ShowEditPrediction` (false).
233 "show_edit_predictions": true,
234 // Controls whether edit predictions are shown in a given language scope.
235 // Example: ["string", "comment"]
236 "edit_predictions_disabled_in": [],
237 // Whether to show tabs and spaces in the editor.
238 // This setting can take four values:
239 //
240 // 1. Draw tabs and spaces only for the selected text (default):
241 // "selection"
242 // 2. Do not draw any tabs or spaces:
243 // "none"
244 // 3. Draw all invisible symbols:
245 // "all"
246 // 4. Draw whitespaces at boundaries only:
247 // "boundary"
248 // For a whitespace to be on a boundary, any of the following conditions need to be met:
249 // - It is a tab
250 // - It is adjacent to an edge (start or end)
251 // - It is adjacent to a whitespace (left or right)
252 "show_whitespaces": "selection",
253 // Settings related to calls in Zed
254 "calls": {
255 // Join calls with the microphone live by default
256 "mute_on_join": false,
257 // Share your project when you are the first to join a channel
258 "share_on_join": false
259 },
260 // Toolbar related settings
261 "toolbar": {
262 // Whether to show breadcrumbs.
263 "breadcrumbs": true,
264 // Whether to show quick action buttons.
265 "quick_actions": true,
266 // Whether to show the Selections menu in the editor toolbar
267 "selections_menu": true
268 },
269 // Scrollbar related settings
270 "scrollbar": {
271 // When to show the scrollbar in the editor.
272 // This setting can take four values:
273 //
274 // 1. Show the scrollbar if there's important information or
275 // follow the system's configured behavior (default):
276 // "auto"
277 // 2. Match the system's configured behavior:
278 // "system"
279 // 3. Always show the scrollbar:
280 // "always"
281 // 4. Never show the scrollbar:
282 // "never"
283 "show": "auto",
284 // Whether to show cursor positions in the scrollbar.
285 "cursors": true,
286 // Whether to show git diff indicators in the scrollbar.
287 "git_diff": true,
288 // Whether to show buffer search results in the scrollbar.
289 "search_results": true,
290 // Whether to show selected text occurrences in the scrollbar.
291 "selected_text": true,
292 // Whether to show selected symbol occurrences in the scrollbar.
293 "selected_symbol": true,
294 // Which diagnostic indicators to show in the scrollbar:
295 // - "none" or false: do not show diagnostics
296 // - "error": show only errors
297 // - "warning": show only errors and warnings
298 // - "information": show only errors, warnings, and information
299 // - "all" or true: show all diagnostics
300 "diagnostics": "all",
301 // Forcefully enable or disable the scrollbar for each axis
302 "axes": {
303 // When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
304 "horizontal": true,
305 // When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
306 "vertical": true
307 }
308 },
309 // Enable middle-click paste on Linux.
310 "middle_click_paste": true,
311 // What to do when multibuffer is double clicked in some of its excerpts
312 // (parts of singleton buffers).
313 // May take 2 values:
314 // 1. Behave as a regular buffer and select the whole word (default).
315 // "double_click_in_multibuffer": "select"
316 // 2. Open the excerpt clicked as a new buffer in the new tab.
317 // "double_click_in_multibuffer": "open",
318 // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
319 "double_click_in_multibuffer": "select",
320 "gutter": {
321 // Whether to show line numbers in the gutter.
322 "line_numbers": true,
323 // Whether to show code action buttons in the gutter.
324 "code_actions": true,
325 // Whether to show runnables buttons in the gutter.
326 "runnables": true,
327 // Whether to show fold buttons in the gutter.
328 "folds": true
329 },
330 "indent_guides": {
331 // Whether to show indent guides in the editor.
332 "enabled": true,
333 // The width of the indent guides in pixels, between 1 and 10.
334 "line_width": 1,
335 // The width of the active indent guide in pixels, between 1 and 10.
336 "active_line_width": 1,
337 // Determines how indent guides are colored.
338 // This setting can take the following three values:
339 ///
340 // 1. "disabled"
341 // 2. "fixed"
342 // 3. "indent_aware"
343 "coloring": "fixed",
344 // Determines how indent guide backgrounds are colored.
345 // This setting can take the following two values:
346 ///
347 // 1. "disabled"
348 // 2. "indent_aware"
349 "background_coloring": "disabled"
350 },
351 // Whether the editor will scroll beyond the last line.
352 "scroll_beyond_last_line": "one_page",
353 // The number of lines to keep above/below the cursor when scrolling.
354 "vertical_scroll_margin": 3,
355 // Whether to scroll when clicking near the edge of the visible text area.
356 "autoscroll_on_clicks": false,
357 // The number of characters to keep on either side when scrolling with the mouse
358 "horizontal_scroll_margin": 5,
359 // Scroll sensitivity multiplier. This multiplier is applied
360 // to both the horizontal and vertical delta values while scrolling.
361 "scroll_sensitivity": 1.0,
362 "relative_line_numbers": false,
363 // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
364 "search_wrap": true,
365 // Search options to enable by default when opening new project and buffer searches.
366 "search": {
367 "whole_word": false,
368 "case_sensitive": false,
369 "include_ignored": false,
370 "regex": false
371 },
372 // When to populate a new search's query based on the text under the cursor.
373 // This setting can take the following three values:
374 //
375 // 1. Always populate the search query with the word under the cursor (default).
376 // "always"
377 // 2. Only populate the search query when there is text selected
378 // "selection"
379 // 3. Never populate the search query
380 // "never"
381 "seed_search_query_from_cursor": "always",
382 // When enabled, automatically adjusts search case sensitivity based on your query.
383 // If your search query contains any uppercase letters, the search becomes case-sensitive;
384 // if it contains only lowercase letters, the search becomes case-insensitive.
385 "use_smartcase_search": false,
386 // Inlay hint related settings
387 "inlay_hints": {
388 // Global switch to toggle hints on and off, switched off by default.
389 "enabled": false,
390 // Toggle certain types of hints on and off, all switched on by default.
391 "show_type_hints": true,
392 "show_parameter_hints": true,
393 // Corresponds to null/None LSP hint type value.
394 "show_other_hints": true,
395 // Whether to show a background for inlay hints.
396 //
397 // If set to `true`, the background will use the `hint.background` color from the current theme.
398 "show_background": false,
399 // Time to wait after editing the buffer, before requesting the hints,
400 // set to 0 to disable debouncing.
401 "edit_debounce_ms": 700,
402 // Time to wait after scrolling the buffer, before requesting the hints,
403 // set to 0 to disable debouncing.
404 "scroll_debounce_ms": 50,
405 /// A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
406 /// If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
407 "toggle_on_modifiers_press": {
408 "control": false,
409 "shift": false,
410 "alt": false,
411 "platform": false,
412 "function": false
413 }
414 },
415 "project_panel": {
416 // Whether to show the project panel button in the status bar
417 "button": true,
418 // Default width of the project panel.
419 "default_width": 240,
420 // Where to dock the project panel. Can be 'left' or 'right'.
421 "dock": "left",
422 // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
423 "entry_spacing": "comfortable",
424 // Whether to show file icons in the project panel.
425 "file_icons": true,
426 // Whether to show folder icons or chevrons for directories in the project panel.
427 "folder_icons": true,
428 // Whether to show the git status in the project panel.
429 "git_status": true,
430 // Amount of indentation for nested items.
431 "indent_size": 20,
432 // Whether to reveal it in the project panel automatically,
433 // when a corresponding project entry becomes active.
434 // Gitignored entries are never auto revealed.
435 "auto_reveal_entries": true,
436 // Whether to fold directories automatically and show compact folders
437 // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
438 "auto_fold_dirs": true,
439 // Scrollbar-related settings
440 "scrollbar": {
441 // When to show the scrollbar in the project panel.
442 // This setting can take five values:
443 ///
444 // 1. null (default): Inherit editor settings
445 // 2. Show the scrollbar if there's important information or
446 // follow the system's configured behavior (default):
447 // "auto"
448 // 3. Match the system's configured behavior:
449 // "system"
450 // 4. Always show the scrollbar:
451 // "always"
452 // 5. Never show the scrollbar:
453 // "never"
454 "show": null
455 },
456 // Which files containing diagnostic errors/warnings to mark in the project panel.
457 // This setting can take the following three values:
458 ///
459 // 1. Do not mark any files:
460 // "off"
461 // 2. Only mark files with errors:
462 // "errors"
463 // 3. Mark files with errors and warnings:
464 // "all"
465 "show_diagnostics": "all",
466 // Settings related to indent guides in the project panel.
467 "indent_guides": {
468 // When to show indent guides in the project panel.
469 // This setting can take two values:
470 //
471 // 1. Always show indent guides:
472 // "always"
473 // 2. Never show indent guides:
474 // "never"
475 "show": "always"
476 }
477 },
478 "outline_panel": {
479 // Whether to show the outline panel button in the status bar
480 "button": true,
481 // Default width of the outline panel.
482 "default_width": 300,
483 // Where to dock the outline panel. Can be 'left' or 'right'.
484 "dock": "left",
485 // Whether to show file icons in the outline panel.
486 "file_icons": true,
487 // Whether to show folder icons or chevrons for directories in the outline panel.
488 "folder_icons": true,
489 // Whether to show the git status in the outline panel.
490 "git_status": true,
491 // Amount of indentation for nested items.
492 "indent_size": 20,
493 // Whether to reveal it in the outline panel automatically,
494 // when a corresponding outline entry becomes active.
495 // Gitignored entries are never auto revealed.
496 "auto_reveal_entries": true,
497 // Whether to fold directories automatically
498 // when a directory has only one directory inside.
499 "auto_fold_dirs": true,
500 // Settings related to indent guides in the outline panel.
501 "indent_guides": {
502 // When to show indent guides in the outline panel.
503 // This setting can take two values:
504 //
505 // 1. Always show indent guides:
506 // "always"
507 // 2. Never show indent guides:
508 // "never"
509 "show": "always"
510 },
511 // Scrollbar-related settings
512 "scrollbar": {
513 // When to show the scrollbar in the project panel.
514 // This setting can take five values:
515 ///
516 // 1. null (default): Inherit editor settings
517 // 2. Show the scrollbar if there's important information or
518 // follow the system's configured behavior (default):
519 // "auto"
520 // 3. Match the system's configured behavior:
521 // "system"
522 // 4. Always show the scrollbar:
523 // "always"
524 // 5. Never show the scrollbar:
525 // "never"
526 "show": null
527 }
528 },
529 "collaboration_panel": {
530 // Whether to show the collaboration panel button in the status bar.
531 "button": true,
532 // Where to dock the collaboration panel. Can be 'left' or 'right'.
533 "dock": "left",
534 // Default width of the collaboration panel.
535 "default_width": 240
536 },
537 "chat_panel": {
538 // When to show the chat panel button in the status bar.
539 // Can be 'never', 'always', or 'when_in_call',
540 // or a boolean (interpreted as 'never'/'always').
541 "button": "when_in_call",
542 // Where to the chat panel. Can be 'left' or 'right'.
543 "dock": "right",
544 // Default width of the chat panel.
545 "default_width": 240
546 },
547 "git_panel": {
548 // Whether to show the git panel button in the status bar.
549 "button": true,
550 // Where to the git panel. Can be 'left' or 'right'.
551 "dock": "left",
552 // Default width of the git panel.
553 "default_width": 360,
554 // Style of the git status indicator in the panel.
555 //
556 // Default: icon
557 "status_style": "icon",
558 "scrollbar": {
559 // When to show the scrollbar in the git panel.
560 //
561 // Default: inherits editor scrollbar settings
562 "show": null
563 }
564 },
565 "message_editor": {
566 // Whether to automatically replace emoji shortcodes with emoji characters.
567 // For example: typing `:wave:` gets replaced with `👋`.
568 "auto_replace_emoji_shortcode": true
569 },
570 "notification_panel": {
571 // Whether to show the notification panel button in the status bar.
572 "button": true,
573 // Where to dock the notification panel. Can be 'left' or 'right'.
574 "dock": "right",
575 // Default width of the notification panel.
576 "default_width": 380
577 },
578 "assistant": {
579 // Version of this setting.
580 "version": "2",
581 // Whether the assistant is enabled.
582 "enabled": true,
583 // Whether to show the assistant panel button in the status bar.
584 "button": true,
585 // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
586 "dock": "right",
587 // Default width when the assistant is docked to the left or right.
588 "default_width": 640,
589 // Default height when the assistant is docked to the bottom.
590 "default_height": 320,
591 // The default model to use when creating new chats.
592 "default_model": {
593 // The provider to use.
594 "provider": "zed.dev",
595 // The model to use.
596 "model": "claude-3-5-sonnet-latest"
597 }
598 },
599 // The settings for slash commands.
600 "slash_commands": {
601 // Settings for the `/docs` slash command.
602 "docs": {
603 // Whether `/docs` is enabled.
604 "enabled": false
605 },
606 // Settings for the `/project` slash command.
607 "project": {
608 // Whether `/project` is enabled.
609 "enabled": false
610 }
611 },
612 // Whether the screen sharing icon is shown in the os status bar.
613 "show_call_status_icon": true,
614 // Whether to use language servers to provide code intelligence.
615 "enable_language_server": true,
616 // Whether to perform linked edits of associated ranges, if the language server supports it.
617 // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
618 "linked_edits": true,
619 // The list of language servers to use (or disable) for all languages.
620 //
621 // This is typically customized on a per-language basis.
622 "language_servers": ["..."],
623 // When to automatically save edited buffers. This setting can
624 // take four values.
625 //
626 // 1. Never automatically save:
627 // "autosave": "off",
628 // 2. Save when changing focus away from the Zed window:
629 // "autosave": "on_window_change",
630 // 3. Save when changing focus away from a specific buffer:
631 // "autosave": "on_focus_change",
632 // 4. Save when idle for a certain amount of time:
633 // "autosave": { "after_delay": {"milliseconds": 500} },
634 "autosave": "off",
635 // Maximum number of tabs per pane. Unset for unlimited.
636 "max_tabs": null,
637 // Settings related to the editor's tab bar.
638 "tab_bar": {
639 // Whether or not to show the tab bar in the editor
640 "show": true,
641 // Whether or not to show the navigation history buttons.
642 "show_nav_history_buttons": true,
643 // Whether or not to show the tab bar buttons.
644 "show_tab_bar_buttons": true
645 },
646 // Settings related to the editor's tabs
647 "tabs": {
648 // Show git status colors in the editor tabs.
649 "git_status": false,
650 // Position of the close button on the editor tabs.
651 // One of: ["right", "left", "hidden"]
652 "close_position": "right",
653 // Whether to show the file icon for a tab.
654 "file_icons": false,
655 // Controls the appearance behavior of the tab's close button.
656 //
657 // 1. Show it just upon hovering the tab. (default)
658 // "hover"
659 // 2. Show it persistently.
660 // "always"
661 // 3. Never show it, even if hovering it.
662 // "hidden"
663 "show_close_button": "hover",
664 // What to do after closing the current tab.
665 //
666 // 1. Activate the tab that was open previously (default)
667 // "history"
668 // 2. Activate the right neighbour tab if present
669 // "neighbour"
670 // 3. Activate the left neighbour tab if present
671 // "left_neighbour"
672 "activate_on_close": "history",
673 // Which files containing diagnostic errors/warnings to mark in the tabs.
674 // Diagnostics are only shown when file icons are also active.
675 // This setting only works when can take the following three values:
676 ///
677 // 1. Do not mark any files:
678 // "off"
679 // 2. Only mark files with errors:
680 // "errors"
681 // 3. Mark files with errors and warnings:
682 // "all"
683 "show_diagnostics": "off"
684 },
685 // Settings related to preview tabs.
686 "preview_tabs": {
687 // Whether preview tabs should be enabled.
688 // Preview tabs allow you to open files in preview mode, where they close automatically
689 // when you switch to another file unless you explicitly pin them.
690 // This is useful for quickly viewing files without cluttering your workspace.
691 "enabled": true,
692 // Whether to open tabs in preview mode when selected from the file finder.
693 "enable_preview_from_file_finder": false,
694 // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
695 "enable_preview_from_code_navigation": false
696 },
697 // Settings related to the file finder.
698 "file_finder": {
699 // Whether to show file icons in the file finder.
700 "file_icons": true,
701 // Determines how much space the file finder can take up in relation to the available window width.
702 // There are 5 possible width values:
703 //
704 // 1. Small: This value is essentially a fixed width.
705 // "modal_max_width": "small"
706 // 2. Medium:
707 // "modal_max_width": "medium"
708 // 3. Large:
709 // "modal_max_width": "large"
710 // 4. Extra Large:
711 // "modal_max_width": "xlarge"
712 // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
713 // "modal_max_width": "full"
714 //
715 // Default: small
716 "modal_max_width": "small"
717 },
718 // Whether or not to remove any trailing whitespace from lines of a buffer
719 // before saving it.
720 "remove_trailing_whitespace_on_save": true,
721 // Whether to start a new line with a comment when a previous line is a comment as well.
722 "extend_comment_on_newline": true,
723 // Removes any lines containing only whitespace at the end of the file and
724 // ensures just one newline at the end.
725 "ensure_final_newline_on_save": true,
726 // Whether or not to perform a buffer format before saving
727 //
728 // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
729 "format_on_save": "on",
730 // How to perform a buffer format. This setting can take 4 values:
731 //
732 // 1. Format code using the current language server:
733 // "formatter": "language_server"
734 // 2. Format code using an external command:
735 // "formatter": {
736 // "external": {
737 // "command": "prettier",
738 // "arguments": ["--stdin-filepath", "{buffer_path}"]
739 // }
740 // }
741 // 3. Format code using Zed's Prettier integration:
742 // "formatter": "prettier"
743 // 4. Default. Format files using Zed's Prettier integration (if applicable),
744 // or falling back to formatting via language server:
745 // "formatter": "auto"
746 "formatter": "auto",
747 // How to soft-wrap long lines of text.
748 // Possible values:
749 //
750 // 1. Prefer a single line generally, unless an overly long line is encountered.
751 // "soft_wrap": "none",
752 // "soft_wrap": "prefer_line", // (deprecated, same as "none")
753 // 2. Soft wrap lines that overflow the editor.
754 // "soft_wrap": "editor_width",
755 // 3. Soft wrap lines at the preferred line length.
756 // "soft_wrap": "preferred_line_length",
757 // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
758 // "soft_wrap": "bounded",
759 "soft_wrap": "none",
760 // The column at which to soft-wrap lines, for buffers where soft-wrap
761 // is enabled.
762 "preferred_line_length": 80,
763 // Whether to indent lines using tab characters, as opposed to multiple
764 // spaces.
765 "hard_tabs": false,
766 // How many columns a tab should occupy.
767 "tab_size": 4,
768 // Control what info is collected by Zed.
769 "telemetry": {
770 // Send debug info like crash reports.
771 "diagnostics": true,
772 // Send anonymized usage data like what languages you're using Zed with.
773 "metrics": true
774 },
775 // Automatically update Zed. This setting may be ignored on Linux if
776 // installed through a package manager.
777 "auto_update": true,
778 // Diagnostics configuration.
779 "diagnostics": {
780 // Whether to show warnings or not by default.
781 "include_warnings": true,
782 // Settings for inline diagnostics
783 "inline": {
784 // Whether to show diagnostics inline or not
785 "enabled": false,
786 // The delay in milliseconds to show inline diagnostics after the
787 // last diagnostic update.
788 "update_debounce_ms": 150,
789 // The amount of padding between the end of the source line and the start
790 // of the inline diagnostic in units of em widths.
791 "padding": 4,
792 // The minimum column to display inline diagnostics. This setting can be
793 // used to horizontally align inline diagnostics at some column. Lines
794 // longer than this value will still push diagnostics further to the right.
795 "min_column": 0,
796 // The minimum severity of the diagnostics to show inline.
797 // Shows all diagnostics when not specified.
798 "max_severity": null
799 }
800 },
801 // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
802 // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
803 "file_scan_exclusions": [
804 "**/.git",
805 "**/.svn",
806 "**/.hg",
807 "**/.jj",
808 "**/CVS",
809 "**/.DS_Store",
810 "**/Thumbs.db",
811 "**/.classpath",
812 "**/.settings"
813 ],
814 // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
815 // for files that are not tracked by git, but are still important to your project. Note that globs
816 // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
817 // precedence over these inclusions.
818 "file_scan_inclusions": [".env*"],
819 // Git gutter behavior configuration.
820 "git": {
821 // Control whether the git gutter is shown. May take 2 values:
822 // 1. Show the gutter
823 // "git_gutter": "tracked_files"
824 // 2. Hide the gutter
825 // "git_gutter": "hide"
826 "git_gutter": "tracked_files",
827 // Control whether the git blame information is shown inline,
828 // in the currently focused line.
829 "inline_blame": {
830 "enabled": true
831 // Sets a delay after which the inline blame information is shown.
832 // Delay is restarted with every cursor movement.
833 // "delay_ms": 600
834 //
835 // Whether or not to display the git commit summary on the same line.
836 // "show_commit_summary": false
837 //
838 // The minimum column number to show the inline blame information at
839 // "min_column": 0
840 }
841 },
842 // Configuration for how direnv configuration should be loaded. May take 2 values:
843 // 1. Load direnv configuration using `direnv export json` directly.
844 // "load_direnv": "direct"
845 // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
846 // "load_direnv": "shell_hook"
847 "load_direnv": "direct",
848 "edit_predictions": {
849 // A list of globs representing files that edit predictions should be disabled for.
850 // There's a sensible default list of globs already included.
851 // Any addition to this list will be merged with the default list.
852 // Globs are matched relative to the worktree root,
853 // except when starting with a slash (/) or equivalent in Windows.
854 "disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets.yml"],
855 // When to show edit predictions previews in buffer.
856 // This setting takes two possible values:
857 // 1. Display predictions inline when there are no language server completions available.
858 // "mode": "eager"
859 // 2. Display predictions inline only when holding a modifier key (alt by default).
860 // "mode": "subtle"
861 "mode": "eager",
862 // Whether edit predictions are enabled in the assistant panel.
863 // This setting has no effect if globally disabled.
864 "enabled_in_assistant": true
865 },
866 // Settings specific to journaling
867 "journal": {
868 // The path of the directory where journal entries are stored
869 "path": "~",
870 // What format to display the hours in
871 // May take 2 values:
872 // 1. hour12
873 // 2. hour24
874 "hour_format": "hour12"
875 },
876 // Settings specific to the terminal
877 "terminal": {
878 // What shell to use when opening a terminal. May take 3 values:
879 // 1. Use the system's default terminal configuration in /etc/passwd
880 // "shell": "system"
881 // 2. A program:
882 // "shell": {
883 // "program": "sh"
884 // }
885 // 3. A program with arguments:
886 // "shell": {
887 // "with_arguments": {
888 // "program": "/bin/bash",
889 // "args": ["--login"]
890 // }
891 // }
892 "shell": "system",
893 // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
894 "dock": "bottom",
895 // Default width when the terminal is docked to the left or right.
896 "default_width": 640,
897 // Default height when the terminal is docked to the bottom.
898 "default_height": 320,
899 // What working directory to use when launching the terminal.
900 // May take 4 values:
901 // 1. Use the current file's project directory. Will Fallback to the
902 // first project directory strategy if unsuccessful
903 // "working_directory": "current_project_directory"
904 // 2. Use the first project in this workspace's directory
905 // "working_directory": "first_project_directory"
906 // 3. Always use this platform's home directory (if we can find it)
907 // "working_directory": "always_home"
908 // 4. Always use a specific directory. This value will be shell expanded.
909 // If this path is not a valid directory the terminal will default to
910 // this platform's home directory (if we can find it)
911 // "working_directory": {
912 // "always": {
913 // "directory": "~/zed/projects/"
914 // }
915 // }
916 "working_directory": "current_project_directory",
917 // Set the cursor blinking behavior in the terminal.
918 // May take 3 values:
919 // 1. Never blink the cursor, ignoring the terminal mode
920 // "blinking": "off",
921 // 2. Default the cursor blink to off, but allow the terminal to
922 // set blinking
923 // "blinking": "terminal_controlled",
924 // 3. Always blink the cursor, ignoring the terminal mode
925 // "blinking": "on",
926 "blinking": "terminal_controlled",
927 // Default cursor shape for the terminal.
928 // 1. A block that surrounds the following character
929 // "block"
930 // 2. A vertical bar
931 // "bar"
932 // 3. An underline / underscore that runs along the following character
933 // "underline"
934 // 4. A box drawn around the following character
935 // "hollow"
936 //
937 // Default: not set, defaults to "block"
938 "cursor_shape": null,
939 // Set whether Alternate Scroll mode (code: ?1007) is active by default.
940 // Alternate Scroll mode converts mouse scroll events into up / down key
941 // presses when in the alternate screen (e.g. when running applications
942 // like vim or less). The terminal can still set and unset this mode.
943 // May take 2 values:
944 // 1. Default alternate scroll mode to on
945 // "alternate_scroll": "on",
946 // 2. Default alternate scroll mode to off
947 // "alternate_scroll": "off",
948 "alternate_scroll": "off",
949 // Set whether the option key behaves as the meta key.
950 // May take 2 values:
951 // 1. Rely on default platform handling of option key, on macOS
952 // this means generating certain unicode characters
953 // "option_as_meta": false,
954 // 2. Make the option keys behave as a 'meta' key, e.g. for emacs
955 // "option_as_meta": true,
956 "option_as_meta": false,
957 // Whether or not selecting text in the terminal will automatically
958 // copy to the system clipboard.
959 "copy_on_select": false,
960 // Whether to show the terminal button in the status bar
961 "button": true,
962 // Any key-value pairs added to this list will be added to the terminal's
963 // environment. Use `:` to separate multiple values.
964 "env": {
965 // "KEY": "value1:value2"
966 },
967 // Set the terminal's line height.
968 // May take 3 values:
969 // 1. Use a line height that's comfortable for reading, 1.618
970 // "line_height": "comfortable"
971 // 2. Use a standard line height, 1.3. This option is useful for TUIs,
972 // particularly if they use box characters
973 // "line_height": "standard",
974 // 3. Use a custom line height.
975 // "line_height": {
976 // "custom": 2
977 // },
978 "line_height": "comfortable",
979 // Activate the python virtual environment, if one is found, in the
980 // terminal's working directory (as resolved by the working_directory
981 // setting). Set this to "off" to disable this behavior.
982 "detect_venv": {
983 "on": {
984 // Default directories to search for virtual environments, relative
985 // to the current working directory. We recommend overriding this
986 // in your project's settings, rather than globally.
987 "directories": [".env", "env", ".venv", "venv"],
988 // Can also be `csh`, `fish`, `nushell` and `power_shell`
989 "activate_script": "default"
990 }
991 },
992 "toolbar": {
993 // Whether to display the terminal title in its toolbar's breadcrumbs.
994 // Only shown if the terminal title is not empty.
995 //
996 // The shell running in the terminal needs to be configured to emit the title.
997 // Example: `echo -e "\e]2;New Title\007";`
998 "breadcrumbs": true
999 },
1000 // Scrollbar-related settings
1001 "scrollbar": {
1002 // When to show the scrollbar in the terminal.
1003 // This setting can take five values:
1004 ///
1005 // 1. null (default): Inherit editor settings
1006 // 2. Show the scrollbar if there's important information or
1007 // follow the system's configured behavior (default):
1008 // "auto"
1009 // 3. Match the system's configured behavior:
1010 // "system"
1011 // 4. Always show the scrollbar:
1012 // "always"
1013 // 5. Never show the scrollbar:
1014 // "never"
1015 "show": null
1016 }
1017 // Set the terminal's font size. If this option is not included,
1018 // the terminal will default to matching the buffer's font size.
1019 // "font_size": 15,
1020 // Set the terminal's font family. If this option is not included,
1021 // the terminal will default to matching the buffer's font family.
1022 // "font_family": "Zed Plex Mono",
1023 // Set the terminal's font fallbacks. If this option is not included,
1024 // the terminal will default to matching the buffer's font fallbacks.
1025 // This will be merged with the platform's default font fallbacks
1026 // "font_fallbacks": ["FiraCode Nerd Fonts"],
1027 // Sets the maximum number of lines in the terminal's scrollback buffer.
1028 // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1029 // Existing terminals will not pick up this change until they are recreated.
1030 // "max_scroll_history_lines": 10000,
1031 },
1032 "code_actions_on_format": {},
1033 // Settings related to running tasks.
1034 "tasks": {
1035 "variables": {}
1036 },
1037 // An object whose keys are language names, and whose values
1038 // are arrays of filenames or extensions of files that should
1039 // use those languages.
1040 //
1041 // For example, to treat files like `foo.notjs` as JavaScript,
1042 // and `Embargo.lock` as TOML:
1043 //
1044 // {
1045 // "JavaScript": ["notjs"],
1046 // "TOML": ["Embargo.lock"]
1047 // }
1048 //
1049 "file_types": {
1050 "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1051 "Shell Script": [".env.*"]
1052 },
1053 // By default use a recent system version of node, or install our own.
1054 // You can override this to use a version of node that is not in $PATH with:
1055 // {
1056 // "node": {
1057 // "path": "/path/to/node"
1058 // "npm_path": "/path/to/npm" (defaults to node_path/../npm)
1059 // }
1060 // }
1061 // or to ensure Zed always downloads and installs an isolated version of node:
1062 // {
1063 // "node": {
1064 // "ignore_system_version": true,
1065 // }
1066 // NOTE: changing this setting currently requires restarting Zed.
1067 "node": {},
1068 // The extensions that Zed should automatically install on startup.
1069 //
1070 // If you don't want any of these extensions, add this field to your settings
1071 // and change the value to `false`.
1072 "auto_install_extensions": {
1073 "html": true
1074 },
1075 // Different settings for specific languages.
1076 "languages": {
1077 "Astro": {
1078 "language_servers": ["astro-language-server", "..."],
1079 "prettier": {
1080 "allowed": true,
1081 "plugins": ["prettier-plugin-astro"]
1082 }
1083 },
1084 "Blade": {
1085 "prettier": {
1086 "allowed": true
1087 }
1088 },
1089 "C": {
1090 "format_on_save": "off",
1091 "use_on_type_format": false,
1092 "prettier": {
1093 "allowed": false
1094 }
1095 },
1096 "C++": {
1097 "format_on_save": "off",
1098 "use_on_type_format": false,
1099 "prettier": {
1100 "allowed": false
1101 }
1102 },
1103 "CSS": {
1104 "prettier": {
1105 "allowed": true
1106 }
1107 },
1108 "Dart": {
1109 "tab_size": 2
1110 },
1111 "Diff": {
1112 "show_edit_predictions": false,
1113 "remove_trailing_whitespace_on_save": false,
1114 "ensure_final_newline_on_save": false
1115 },
1116 "Elixir": {
1117 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1118 },
1119 "Erlang": {
1120 "language_servers": ["erlang-ls", "!elp", "..."]
1121 },
1122 "Git Commit": {
1123 "allow_rewrap": "anywhere"
1124 },
1125 "Go": {
1126 "code_actions_on_format": {
1127 "source.organizeImports": true
1128 }
1129 },
1130 "GraphQL": {
1131 "prettier": {
1132 "allowed": true
1133 }
1134 },
1135 "HEEX": {
1136 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1137 },
1138 "HTML": {
1139 "prettier": {
1140 "allowed": true
1141 }
1142 },
1143 "Java": {
1144 "prettier": {
1145 "allowed": true,
1146 "plugins": ["prettier-plugin-java"]
1147 }
1148 },
1149 "JavaScript": {
1150 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1151 "prettier": {
1152 "allowed": true
1153 }
1154 },
1155 "JSON": {
1156 "prettier": {
1157 "allowed": true
1158 }
1159 },
1160 "JSONC": {
1161 "prettier": {
1162 "allowed": true
1163 }
1164 },
1165 "Markdown": {
1166 "format_on_save": "off",
1167 "use_on_type_format": false,
1168 "allow_rewrap": "anywhere",
1169 "soft_wrap": "bounded",
1170 "prettier": {
1171 "allowed": true
1172 }
1173 },
1174 "PHP": {
1175 "language_servers": ["phpactor", "!intelephense", "..."],
1176 "prettier": {
1177 "allowed": true,
1178 "plugins": ["@prettier/plugin-php"],
1179 "parser": "php"
1180 }
1181 },
1182 "Plain Text": {
1183 "allow_rewrap": "anywhere"
1184 },
1185 "Ruby": {
1186 "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1187 },
1188 "SCSS": {
1189 "prettier": {
1190 "allowed": true
1191 }
1192 },
1193 "SQL": {
1194 "prettier": {
1195 "allowed": true,
1196 "plugins": ["prettier-plugin-sql"]
1197 }
1198 },
1199 "Starlark": {
1200 "language_servers": ["starpls", "!buck2-lsp", "..."]
1201 },
1202 "Svelte": {
1203 "language_servers": ["svelte-language-server", "..."],
1204 "prettier": {
1205 "allowed": true,
1206 "plugins": ["prettier-plugin-svelte"]
1207 }
1208 },
1209 "TSX": {
1210 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1211 "prettier": {
1212 "allowed": true
1213 }
1214 },
1215 "Twig": {
1216 "prettier": {
1217 "allowed": true
1218 }
1219 },
1220 "TypeScript": {
1221 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1222 "prettier": {
1223 "allowed": true
1224 }
1225 },
1226 "Vue.js": {
1227 "language_servers": ["vue-language-server", "..."],
1228 "prettier": {
1229 "allowed": true
1230 }
1231 },
1232 "XML": {
1233 "prettier": {
1234 "allowed": true,
1235 "plugins": ["@prettier/plugin-xml"]
1236 }
1237 },
1238 "YAML": {
1239 "prettier": {
1240 "allowed": true
1241 }
1242 },
1243 "Zig": {
1244 "language_servers": ["zls", "..."]
1245 }
1246 },
1247 // Different settings for specific language models.
1248 "language_models": {
1249 "anthropic": {
1250 "version": "1",
1251 "api_url": "https://api.anthropic.com"
1252 },
1253 "google": {
1254 "api_url": "https://generativelanguage.googleapis.com"
1255 },
1256 "ollama": {
1257 "api_url": "http://localhost:11434"
1258 },
1259 "openai": {
1260 "version": "1",
1261 "api_url": "https://api.openai.com/v1"
1262 },
1263 "lmstudio": {
1264 "api_url": "http://localhost:1234/api/v0"
1265 },
1266 "deepseek": {
1267 "api_url": "https://api.deepseek.com"
1268 },
1269 "mistral": {
1270 "api_url": "https://api.mistral.ai/v1"
1271 }
1272 },
1273 // Zed's Prettier integration settings.
1274 // Allows to enable/disable formatting with Prettier
1275 // and configure default Prettier, used when no project-level Prettier installation is found.
1276 "prettier": {
1277 // // Whether to consider prettier formatter or not when attempting to format a file.
1278 // "allowed": false,
1279 //
1280 // // Use regular Prettier json configuration.
1281 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1282 // // the project has no other Prettier installed.
1283 // "plugins": [],
1284 //
1285 // // Use regular Prettier json configuration.
1286 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1287 // // the project has no other Prettier installed.
1288 // "trailingComma": "es5",
1289 // "tabWidth": 4,
1290 // "semi": false,
1291 // "singleQuote": true
1292 },
1293 // Settings for auto-closing of JSX tags.
1294 "jsx_tag_auto_close": {
1295 "enabled": true
1296 },
1297 // LSP Specific settings.
1298 "lsp": {
1299 // Specify the LSP name as a key here.
1300 // "rust-analyzer": {
1301 // // These initialization options are merged into Zed's defaults
1302 // "initialization_options": {
1303 // "check": {
1304 // "command": "clippy" // rust-analyzer.check.command (default: "check")
1305 // }
1306 // }
1307 // }
1308 },
1309 // Jupyter settings
1310 "jupyter": {
1311 "enabled": true
1312 // Specify the language name as the key and the kernel name as the value.
1313 // "kernel_selections": {
1314 // "python": "conda-base"
1315 // "typescript": "deno"
1316 // }
1317 },
1318 // Vim settings
1319 "vim": {
1320 "default_mode": "normal",
1321 "toggle_relative_line_numbers": false,
1322 "use_system_clipboard": "always",
1323 "use_multiline_find": false,
1324 "use_smartcase_find": false,
1325 "highlight_on_yank_duration": 200,
1326 "custom_digraphs": {}
1327 },
1328 // The server to connect to. If the environment variable
1329 // ZED_SERVER_URL is set, it will override this setting.
1330 "server_url": "https://zed.dev",
1331 // Settings overrides to use when using Zed Preview.
1332 // Mostly useful for developers who are managing multiple instances of Zed.
1333 "preview": {
1334 // "theme": "Andromeda"
1335 },
1336 // Settings overrides to use when using Zed Nightly.
1337 // Mostly useful for developers who are managing multiple instances of Zed.
1338 "nightly": {
1339 // "theme": "Andromeda"
1340 },
1341 // Settings overrides to use when using Zed Stable.
1342 // Mostly useful for developers who are managing multiple instances of Zed.
1343 "stable": {
1344 // "theme": "Andromeda"
1345 },
1346 // Settings overrides to use when using Zed Dev.
1347 // Mostly useful for developers who are managing multiple instances of Zed.
1348 "dev": {
1349 // "theme": "Andromeda"
1350 },
1351 // Task-related settings.
1352 "task": {
1353 // Whether to show task status indicator in the status bar. Default: true
1354 "show_status_indicator": true
1355 },
1356 // Whether to show full labels in line indicator or short ones
1357 //
1358 // Values:
1359 // - `short`: "2 s, 15 l, 32 c"
1360 // - `long`: "2 selections, 15 lines, 32 characters"
1361 // Default: long
1362 "line_indicator_format": "long",
1363 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1364 //
1365 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1366 // `socks5h`. `http` will be used when no scheme is specified.
1367 //
1368 // By default no proxy will be used, or Zed will try get proxy settings from
1369 // environment variables.
1370 //
1371 // Examples:
1372 // - "proxy": "socks5h://localhost:10808"
1373 // - "proxy": "http://127.0.0.1:10809"
1374 "proxy": null,
1375 // Set to configure aliases for the command palette.
1376 // When typing a query which is a key of this object, the value will be used instead.
1377 //
1378 // Examples:
1379 // {
1380 // "W": "workspace::Save"
1381 // }
1382 "command_aliases": {},
1383 // Whether to show user picture in titlebar.
1384 "show_user_picture": true,
1385 // ssh_connections is an array of ssh connections.
1386 // You can configure these from `project: Open Remote` in the command palette.
1387 // Zed's ssh support will pull configuration from your ~/.ssh too.
1388 // Examples:
1389 // [
1390 // {
1391 // "host": "example-box",
1392 // // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1393 // "projects": [
1394 // {
1395 // "paths": ["/home/user/code/zed"]
1396 // }
1397 // ]
1398 // }
1399 // ]
1400 "ssh_connections": [],
1401 // Configures context servers for use in the Assistant.
1402 "context_servers": {}
1403}