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