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