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