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 "use_smartcase_search": false,
383 // Inlay hint related settings
384 "inlay_hints": {
385 // Global switch to toggle hints on and off, switched off by default.
386 "enabled": false,
387 // Toggle certain types of hints on and off, all switched on by default.
388 "show_type_hints": true,
389 "show_parameter_hints": true,
390 // Corresponds to null/None LSP hint type value.
391 "show_other_hints": true,
392 // Whether to show a background for inlay hints.
393 //
394 // If set to `true`, the background will use the `hint.background` color from the current theme.
395 "show_background": false,
396 // Time to wait after editing the buffer, before requesting the hints,
397 // set to 0 to disable debouncing.
398 "edit_debounce_ms": 700,
399 // Time to wait after scrolling the buffer, before requesting the hints,
400 // set to 0 to disable debouncing.
401 "scroll_debounce_ms": 50,
402 /// A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
403 /// If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
404 "toggle_on_modifiers_press": {
405 "control": false,
406 "shift": false,
407 "alt": false,
408 "platform": false,
409 "function": false
410 }
411 },
412 "project_panel": {
413 // Whether to show the project panel button in the status bar
414 "button": true,
415 // Default width of the project panel.
416 "default_width": 240,
417 // Where to dock the project panel. Can be 'left' or 'right'.
418 "dock": "left",
419 // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
420 "entry_spacing": "comfortable",
421 // Whether to show file icons in the project panel.
422 "file_icons": true,
423 // Whether to show folder icons or chevrons for directories in the project panel.
424 "folder_icons": true,
425 // Whether to show the git status in the project panel.
426 "git_status": true,
427 // Amount of indentation for nested items.
428 "indent_size": 20,
429 // Whether to reveal it in the project panel automatically,
430 // when a corresponding project entry becomes active.
431 // Gitignored entries are never auto revealed.
432 "auto_reveal_entries": true,
433 // Whether to fold directories automatically and show compact folders
434 // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
435 "auto_fold_dirs": true,
436 /// Scrollbar-related settings
437 "scrollbar": {
438 /// When to show the scrollbar in the project panel.
439 /// This setting can take five values:
440 ///
441 /// 1. null (default): Inherit editor settings
442 /// 2. Show the scrollbar if there's important information or
443 /// follow the system's configured behavior (default):
444 /// "auto"
445 /// 3. Match the system's configured behavior:
446 /// "system"
447 /// 4. Always show the scrollbar:
448 /// "always"
449 /// 5. Never show the scrollbar:
450 /// "never"
451 "show": null
452 },
453 /// Which files containing diagnostic errors/warnings to mark in the project panel.
454 /// This setting can take the following three values:
455 ///
456 /// 1. Do not mark any files:
457 /// "off"
458 /// 2. Only mark files with errors:
459 /// "errors"
460 /// 3. Mark files with errors and warnings:
461 /// "all"
462 "show_diagnostics": "all",
463 // Settings related to indent guides in the project panel.
464 "indent_guides": {
465 // When to show indent guides in the project panel.
466 // This setting can take two values:
467 //
468 // 1. Always show indent guides:
469 // "always"
470 // 2. Never show indent guides:
471 // "never"
472 "show": "always"
473 }
474 },
475 "outline_panel": {
476 // Whether to show the outline panel button in the status bar
477 "button": true,
478 // Default width of the outline panel.
479 "default_width": 300,
480 // Where to dock the outline panel. Can be 'left' or 'right'.
481 "dock": "left",
482 // Whether to show file icons in the outline panel.
483 "file_icons": true,
484 // Whether to show folder icons or chevrons for directories in the outline panel.
485 "folder_icons": true,
486 // Whether to show the git status in the outline panel.
487 "git_status": true,
488 // Amount of indentation for nested items.
489 "indent_size": 20,
490 // Whether to reveal it in the outline panel automatically,
491 // when a corresponding outline entry becomes active.
492 // Gitignored entries are never auto revealed.
493 "auto_reveal_entries": true,
494 /// Whether to fold directories automatically
495 /// when a directory has only one directory inside.
496 "auto_fold_dirs": true,
497 // Settings related to indent guides in the outline panel.
498 "indent_guides": {
499 // When to show indent guides in the outline panel.
500 // This setting can take two values:
501 //
502 // 1. Always show indent guides:
503 // "always"
504 // 2. Never show indent guides:
505 // "never"
506 "show": "always"
507 },
508 /// Scrollbar-related settings
509 "scrollbar": {
510 /// When to show the scrollbar in the project panel.
511 /// This setting can take five values:
512 ///
513 /// 1. null (default): Inherit editor settings
514 /// 2. Show the scrollbar if there's important information or
515 /// follow the system's configured behavior (default):
516 /// "auto"
517 /// 3. Match the system's configured behavior:
518 /// "system"
519 /// 4. Always show the scrollbar:
520 /// "always"
521 /// 5. Never show the scrollbar:
522 /// "never"
523 "show": null
524 }
525 },
526 "collaboration_panel": {
527 // Whether to show the collaboration panel button in the status bar.
528 "button": true,
529 // Where to dock the collaboration panel. Can be 'left' or 'right'.
530 "dock": "left",
531 // Default width of the collaboration panel.
532 "default_width": 240
533 },
534 "chat_panel": {
535 // When to show the chat panel button in the status bar.
536 // Can be 'never', 'always', or 'when_in_call',
537 // or a boolean (interpreted as 'never'/'always').
538 "button": "when_in_call",
539 // Where to the chat panel. Can be 'left' or 'right'.
540 "dock": "right",
541 // Default width of the chat panel.
542 "default_width": 240
543 },
544 "git_panel": {
545 // Whether to show the git panel button in the status bar.
546 "button": true,
547 // Where to the git panel. Can be 'left' or 'right'.
548 "dock": "left",
549 // Default width of the git panel.
550 "default_width": 360,
551 // Style of the git status indicator in the panel.
552 //
553 // Default: icon
554 "status_style": "icon",
555 "scrollbar": {
556 // When to show the scrollbar in the git panel.
557 //
558 // Default: inherits editor scrollbar settings
559 "show": null
560 }
561 },
562 "message_editor": {
563 // Whether to automatically replace emoji shortcodes with emoji characters.
564 // For example: typing `:wave:` gets replaced with `👋`.
565 "auto_replace_emoji_shortcode": true
566 },
567 "notification_panel": {
568 // Whether to show the notification panel button in the status bar.
569 "button": true,
570 // Where to dock the notification panel. Can be 'left' or 'right'.
571 "dock": "right",
572 // Default width of the notification panel.
573 "default_width": 380
574 },
575 "assistant": {
576 // Version of this setting.
577 "version": "2",
578 // Whether the assistant is enabled.
579 "enabled": true,
580 // Whether to show the assistant panel button in the status bar.
581 "button": true,
582 // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
583 "dock": "right",
584 // Default width when the assistant is docked to the left or right.
585 "default_width": 640,
586 // Default height when the assistant is docked to the bottom.
587 "default_height": 320,
588 // The default model to use when creating new chats.
589 "default_model": {
590 // The provider to use.
591 "provider": "zed.dev",
592 // The model to use.
593 "model": "claude-3-5-sonnet-latest"
594 }
595 },
596 // The settings for slash commands.
597 "slash_commands": {
598 // Settings for the `/docs` slash command.
599 "docs": {
600 // Whether `/docs` is enabled.
601 "enabled": false
602 },
603 // Settings for the `/project` slash command.
604 "project": {
605 // Whether `/project` is enabled.
606 "enabled": false
607 }
608 },
609 // Whether the screen sharing icon is shown in the os status bar.
610 "show_call_status_icon": true,
611 // Whether to use language servers to provide code intelligence.
612 "enable_language_server": true,
613 // Whether to perform linked edits of associated ranges, if the language server supports it.
614 // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
615 "linked_edits": true,
616 // The list of language servers to use (or disable) for all languages.
617 //
618 // This is typically customized on a per-language basis.
619 "language_servers": ["..."],
620 // When to automatically save edited buffers. This setting can
621 // take four values.
622 //
623 // 1. Never automatically save:
624 // "autosave": "off",
625 // 2. Save when changing focus away from the Zed window:
626 // "autosave": "on_window_change",
627 // 3. Save when changing focus away from a specific buffer:
628 // "autosave": "on_focus_change",
629 // 4. Save when idle for a certain amount of time:
630 // "autosave": { "after_delay": {"milliseconds": 500} },
631 "autosave": "off",
632 // Maximum number of tabs per pane. Unset for unlimited.
633 "max_tabs": null,
634 // Settings related to the editor's tab bar.
635 "tab_bar": {
636 // Whether or not to show the tab bar in the editor
637 "show": true,
638 // Whether or not to show the navigation history buttons.
639 "show_nav_history_buttons": true,
640 /// Whether or not to show the tab bar buttons.
641 "show_tab_bar_buttons": true
642 },
643 // Settings related to the editor's tabs
644 "tabs": {
645 // Show git status colors in the editor tabs.
646 "git_status": false,
647 // Position of the close button on the editor tabs.
648 "close_position": "right",
649 // Whether to show the file icon for a tab.
650 "file_icons": false,
651 // Whether to always show the close button on tabs.
652 "always_show_close_button": false,
653 // What to do after closing the current tab.
654 //
655 // 1. Activate the tab that was open previously (default)
656 // "history"
657 // 2. Activate the right neighbour tab if present
658 // "neighbour"
659 // 3. Activate the left neighbour tab if present
660 // "left_neighbour"
661 "activate_on_close": "history",
662 /// Which files containing diagnostic errors/warnings to mark in the tabs.
663 /// Diagnostics are only shown when file icons are also active.
664 /// This setting only works when can take the following three values:
665 ///
666 /// 1. Do not mark any files:
667 /// "off"
668 /// 2. Only mark files with errors:
669 /// "errors"
670 /// 3. Mark files with errors and warnings:
671 /// "all"
672 "show_diagnostics": "off"
673 },
674 // Settings related to preview tabs.
675 "preview_tabs": {
676 // Whether preview tabs should be enabled.
677 // Preview tabs allow you to open files in preview mode, where they close automatically
678 // when you switch to another file unless you explicitly pin them.
679 // This is useful for quickly viewing files without cluttering your workspace.
680 "enabled": true,
681 // Whether to open tabs in preview mode when selected from the file finder.
682 "enable_preview_from_file_finder": false,
683 // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
684 "enable_preview_from_code_navigation": false
685 },
686 // Settings related to the file finder.
687 "file_finder": {
688 // Whether to show file icons in the file finder.
689 "file_icons": true,
690 // Determines how much space the file finder can take up in relation to the available window width.
691 // There are 5 possible width values:
692 //
693 // 1. Small: This value is essentially a fixed width.
694 // "modal_max_width": "small"
695 // 2. Medium:
696 // "modal_max_width": "medium"
697 // 3. Large:
698 // "modal_max_width": "large"
699 // 4. Extra Large:
700 // "modal_max_width": "xlarge"
701 // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
702 // "modal_max_width": "full"
703 //
704 // Default: small
705 "modal_max_width": "small"
706 },
707 // Whether or not to remove any trailing whitespace from lines of a buffer
708 // before saving it.
709 "remove_trailing_whitespace_on_save": true,
710 // Whether to start a new line with a comment when a previous line is a comment as well.
711 "extend_comment_on_newline": true,
712 // Whether or not to ensure there's a single newline at the end of a buffer
713 // when saving it.
714 "ensure_final_newline_on_save": true,
715 // Whether or not to perform a buffer format before saving
716 //
717 // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
718 "format_on_save": "on",
719 // How to perform a buffer format. This setting can take 4 values:
720 //
721 // 1. Format code using the current language server:
722 // "formatter": "language_server"
723 // 2. Format code using an external command:
724 // "formatter": {
725 // "external": {
726 // "command": "prettier",
727 // "arguments": ["--stdin-filepath", "{buffer_path}"]
728 // }
729 // }
730 // 3. Format code using Zed's Prettier integration:
731 // "formatter": "prettier"
732 // 4. Default. Format files using Zed's Prettier integration (if applicable),
733 // or falling back to formatting via language server:
734 // "formatter": "auto"
735 "formatter": "auto",
736 // How to soft-wrap long lines of text.
737 // Possible values:
738 //
739 // 1. Prefer a single line generally, unless an overly long line is encountered.
740 // "soft_wrap": "none",
741 // "soft_wrap": "prefer_line", // (deprecated, same as "none")
742 // 2. Soft wrap lines that overflow the editor.
743 // "soft_wrap": "editor_width",
744 // 3. Soft wrap lines at the preferred line length.
745 // "soft_wrap": "preferred_line_length",
746 // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
747 // "soft_wrap": "bounded",
748 "soft_wrap": "none",
749 // The column at which to soft-wrap lines, for buffers where soft-wrap
750 // is enabled.
751 "preferred_line_length": 80,
752 // Whether to indent lines using tab characters, as opposed to multiple
753 // spaces.
754 "hard_tabs": false,
755 // How many columns a tab should occupy.
756 "tab_size": 4,
757 // Control what info is collected by Zed.
758 "telemetry": {
759 // Send debug info like crash reports.
760 "diagnostics": true,
761 // Send anonymized usage data like what languages you're using Zed with.
762 "metrics": true
763 },
764 // Automatically update Zed. This setting may be ignored on Linux if
765 // installed through a package manager.
766 "auto_update": true,
767 // Diagnostics configuration.
768 "diagnostics": {
769 // Whether to show warnings or not by default.
770 "include_warnings": true,
771 // Settings for inline diagnostics
772 "inline": {
773 // Whether to show diagnostics inline or not
774 "enabled": false,
775 // The delay in milliseconds to show inline diagnostics after the
776 // last diagnostic update.
777 "update_debounce_ms": 150,
778 // The amount of padding between the end of the source line and the start
779 // of the inline diagnostic in units of em widths.
780 "padding": 4,
781 // The minimum column to display inline diagnostics. This setting can be
782 // used to horizontally align inline diagnostics at some column. Lines
783 // longer than this value will still push diagnostics further to the right.
784 "min_column": 0,
785 // The minimum severity of the diagnostics to show inline.
786 // Shows all diagnostics when not specified.
787 "max_severity": null
788 }
789 },
790 // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
791 // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
792 "file_scan_exclusions": [
793 "**/.git",
794 "**/.svn",
795 "**/.hg",
796 "**/.jj",
797 "**/CVS",
798 "**/.DS_Store",
799 "**/Thumbs.db",
800 "**/.classpath",
801 "**/.settings"
802 ],
803 // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
804 // for files that are not tracked by git, but are still important to your project. Note that globs
805 // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
806 // precedence over these inclusions.
807 "file_scan_inclusions": [".env*"],
808 // Git gutter behavior configuration.
809 "git": {
810 // Control whether the git gutter is shown. May take 2 values:
811 // 1. Show the gutter
812 // "git_gutter": "tracked_files"
813 // 2. Hide the gutter
814 // "git_gutter": "hide"
815 "git_gutter": "tracked_files",
816 // Control whether the git blame information is shown inline,
817 // in the currently focused line.
818 "inline_blame": {
819 "enabled": true
820 // Sets a delay after which the inline blame information is shown.
821 // Delay is restarted with every cursor movement.
822 // "delay_ms": 600
823 //
824 // Whether or not to display the git commit summary on the same line.
825 // "show_commit_summary": false
826 //
827 // The minimum column number to show the inline blame information at
828 // "min_column": 0
829 }
830 },
831 // Configuration for how direnv configuration should be loaded. May take 2 values:
832 // 1. Load direnv configuration using `direnv export json` directly.
833 // "load_direnv": "direct"
834 // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
835 // "load_direnv": "shell_hook"
836 "load_direnv": "direct",
837 "edit_predictions": {
838 // A list of globs representing files that edit predictions should be disabled for.
839 // There's a sensible default list of globs already included.
840 // Any addition to this list will be merged with the default list.
841 "disabled_globs": [
842 "**/.env*",
843 "**/*.pem",
844 "**/*.key",
845 "**/*.cert",
846 "**/*.crt",
847 "**/.dev.vars",
848 "**/secrets.yml"
849 ],
850 // When to show edit predictions previews in buffer.
851 // This setting takes two possible values:
852 // 1. Display predictions inline when there are no language server completions available.
853 // "mode": "eager"
854 // 2. Display predictions inline only when holding a modifier key (alt by default).
855 // "mode": "subtle"
856 "mode": "eager"
857 },
858 // Settings specific to journaling
859 "journal": {
860 // The path of the directory where journal entries are stored
861 "path": "~",
862 // What format to display the hours in
863 // May take 2 values:
864 // 1. hour12
865 // 2. hour24
866 "hour_format": "hour12"
867 },
868 // Settings specific to the terminal
869 "terminal": {
870 // What shell to use when opening a terminal. May take 3 values:
871 // 1. Use the system's default terminal configuration in /etc/passwd
872 // "shell": "system"
873 // 2. A program:
874 // "shell": {
875 // "program": "sh"
876 // }
877 // 3. A program with arguments:
878 // "shell": {
879 // "with_arguments": {
880 // "program": "/bin/bash",
881 // "args": ["--login"]
882 // }
883 // }
884 "shell": "system",
885 // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
886 "dock": "bottom",
887 // Default width when the terminal is docked to the left or right.
888 "default_width": 640,
889 // Default height when the terminal is docked to the bottom.
890 "default_height": 320,
891 // What working directory to use when launching the terminal.
892 // May take 4 values:
893 // 1. Use the current file's project directory. Will Fallback to the
894 // first project directory strategy if unsuccessful
895 // "working_directory": "current_project_directory"
896 // 2. Use the first project in this workspace's directory
897 // "working_directory": "first_project_directory"
898 // 3. Always use this platform's home directory (if we can find it)
899 // "working_directory": "always_home"
900 // 4. Always use a specific directory. This value will be shell expanded.
901 // If this path is not a valid directory the terminal will default to
902 // this platform's home directory (if we can find it)
903 // "working_directory": {
904 // "always": {
905 // "directory": "~/zed/projects/"
906 // }
907 // }
908 "working_directory": "current_project_directory",
909 // Set the cursor blinking behavior in the terminal.
910 // May take 3 values:
911 // 1. Never blink the cursor, ignoring the terminal mode
912 // "blinking": "off",
913 // 2. Default the cursor blink to off, but allow the terminal to
914 // set blinking
915 // "blinking": "terminal_controlled",
916 // 3. Always blink the cursor, ignoring the terminal mode
917 // "blinking": "on",
918 "blinking": "terminal_controlled",
919 // Default cursor shape for the terminal.
920 // 1. A block that surrounds the following character
921 // "block"
922 // 2. A vertical bar
923 // "bar"
924 // 3. An underline / underscore that runs along the following character
925 // "underline"
926 // 4. A box drawn around the following character
927 // "hollow"
928 //
929 // Default: not set, defaults to "block"
930 "cursor_shape": null,
931 // Set whether Alternate Scroll mode (code: ?1007) is active by default.
932 // Alternate Scroll mode converts mouse scroll events into up / down key
933 // presses when in the alternate screen (e.g. when running applications
934 // like vim or less). The terminal can still set and unset this mode.
935 // May take 2 values:
936 // 1. Default alternate scroll mode to on
937 // "alternate_scroll": "on",
938 // 2. Default alternate scroll mode to off
939 // "alternate_scroll": "off",
940 "alternate_scroll": "off",
941 // Set whether the option key behaves as the meta key.
942 // May take 2 values:
943 // 1. Rely on default platform handling of option key, on macOS
944 // this means generating certain unicode characters
945 // "option_as_meta": false,
946 // 2. Make the option keys behave as a 'meta' key, e.g. for emacs
947 // "option_as_meta": true,
948 "option_as_meta": false,
949 // Whether or not selecting text in the terminal will automatically
950 // copy to the system clipboard.
951 "copy_on_select": false,
952 // Whether to show the terminal button in the status bar
953 "button": true,
954 // Any key-value pairs added to this list will be added to the terminal's
955 // environment. Use `:` to separate multiple values.
956 "env": {
957 // "KEY": "value1:value2"
958 },
959 // Set the terminal's line height.
960 // May take 3 values:
961 // 1. Use a line height that's comfortable for reading, 1.618
962 // "line_height": "comfortable"
963 // 2. Use a standard line height, 1.3. This option is useful for TUIs,
964 // particularly if they use box characters
965 // "line_height": "standard",
966 // 3. Use a custom line height.
967 // "line_height": {
968 // "custom": 2
969 // },
970 "line_height": "comfortable",
971 // Activate the python virtual environment, if one is found, in the
972 // terminal's working directory (as resolved by the working_directory
973 // setting). Set this to "off" to disable this behavior.
974 "detect_venv": {
975 "on": {
976 // Default directories to search for virtual environments, relative
977 // to the current working directory. We recommend overriding this
978 // in your project's settings, rather than globally.
979 "directories": [".env", "env", ".venv", "venv"],
980 // Can also be `csh`, `fish`, `nushell` and `power_shell`
981 "activate_script": "default"
982 }
983 },
984 "toolbar": {
985 // Whether to display the terminal title in its toolbar's breadcrumbs.
986 // Only shown if the terminal title is not empty.
987 //
988 // The shell running in the terminal needs to be configured to emit the title.
989 // Example: `echo -e "\e]2;New Title\007";`
990 "breadcrumbs": true
991 },
992 /// Scrollbar-related settings
993 "scrollbar": {
994 /// When to show the scrollbar in the terminal.
995 /// This setting can take five values:
996 ///
997 /// 1. null (default): Inherit editor settings
998 /// 2. Show the scrollbar if there's important information or
999 /// follow the system's configured behavior (default):
1000 /// "auto"
1001 /// 3. Match the system's configured behavior:
1002 /// "system"
1003 /// 4. Always show the scrollbar:
1004 /// "always"
1005 /// 5. Never show the scrollbar:
1006 /// "never"
1007 "show": null
1008 }
1009 // Set the terminal's font size. If this option is not included,
1010 // the terminal will default to matching the buffer's font size.
1011 // "font_size": 15,
1012 // Set the terminal's font family. If this option is not included,
1013 // the terminal will default to matching the buffer's font family.
1014 // "font_family": "Zed Plex Mono",
1015 // Set the terminal's font fallbacks. If this option is not included,
1016 // the terminal will default to matching the buffer's font fallbacks.
1017 // This will be merged with the platform's default font fallbacks
1018 // "font_fallbacks": ["FiraCode Nerd Fonts"],
1019 // Sets the maximum number of lines in the terminal's scrollback buffer.
1020 // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1021 // Existing terminals will not pick up this change until they are recreated.
1022 // "max_scroll_history_lines": 10000,
1023 },
1024 "code_actions_on_format": {},
1025 /// Settings related to running tasks.
1026 "tasks": {
1027 "variables": {}
1028 },
1029 // An object whose keys are language names, and whose values
1030 // are arrays of filenames or extensions of files that should
1031 // use those languages.
1032 //
1033 // For example, to treat files like `foo.notjs` as JavaScript,
1034 // and `Embargo.lock` as TOML:
1035 //
1036 // {
1037 // "JavaScript": ["notjs"],
1038 // "TOML": ["Embargo.lock"]
1039 // }
1040 //
1041 "file_types": {
1042 "Plain Text": ["txt"],
1043 "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1044 "Shell Script": [".env.*"]
1045 },
1046 /// By default use a recent system version of node, or install our own.
1047 /// You can override this to use a version of node that is not in $PATH with:
1048 /// {
1049 /// "node": {
1050 /// "path": "/path/to/node"
1051 /// "npm_path": "/path/to/npm" (defaults to node_path/../npm)
1052 /// }
1053 /// }
1054 /// or to ensure Zed always downloads and installs an isolated version of node:
1055 /// {
1056 /// "node": {
1057 /// "ignore_system_version": true,
1058 /// }
1059 /// NOTE: changing this setting currently requires restarting Zed.
1060 "node": {},
1061 // The extensions that Zed should automatically install on startup.
1062 //
1063 // If you don't want any of these extensions, add this field to your settings
1064 // and change the value to `false`.
1065 "auto_install_extensions": {
1066 "html": true
1067 },
1068 // Different settings for specific languages.
1069 "languages": {
1070 "Astro": {
1071 "language_servers": ["astro-language-server", "..."],
1072 "prettier": {
1073 "allowed": true,
1074 "plugins": ["prettier-plugin-astro"]
1075 }
1076 },
1077 "Blade": {
1078 "prettier": {
1079 "allowed": true
1080 }
1081 },
1082 "C": {
1083 "format_on_save": "off",
1084 "use_on_type_format": false,
1085 "prettier": {
1086 "allowed": false
1087 }
1088 },
1089 "C++": {
1090 "format_on_save": "off",
1091 "use_on_type_format": false,
1092 "prettier": {
1093 "allowed": false
1094 }
1095 },
1096 "CSS": {
1097 "prettier": {
1098 "allowed": true
1099 }
1100 },
1101 "Dart": {
1102 "tab_size": 2
1103 },
1104 "Diff": {
1105 "show_edit_predictions": false,
1106 "remove_trailing_whitespace_on_save": false,
1107 "ensure_final_newline_on_save": false
1108 },
1109 "Elixir": {
1110 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1111 },
1112 "Erlang": {
1113 "language_servers": ["erlang-ls", "!elp", "..."]
1114 },
1115 "Git Commit": {
1116 "allow_rewrap": "anywhere"
1117 },
1118 "Go": {
1119 "code_actions_on_format": {
1120 "source.organizeImports": true
1121 }
1122 },
1123 "GraphQL": {
1124 "prettier": {
1125 "allowed": true
1126 }
1127 },
1128 "HEEX": {
1129 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1130 },
1131 "HTML": {
1132 "prettier": {
1133 "allowed": true
1134 }
1135 },
1136 "Java": {
1137 "prettier": {
1138 "allowed": true,
1139 "plugins": ["prettier-plugin-java"]
1140 }
1141 },
1142 "JavaScript": {
1143 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1144 "prettier": {
1145 "allowed": true
1146 }
1147 },
1148 "JSON": {
1149 "prettier": {
1150 "allowed": true
1151 }
1152 },
1153 "JSONC": {
1154 "prettier": {
1155 "allowed": true
1156 }
1157 },
1158 "Markdown": {
1159 "format_on_save": "off",
1160 "use_on_type_format": false,
1161 "allow_rewrap": "anywhere",
1162 "prettier": {
1163 "allowed": true
1164 }
1165 },
1166 "PHP": {
1167 "language_servers": ["phpactor", "!intelephense", "..."],
1168 "prettier": {
1169 "allowed": true,
1170 "plugins": ["@prettier/plugin-php"],
1171 "parser": "php"
1172 }
1173 },
1174 "Plain Text": {
1175 "allow_rewrap": "anywhere"
1176 },
1177 "Ruby": {
1178 "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1179 },
1180 "SCSS": {
1181 "prettier": {
1182 "allowed": true
1183 }
1184 },
1185 "SQL": {
1186 "prettier": {
1187 "allowed": true,
1188 "plugins": ["prettier-plugin-sql"]
1189 }
1190 },
1191 "Starlark": {
1192 "language_servers": ["starpls", "!buck2-lsp", "..."]
1193 },
1194 "Svelte": {
1195 "language_servers": ["svelte-language-server", "..."],
1196 "prettier": {
1197 "allowed": true,
1198 "plugins": ["prettier-plugin-svelte"]
1199 }
1200 },
1201 "TSX": {
1202 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1203 "prettier": {
1204 "allowed": true
1205 }
1206 },
1207 "Twig": {
1208 "prettier": {
1209 "allowed": true
1210 }
1211 },
1212 "TypeScript": {
1213 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1214 "prettier": {
1215 "allowed": true
1216 }
1217 },
1218 "Vue.js": {
1219 "language_servers": ["vue-language-server", "..."],
1220 "prettier": {
1221 "allowed": true
1222 }
1223 },
1224 "XML": {
1225 "prettier": {
1226 "allowed": true,
1227 "plugins": ["@prettier/plugin-xml"]
1228 }
1229 },
1230 "YAML": {
1231 "prettier": {
1232 "allowed": true
1233 }
1234 },
1235 "Zig": {
1236 "language_servers": ["zls", "..."]
1237 }
1238 },
1239 // Different settings for specific language models.
1240 "language_models": {
1241 "anthropic": {
1242 "version": "1",
1243 "api_url": "https://api.anthropic.com"
1244 },
1245 "google": {
1246 "api_url": "https://generativelanguage.googleapis.com"
1247 },
1248 "ollama": {
1249 "api_url": "http://localhost:11434"
1250 },
1251 "openai": {
1252 "version": "1",
1253 "api_url": "https://api.openai.com/v1"
1254 },
1255 "lmstudio": {
1256 "api_url": "http://localhost:1234/api/v0"
1257 },
1258 "deepseek": {
1259 "api_url": "https://api.deepseek.com"
1260 },
1261 "mistral": {
1262 "api_url": "https://api.mistral.ai/v1"
1263 }
1264 },
1265 // Zed's Prettier integration settings.
1266 // Allows to enable/disable formatting with Prettier
1267 // and configure default Prettier, used when no project-level Prettier installation is found.
1268 "prettier": {
1269 // // Whether to consider prettier formatter or not when attempting to format a file.
1270 // "allowed": false,
1271 //
1272 // // Use regular Prettier json configuration.
1273 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1274 // // the project has no other Prettier installed.
1275 // "plugins": [],
1276 //
1277 // // Use regular Prettier json configuration.
1278 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1279 // // the project has no other Prettier installed.
1280 // "trailingComma": "es5",
1281 // "tabWidth": 4,
1282 // "semi": false,
1283 // "singleQuote": true
1284 },
1285 // LSP Specific settings.
1286 "lsp": {
1287 // Specify the LSP name as a key here.
1288 // "rust-analyzer": {
1289 // // These initialization options are merged into Zed's defaults
1290 // "initialization_options": {
1291 // "check": {
1292 // "command": "clippy" // rust-analyzer.check.command (default: "check")
1293 // }
1294 // }
1295 // }
1296 },
1297 // Jupyter settings
1298 "jupyter": {
1299 "enabled": true
1300 // Specify the language name as the key and the kernel name as the value.
1301 // "kernel_selections": {
1302 // "python": "conda-base"
1303 // "typescript": "deno"
1304 // }
1305 },
1306 // Vim settings
1307 "vim": {
1308 "default_mode": "normal",
1309 "toggle_relative_line_numbers": false,
1310 "use_system_clipboard": "always",
1311 "use_multiline_find": false,
1312 "use_smartcase_find": false,
1313 "highlight_on_yank_duration": 200,
1314 "custom_digraphs": {}
1315 },
1316 // The server to connect to. If the environment variable
1317 // ZED_SERVER_URL is set, it will override this setting.
1318 "server_url": "https://zed.dev",
1319 // Settings overrides to use when using Zed Preview.
1320 // Mostly useful for developers who are managing multiple instances of Zed.
1321 "preview": {
1322 // "theme": "Andromeda"
1323 },
1324 // Settings overrides to use when using Zed Nightly.
1325 // Mostly useful for developers who are managing multiple instances of Zed.
1326 "nightly": {
1327 // "theme": "Andromeda"
1328 },
1329 // Settings overrides to use when using Zed Stable.
1330 // Mostly useful for developers who are managing multiple instances of Zed.
1331 "stable": {
1332 // "theme": "Andromeda"
1333 },
1334 // Settings overrides to use when using Zed Dev.
1335 // Mostly useful for developers who are managing multiple instances of Zed.
1336 "dev": {
1337 // "theme": "Andromeda"
1338 },
1339 // Task-related settings.
1340 "task": {
1341 // Whether to show task status indicator in the status bar. Default: true
1342 "show_status_indicator": true
1343 },
1344 // Whether to show full labels in line indicator or short ones
1345 //
1346 // Values:
1347 // - `short`: "2 s, 15 l, 32 c"
1348 // - `long`: "2 selections, 15 lines, 32 characters"
1349 // Default: long
1350 "line_indicator_format": "long",
1351 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1352 //
1353 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1354 // `socks5h`. `http` will be used when no scheme is specified.
1355 //
1356 // By default no proxy will be used, or Zed will try get proxy settings from
1357 // environment variables.
1358 //
1359 // Examples:
1360 // - "proxy": "socks5h://localhost:10808"
1361 // - "proxy": "http://127.0.0.1:10809"
1362 "proxy": null,
1363 // Set to configure aliases for the command palette.
1364 // When typing a query which is a key of this object, the value will be used instead.
1365 //
1366 // Examples:
1367 // {
1368 // "W": "workspace::Save"
1369 // }
1370 "command_aliases": {},
1371 // Whether to show user picture in titlebar.
1372 "show_user_picture": true,
1373 // ssh_connections is an array of ssh connections.
1374 // You can configure these from `project: Open Remote` in the command palette.
1375 // Zed's ssh support will pull configuration from your ~/.ssh too.
1376 // Examples:
1377 // [
1378 // {
1379 // "host": "example-box",
1380 // // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1381 // "projects": [
1382 // {
1383 // "paths": ["/home/user/code/zed"]
1384 // }
1385 // ]
1386 // }
1387 // ]
1388 "ssh_connections": [],
1389 // Configures context servers for use in the Assistant.
1390 "context_servers": {}
1391}