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