1{
2 /// The displayed name of this project. If not set or empty, the root directory name
3 /// will be displayed.
4 "project_name": "",
5 // The name of the Zed theme to use for the UI.
6 //
7 // `mode` is one of:
8 // - "system": Use the theme that corresponds to the system's appearance
9 // - "light": Use the theme indicated by the "light" field
10 // - "dark": Use the theme indicated by the "dark" field
11 "theme": {
12 "mode": "system",
13 "light": "One Light",
14 "dark": "One Dark"
15 },
16 "icon_theme": "Zed (Default)",
17 // The name of a base set of key bindings to use.
18 // This setting can take six values, each named after another
19 // text editor:
20 //
21 // 1. "VSCode"
22 // 2. "Atom"
23 // 3. "JetBrains"
24 // 4. "None"
25 // 5. "SublimeText"
26 // 6. "TextMate"
27 "base_keymap": "VSCode",
28 // Features that can be globally enabled or disabled
29 "features": {
30 // Which edit prediction provider to use.
31 "edit_prediction_provider": "zed"
32 },
33 // The name of a font to use for rendering text in the editor
34 // ".ZedMono" currently aliases to Lilex
35 // but this may change in the future.
36 "buffer_font_family": ".ZedMono",
37 // Set the buffer text's font fallbacks, this will be merged with
38 // the platform's default fallbacks.
39 "buffer_font_fallbacks": null,
40 // The OpenType features to enable for text in the editor.
41 "buffer_font_features": {
42 // Disable ligatures:
43 // "calt": false
44 },
45 // The default font size for text in the editor
46 "buffer_font_size": 15,
47 // The weight of the editor font in standard CSS units from 100 to 900.
48 "buffer_font_weight": 400,
49 // Set the buffer's line height.
50 // May take 3 values:
51 // 1. Use a line height that's comfortable for reading (1.618)
52 // "buffer_line_height": "comfortable"
53 // 2. Use a standard line height, (1.3)
54 // "buffer_line_height": "standard",
55 // 3. Use a custom line height
56 // "buffer_line_height": {
57 // "custom": 2
58 // },
59 "buffer_line_height": "comfortable",
60 // The name of a font to use for rendering text in the UI
61 // You can set this to ".SystemUIFont" to use the system font
62 // ".ZedSans" currently aliases to "IBM Plex Sans", but this may
63 // change in the future
64 "ui_font_family": ".ZedSans",
65 // Set the UI's font fallbacks, this will be merged with the platform's
66 // default font fallbacks.
67 "ui_font_fallbacks": null,
68 // The OpenType features to enable for text in the UI
69 "ui_font_features": {
70 // Disable ligatures:
71 "calt": false
72 },
73 // The weight of the UI font in standard CSS units from 100 to 900.
74 "ui_font_weight": 400,
75 // The default font size for text in the UI
76 "ui_font_size": 16,
77 // The default font size for agent responses in the agent panel. Falls back to the UI font size if unset.
78 "agent_ui_font_size": null,
79 // The default font size for user messages in the agent panel. Falls back to the buffer font size if unset.
80 "agent_buffer_font_size": 12,
81 // How much to fade out unused code.
82 "unnecessary_code_fade": 0.3,
83 // Active pane styling settings.
84 "active_pane_modifiers": {
85 // Inset border size of the active pane, in pixels.
86 "border_size": 0.0,
87 // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
88 // Values are clamped to the [0.0, 1.0] range.
89 "inactive_opacity": 1.0
90 },
91 // Layout mode of the bottom dock. Defaults to "contained"
92 // choices: contained, full, left_aligned, right_aligned
93 "bottom_dock_layout": "contained",
94 // The direction that you want to split panes horizontally. Defaults to "down"
95 "pane_split_direction_horizontal": "down",
96 // The direction that you want to split panes vertically. Defaults to "right"
97 "pane_split_direction_vertical": "right",
98 // Centered layout related settings.
99 "centered_layout": {
100 // The relative width of the left padding of the central pane from the
101 // workspace when the centered layout is used.
102 "left_padding": 0.2,
103 // The relative width of the right padding of the central pane from the
104 // workspace when the centered layout is used.
105 "right_padding": 0.2
106 },
107 // Image viewer settings
108 "image_viewer": {
109 // The unit for image file sizes: "binary" (KiB, MiB) or decimal (KB, MB)
110 "unit": "binary"
111 },
112 // Determines the modifier to be used to add multiple cursors with the mouse. The open hover link mouse gestures will adapt such that it do not conflict with the multicursor modifier.
113 //
114 // 1. Maps to `Alt` on Linux and Windows and to `Option` on MacOS:
115 // "alt"
116 // 2. Maps `Control` on Linux and Windows and to `Command` on MacOS:
117 // "cmd_or_ctrl" (alias: "cmd", "ctrl")
118 "multi_cursor_modifier": "alt",
119 // Whether to enable vim modes and key bindings.
120 "vim_mode": false,
121 // Whether to enable helix mode and key bindings.
122 // Enabling this mode will automatically enable vim mode.
123 "helix_mode": false,
124 // Whether to show the informational hover box when moving the mouse
125 // over symbols in the editor.
126 "hover_popover_enabled": true,
127 // Time to wait in milliseconds before showing the informational hover box.
128 "hover_popover_delay": 300,
129 // Whether to confirm before quitting Zed.
130 "confirm_quit": false,
131 // Whether to restore last closed project when fresh Zed instance is opened
132 // May take 3 values:
133 // 1. All workspaces open during last session
134 // "restore_on_startup": "last_session"
135 // 2. The workspace opened
136 // "restore_on_startup": "last_workspace",
137 // 3. Do not restore previous workspaces
138 // "restore_on_startup": "none",
139 "restore_on_startup": "last_session",
140 // Whether to attempt to restore previous file's state when opening it again.
141 // The state is stored per pane.
142 // When disabled, defaults are applied instead of the state restoration.
143 //
144 // E.g. for editors, selections, folds and scroll positions are restored, if the same file is closed and, later, opened again in the same pane.
145 // When disabled, a single selection in the very beginning of the file, zero scroll position and no folds state is used as a default.
146 //
147 // Default: true
148 "restore_on_file_reopen": true,
149 // Whether to automatically close files that have been deleted on disk.
150 "close_on_file_delete": false,
151 // Relative size of the drop target in the editor that will open dropped file as a split pane (0-0.5)
152 // E.g. 0.25 == If you drop onto the top/bottom quarter of the pane a new vertical split will be used
153 // If you drop onto the left/right quarter of the pane a new horizontal split will be used
154 "drop_target_size": 0.2,
155 // Whether the window should be closed when using 'close active item' on a window with no tabs.
156 // May take 3 values:
157 // 1. Use the current platform's convention
158 // "when_closing_with_no_tabs": "platform_default"
159 // 2. Always close the window:
160 // "when_closing_with_no_tabs": "close_window",
161 // 3. Never close the window
162 // "when_closing_with_no_tabs": "keep_window_open",
163 "when_closing_with_no_tabs": "platform_default",
164 // What to do when the last window is closed.
165 // May take 2 values:
166 // 1. Use the current platform's convention
167 // "on_last_window_closed": "platform_default"
168 // 2. Always quit the application
169 // "on_last_window_closed": "quit_app",
170 "on_last_window_closed": "platform_default",
171 // Whether to show padding for zoomed panels.
172 // When enabled, zoomed center panels (e.g. code editor) will have padding all around,
173 // while zoomed bottom/left/right panels will have padding to the top/right/left (respectively).
174 //
175 // Default: true
176 "zoomed_padding": true,
177 // Whether to use the system provided dialogs for Open and Save As.
178 // When set to false, Zed will use the built-in keyboard-first pickers.
179 "use_system_path_prompts": true,
180 // Whether to use the system provided dialogs for prompts, such as confirmation
181 // prompts.
182 // When set to false, Zed will use its built-in prompts. Note that on Linux,
183 // this option is ignored and Zed will always use the built-in prompts.
184 "use_system_prompts": true,
185 // Whether the cursor blinks in the editor.
186 "cursor_blink": true,
187 // Cursor shape for the default editor.
188 // 1. A vertical bar
189 // "bar"
190 // 2. A block that surrounds the following character
191 // "block"
192 // 3. An underline / underscore that runs along the following character
193 // "underline"
194 // 4. A box drawn around the following character
195 // "hollow"
196 //
197 // Default: "bar"
198 "cursor_shape": "bar",
199 // Determines when the mouse cursor should be hidden in an editor or input box.
200 //
201 // 1. Never hide the mouse cursor:
202 // "never"
203 // 2. Hide only when typing:
204 // "on_typing"
205 // 3. Hide on both typing and cursor movement:
206 // "on_typing_and_movement"
207 "hide_mouse": "on_typing_and_movement",
208 // Determines how snippets are sorted relative to other completion items.
209 //
210 // 1. Place snippets at the top of the completion list:
211 // "top"
212 // 2. Place snippets normally without any preference:
213 // "inline"
214 // 3. Place snippets at the bottom of the completion list:
215 // "bottom"
216 // 4. Do not show snippets in the completion list:
217 // "none"
218 "snippet_sort_order": "inline",
219 // How to highlight the current line in the editor.
220 //
221 // 1. Don't highlight the current line:
222 // "none"
223 // 2. Highlight the gutter area:
224 // "gutter"
225 // 3. Highlight the editor area:
226 // "line"
227 // 4. Highlight the full line (default):
228 // "all"
229 "current_line_highlight": "all",
230 // Whether to highlight all occurrences of the selected text in an editor.
231 "selection_highlight": true,
232 // Whether the text selection should have rounded corners.
233 "rounded_selection": true,
234 // The debounce delay before querying highlights from the language
235 // server based on the current cursor location.
236 "lsp_highlight_debounce": 75,
237 // The minimum APCA perceptual contrast between foreground and background colors.
238 // APCA (Accessible Perceptual Contrast Algorithm) is more accurate than WCAG 2.x,
239 // especially for dark mode. Values range from 0 to 106.
240 //
241 // Based on APCA Readability Criterion (ARC) Bronze Simple Mode:
242 // https://readtech.org/ARC/tests/bronze-simple-mode/
243 // - 0: No contrast adjustment
244 // - 45: Minimum for large fluent text (36px+)
245 // - 60: Minimum for other content text
246 // - 75: Minimum for body text
247 // - 90: Preferred for body text
248 //
249 // This only affects text drawn over highlight backgrounds in the editor.
250 "minimum_contrast_for_highlights": 45,
251 // Whether to pop the completions menu while typing in an editor without
252 // explicitly requesting it.
253 "show_completions_on_input": true,
254 // Whether to display inline and alongside documentation for items in the
255 // completions menu
256 "show_completion_documentation": true,
257 // Show method signatures in the editor, when inside parentheses.
258 "auto_signature_help": false,
259 // Whether to show the signature help after completion or a bracket pair inserted.
260 // If `auto_signature_help` is enabled, this setting will be treated as enabled also.
261 "show_signature_help_after_edits": false,
262 // Whether to show code action button at start of buffer line.
263 "inline_code_actions": true,
264 // Whether to allow drag and drop text selection in buffer.
265 "drag_and_drop_selection": {
266 // When true, enables drag and drop text selection in buffer.
267 "enabled": true,
268 // The delay in milliseconds that must elapse before drag and drop is allowed. Otherwise, a new text selection is created.
269 "delay": 300
270 },
271 // What to do when go to definition yields no results.
272 //
273 // 1. Do nothing: `none`
274 // 2. Find references for the same symbol: `find_all_references` (default)
275 "go_to_definition_fallback": "find_all_references",
276 // Which level to use to filter out diagnostics displayed in the editor.
277 //
278 // Affects the editor rendering only, and does not interrupt
279 // the functionality of diagnostics fetching and project diagnostics editor.
280 // Which files containing diagnostic errors/warnings to mark in the tabs.
281 // Diagnostics are only shown when file icons are also active.
282 // This setting only works when can take the following three values:
283 //
284 // Which diagnostic indicators to show in the scrollbar, their level should be more or equal to the specified severity level.
285 // Possible values:
286 // - "off" — no diagnostics are allowed
287 // - "error"
288 // - "warning"
289 // - "info"
290 // - "hint"
291 // - "all" — allow all diagnostics (default)
292 "diagnostics_max_severity": "all",
293 // Whether to show wrap guides (vertical rulers) in the editor.
294 // Setting this to true will show a guide at the 'preferred_line_length' value
295 // if 'soft_wrap' is set to 'preferred_line_length', and will show any
296 // additional guides as specified by the 'wrap_guides' setting.
297 "show_wrap_guides": true,
298 // Character counts at which to show wrap guides in the editor.
299 "wrap_guides": [],
300 // Hide the values of in variables from visual display in private files
301 "redact_private_values": false,
302 // The default number of lines to expand excerpts in the multibuffer by.
303 "expand_excerpt_lines": 5,
304 // The default number of context lines shown in multibuffer excerpts.
305 "excerpt_context_lines": 2,
306 // Globs to match against file paths to determine if a file is private.
307 "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
308 // Whether to use additional LSP queries to format (and amend) the code after
309 // every "trigger" symbol input, defined by LSP server capabilities.
310 "use_on_type_format": true,
311 // Whether to automatically add matching closing characters when typing
312 // opening parenthesis, bracket, brace, single or double quote characters.
313 // For example, when you type (, Zed will add a closing ) at the correct position.
314 "use_autoclose": true,
315 // Whether to automatically surround selected text when typing opening parenthesis,
316 // bracket, brace, single or double quote characters.
317 // For example, when you select text and type (, Zed will surround the text with ().
318 "use_auto_surround": true,
319 // Whether indentation should be adjusted based on the context whilst typing.
320 "auto_indent": true,
321 // Whether indentation of pasted content should be adjusted based on the context.
322 "auto_indent_on_paste": true,
323 // Controls how the editor handles the autoclosed characters.
324 // When set to `false`(default), skipping over and auto-removing of the closing characters
325 // happen only for auto-inserted characters.
326 // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
327 // no matter how they were inserted.
328 "always_treat_brackets_as_autoclosed": false,
329 // Controls where the `editor::Rewrap` action is allowed in the current language scope.
330 //
331 // This setting can take three values:
332 //
333 // 1. Only allow rewrapping in comments:
334 // "in_comments"
335 // 2. Only allow rewrapping in the current selection(s):
336 // "in_selections"
337 // 3. Allow rewrapping anywhere:
338 // "anywhere"
339 //
340 // When using values other than `in_comments`, it is possible for the rewrapping to produce code
341 // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
342 // to use.
343 //
344 // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
345 "allow_rewrap": "in_comments",
346 // Controls whether edit predictions are shown immediately (true)
347 // or manually by triggering `editor::ShowEditPrediction` (false).
348 "show_edit_predictions": true,
349 // Controls whether edit predictions are shown in a given language scope.
350 // Example: ["string", "comment"]
351 "edit_predictions_disabled_in": [],
352 // Whether to show tabs and spaces in the editor.
353 // This setting can take four values:
354 //
355 // 1. Draw tabs and spaces only for the selected text (default):
356 // "selection"
357 // 2. Do not draw any tabs or spaces:
358 // "none"
359 // 3. Draw all invisible symbols:
360 // "all"
361 // 4. Draw whitespaces at boundaries only:
362 // "boundary"
363 // 5. Draw whitespaces only after non-whitespace characters:
364 // "trailing"
365 // For a whitespace to be on a boundary, any of the following conditions need to be met:
366 // - It is a tab
367 // - It is adjacent to an edge (start or end)
368 // - It is adjacent to a whitespace (left or right)
369 "show_whitespaces": "selection",
370 // Visible characters used to render whitespace when show_whitespaces is enabled.
371 "whitespace_map": {
372 "space": "•",
373 "tab": "→"
374 },
375 // Settings related to calls in Zed
376 "calls": {
377 // Join calls with the microphone live by default
378 "mute_on_join": false,
379 // Share your project when you are the first to join a channel
380 "share_on_join": false
381 },
382 // Toolbar related settings
383 "toolbar": {
384 // Whether to show breadcrumbs.
385 "breadcrumbs": true,
386 // Whether to show quick action buttons.
387 "quick_actions": true,
388 // Whether to show the Selections menu in the editor toolbar.
389 "selections_menu": true,
390 // Whether to show agent review buttons in the editor toolbar.
391 "agent_review": true,
392 // Whether to show code action buttons in the editor toolbar.
393 "code_actions": false
394 },
395 // Whether to allow windows to tab together based on the user’s tabbing preference (macOS only).
396 "use_system_window_tabs": false,
397 // Titlebar related settings
398 "title_bar": {
399 // Whether to show the branch icon beside branch switcher in the titlebar.
400 "show_branch_icon": false,
401 // Whether to show the branch name button in the titlebar.
402 "show_branch_name": true,
403 // Whether to show the project host and name in the titlebar.
404 "show_project_items": true,
405 // Whether to show onboarding banners in the titlebar.
406 "show_onboarding_banner": true,
407 // Whether to show user picture in the titlebar.
408 "show_user_picture": true,
409 // Whether to show the sign in button in the titlebar.
410 "show_sign_in": true,
411 // Whether to show the menus in the titlebar.
412 "show_menus": false
413 },
414 "audio": {
415 // Opt into the new audio system.
416 "experimental.rodio_audio": false,
417 // Requires 'rodio_audio: true'
418 //
419 // Automatically increase or decrease you microphone's volume. This affects how
420 // loud you sound to others.
421 //
422 // Recommended: off (default)
423 // Microphones are too quite in zed, until everyone is on experimental
424 // audio and has auto speaker volume on this will make you very loud
425 // compared to other speakers.
426 "experimental.auto_microphone_volume": false,
427 // Requires 'rodio_audio: true'
428 //
429 // Automatically increate or decrease the volume of other call members.
430 // This only affects how things sound for you.
431 "experimental.auto_speaker_volume": true,
432 // Requires 'rodio_audio: true'
433 //
434 // Remove background noises. Works great for typing, cars, dogs, AC. Does
435 // not work well on music.
436 "experimental.denoise": true,
437 // Requires 'rodio_audio: true'
438 //
439 // Use audio parameters compatible with the previous versions of
440 // experimental audio and non-experimental audio. When this is false you
441 // will sound strange to anyone not on the latest experimental audio. In
442 // the future we will migrate by setting this to false
443 //
444 // You need to rejoin a call for this setting to apply
445 "experimental.legacy_audio_compatible": true
446 },
447 // Scrollbar related settings
448 "scrollbar": {
449 // When to show the scrollbar in the editor.
450 // This setting can take four values:
451 //
452 // 1. Show the scrollbar if there's important information or
453 // follow the system's configured behavior (default):
454 // "auto"
455 // 2. Match the system's configured behavior:
456 // "system"
457 // 3. Always show the scrollbar:
458 // "always"
459 // 4. Never show the scrollbar:
460 // "never"
461 "show": "auto",
462 // Whether to show cursor positions in the scrollbar.
463 "cursors": true,
464 // Whether to show git diff indicators in the scrollbar.
465 "git_diff": true,
466 // Whether to show buffer search results in the scrollbar.
467 "search_results": true,
468 // Whether to show selected text occurrences in the scrollbar.
469 "selected_text": true,
470 // Whether to show selected symbol occurrences in the scrollbar.
471 "selected_symbol": true,
472 // Which diagnostic indicators to show in the scrollbar:
473 // - "none" or false: do not show diagnostics
474 // - "error": show only errors
475 // - "warning": show only errors and warnings
476 // - "information": show only errors, warnings, and information
477 // - "all" or true: show all diagnostics
478 "diagnostics": "all",
479 // Forcefully enable or disable the scrollbar for each axis
480 "axes": {
481 // When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
482 "horizontal": true,
483 // When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
484 "vertical": true
485 }
486 },
487 // Minimap related settings
488 "minimap": {
489 // When to show the minimap in the editor.
490 // This setting can take three values:
491 // 1. Show the minimap if the editor's scrollbar is visible:
492 // "auto"
493 // 2. Always show the minimap:
494 // "always"
495 // 3. Never show the minimap:
496 // "never" (default)
497 "show": "never",
498 // Where to show the minimap in the editor.
499 // This setting can take two values:
500 // 1. Show the minimap on the focused editor only:
501 // "active_editor" (default)
502 // 2. Show the minimap on all open editors:
503 // "all_editors"
504 "display_in": "active_editor",
505 // When to show the minimap thumb.
506 // This setting can take two values:
507 // 1. Show the minimap thumb if the mouse is over the minimap:
508 // "hover"
509 // 2. Always show the minimap thumb:
510 // "always" (default)
511 "thumb": "always",
512 // How the minimap thumb border should look.
513 // This setting can take five values:
514 // 1. Display a border on all sides of the thumb:
515 // "thumb_border": "full"
516 // 2. Display a border on all sides except the left side of the thumb:
517 // "thumb_border": "left_open" (default)
518 // 3. Display a border on all sides except the right side of the thumb:
519 // "thumb_border": "right_open"
520 // 4. Display a border only on the left side of the thumb:
521 // "thumb_border": "left_only"
522 // 5. Display the thumb without any border:
523 // "thumb_border": "none"
524 "thumb_border": "left_open",
525 // How to highlight the current line in the minimap.
526 // This setting can take the following values:
527 //
528 // 1. `null` to inherit the editor `current_line_highlight` setting (default)
529 // 2. "line" or "all" to highlight the current line in the minimap.
530 // 3. "gutter" or "none" to not highlight the current line in the minimap.
531 "current_line_highlight": null,
532 // Maximum number of columns to display in the minimap.
533 "max_width_columns": 80
534 },
535 // Enable middle-click paste on Linux.
536 "middle_click_paste": true,
537 // What to do when multibuffer is double clicked in some of its excerpts
538 // (parts of singleton buffers).
539 // May take 2 values:
540 // 1. Behave as a regular buffer and select the whole word (default).
541 // "double_click_in_multibuffer": "select"
542 // 2. Open the excerpt clicked as a new buffer in the new tab.
543 // "double_click_in_multibuffer": "open",
544 // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
545 "double_click_in_multibuffer": "select",
546 "gutter": {
547 // Whether to show line numbers in the gutter.
548 "line_numbers": true,
549 // Whether to show runnables buttons in the gutter.
550 "runnables": true,
551 // Whether to show breakpoints in the gutter.
552 "breakpoints": true,
553 // Whether to show fold buttons in the gutter.
554 "folds": true,
555 // Minimum number of characters to reserve space for in the gutter.
556 "min_line_number_digits": 4
557 },
558 "indent_guides": {
559 // Whether to show indent guides in the editor.
560 "enabled": true,
561 // The width of the indent guides in pixels, between 1 and 10.
562 "line_width": 1,
563 // The width of the active indent guide in pixels, between 1 and 10.
564 "active_line_width": 1,
565 // Determines how indent guides are colored.
566 // This setting can take the following three values:
567 //
568 // 1. "disabled"
569 // 2. "fixed"
570 // 3. "indent_aware"
571 "coloring": "fixed",
572 // Determines how indent guide backgrounds are colored.
573 // This setting can take the following two values:
574 //
575 // 1. "disabled"
576 // 2. "indent_aware"
577 "background_coloring": "disabled"
578 },
579 // Whether the editor will scroll beyond the last line.
580 "scroll_beyond_last_line": "one_page",
581 // The number of lines to keep above/below the cursor when scrolling with the keyboard
582 "vertical_scroll_margin": 3,
583 // Whether to scroll when clicking near the edge of the visible text area.
584 "autoscroll_on_clicks": false,
585 // The number of characters to keep on either side when scrolling with the mouse
586 "horizontal_scroll_margin": 5,
587 // Scroll sensitivity multiplier. This multiplier is applied
588 // to both the horizontal and vertical delta values while scrolling.
589 "scroll_sensitivity": 1.0,
590 // Scroll sensitivity multiplier for fast scrolling. This multiplier is applied
591 // to both the horizontal and vertical delta values while scrolling. Fast scrolling
592 // happens when a user holds the alt or option key while scrolling.
593 "fast_scroll_sensitivity": 4.0,
594 "relative_line_numbers": false,
595 // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
596 "search_wrap": true,
597 // Search options to enable by default when opening new project and buffer searches.
598 "search": {
599 // Whether to show the project search button in the status bar.
600 "button": true,
601 "whole_word": false,
602 "case_sensitive": false,
603 "include_ignored": false,
604 "regex": false
605 },
606 // When to populate a new search's query based on the text under the cursor.
607 // This setting can take the following three values:
608 //
609 // 1. Always populate the search query with the word under the cursor (default).
610 // "always"
611 // 2. Only populate the search query when there is text selected
612 // "selection"
613 // 3. Never populate the search query
614 // "never"
615 "seed_search_query_from_cursor": "always",
616 // When enabled, automatically adjusts search case sensitivity based on your query.
617 // If your search query contains any uppercase letters, the search becomes case-sensitive;
618 // if it contains only lowercase letters, the search becomes case-insensitive.
619 "use_smartcase_search": false,
620 // Inlay hint related settings
621 "inlay_hints": {
622 // Global switch to toggle hints on and off, switched off by default.
623 "enabled": false,
624 // Toggle certain types of hints on and off, all switched on by default.
625 "show_type_hints": true,
626 "show_parameter_hints": true,
627 "show_value_hints": true,
628 // Corresponds to null/None LSP hint type value.
629 "show_other_hints": true,
630 // Whether to show a background for inlay hints.
631 //
632 // If set to `true`, the background will use the `hint.background` color from the current theme.
633 "show_background": false,
634 // Time to wait after editing the buffer, before requesting the hints,
635 // set to 0 to disable debouncing.
636 "edit_debounce_ms": 700,
637 // Time to wait after scrolling the buffer, before requesting the hints,
638 // set to 0 to disable debouncing.
639 "scroll_debounce_ms": 50,
640 // A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
641 // If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
642 "toggle_on_modifiers_press": {
643 "control": false,
644 "shift": false,
645 "alt": false,
646 "platform": false,
647 "function": false
648 }
649 },
650 // Whether to resize all the panels in a dock when resizing the dock.
651 // Can be a combination of "left", "right" and "bottom".
652 "resize_all_panels_in_dock": ["left"],
653 "project_panel": {
654 // Whether to show the project panel button in the status bar
655 "button": true,
656 // Whether to hide the gitignore entries in the project panel.
657 "hide_gitignore": false,
658 // Default width of the project panel.
659 "default_width": 240,
660 // Where to dock the project panel. Can be 'left' or 'right'.
661 "dock": "left",
662 // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
663 "entry_spacing": "comfortable",
664 // Whether to show file icons in the project panel.
665 "file_icons": true,
666 // Whether to show folder icons or chevrons for directories in the project panel.
667 "folder_icons": true,
668 // Whether to show the git status in the project panel.
669 "git_status": true,
670 // Amount of indentation for nested items.
671 "indent_size": 20,
672 // Whether to reveal it in the project panel automatically,
673 // when a corresponding project entry becomes active.
674 // Gitignored entries are never auto revealed.
675 "auto_reveal_entries": true,
676 // Whether the project panel should open on startup.
677 "starts_open": true,
678 // Whether to fold directories automatically and show compact folders
679 // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
680 "auto_fold_dirs": true,
681 // Scrollbar-related settings
682 "scrollbar": {
683 // When to show the scrollbar in the project panel.
684 // This setting can take five values:
685 //
686 // 1. null (default): Inherit editor settings
687 // 2. Show the scrollbar if there's important information or
688 // follow the system's configured behavior (default):
689 // "auto"
690 // 3. Match the system's configured behavior:
691 // "system"
692 // 4. Always show the scrollbar:
693 // "always"
694 // 5. Never show the scrollbar:
695 // "never"
696 "show": null
697 },
698 // Which files containing diagnostic errors/warnings to mark in the project panel.
699 // This setting can take the following three values:
700 //
701 // 1. Do not mark any files:
702 // "off"
703 // 2. Only mark files with errors:
704 // "errors"
705 // 3. Mark files with errors and warnings:
706 // "all"
707 "show_diagnostics": "all",
708 // Whether to stick parent directories at top of the project panel.
709 "sticky_scroll": true,
710 // Settings related to indent guides in the project panel.
711 "indent_guides": {
712 // When to show indent guides in the project panel.
713 // This setting can take two values:
714 //
715 // 1. Always show indent guides:
716 // "always"
717 // 2. Never show indent guides:
718 // "never"
719 "show": "always"
720 },
721 // Whether to enable drag-and-drop operations in the project panel.
722 "drag_and_drop": true,
723 // Whether to hide the root entry when only one folder is open in the window.
724 "hide_root": false
725 },
726 "outline_panel": {
727 // Whether to show the outline panel button in the status bar
728 "button": true,
729 // Default width of the outline panel.
730 "default_width": 300,
731 // Where to dock the outline panel. Can be 'left' or 'right'.
732 "dock": "left",
733 // Whether to show file icons in the outline panel.
734 "file_icons": true,
735 // Whether to show folder icons or chevrons for directories in the outline panel.
736 "folder_icons": true,
737 // Whether to show the git status in the outline panel.
738 "git_status": true,
739 // Amount of indentation for nested items.
740 "indent_size": 20,
741 // Whether to reveal it in the outline panel automatically,
742 // when a corresponding outline entry becomes active.
743 // Gitignored entries are never auto revealed.
744 "auto_reveal_entries": true,
745 // Whether to fold directories automatically
746 // when a directory has only one directory inside.
747 "auto_fold_dirs": true,
748 // Settings related to indent guides in the outline panel.
749 "indent_guides": {
750 // When to show indent guides in the outline panel.
751 // This setting can take two values:
752 //
753 // 1. Always show indent guides:
754 // "always"
755 // 2. Never show indent guides:
756 // "never"
757 "show": "always"
758 },
759 // Scrollbar-related settings
760 "scrollbar": {
761 // When to show the scrollbar in the project panel.
762 // This setting can take five values:
763 //
764 // 1. null (default): Inherit editor settings
765 // 2. Show the scrollbar if there's important information or
766 // follow the system's configured behavior (default):
767 // "auto"
768 // 3. Match the system's configured behavior:
769 // "system"
770 // 4. Always show the scrollbar:
771 // "always"
772 // 5. Never show the scrollbar:
773 // "never"
774 "show": null
775 },
776 // Default depth to expand outline items in the current file.
777 // Set to 0 to collapse all items that have children, 1 or higher to collapse items at that depth or deeper.
778 "expand_outlines_with_depth": 100
779 },
780 "collaboration_panel": {
781 // Whether to show the collaboration panel button in the status bar.
782 "button": true,
783 // Where to dock the collaboration panel. Can be 'left' or 'right'.
784 "dock": "left",
785 // Default width of the collaboration panel.
786 "default_width": 240
787 },
788 "git_panel": {
789 // Whether to show the git panel button in the status bar.
790 "button": true,
791 // Where to dock the git panel. Can be 'left' or 'right'.
792 "dock": "left",
793 // Default width of the git panel.
794 "default_width": 360,
795 // Style of the git status indicator in the panel.
796 //
797 // Choices: label_color, icon
798 // Default: icon
799 "status_style": "icon",
800 // What branch name to use if `init.defaultBranch` is not set
801 //
802 // Default: main
803 "fallback_branch_name": "main",
804 // Whether to sort entries in the panel by path or by status (the default).
805 //
806 // Default: false
807 "sort_by_path": false,
808 // Whether to collapse untracked files in the diff panel.
809 //
810 // Default: false
811 "collapse_untracked_diff": false,
812 "scrollbar": {
813 // When to show the scrollbar in the git panel.
814 //
815 // Choices: always, auto, never, system
816 // Default: inherits editor scrollbar settings
817 // "show": null
818 }
819 },
820 "message_editor": {
821 // Whether to automatically replace emoji shortcodes with emoji characters.
822 // For example: typing `:wave:` gets replaced with `👋`.
823 "auto_replace_emoji_shortcode": true
824 },
825 "notification_panel": {
826 // Whether to show the notification panel button in the status bar.
827 "button": true,
828 // Where to dock the notification panel. Can be 'left' or 'right'.
829 "dock": "right",
830 // Default width of the notification panel.
831 "default_width": 380
832 },
833 "agent": {
834 // Whether the agent is enabled.
835 "enabled": true,
836 // What completion mode to start new threads in, if available. Can be 'normal' or 'burn'.
837 "preferred_completion_mode": "normal",
838 // Whether to show the agent panel button in the status bar.
839 "button": true,
840 // Where to dock the agent panel. Can be 'left', 'right' or 'bottom'.
841 "dock": "right",
842 // Default width when the agent panel is docked to the left or right.
843 "default_width": 640,
844 // Default height when the agent panel is docked to the bottom.
845 "default_height": 320,
846 // The view to use by default (thread, or text_thread)
847 "default_view": "thread",
848 // The default model to use when creating new threads.
849 "default_model": {
850 // The provider to use.
851 "provider": "zed.dev",
852 // The model to use.
853 "model": "claude-sonnet-4"
854 },
855 // Additional parameters for language model requests. When making a request to a model, parameters will be taken
856 // from the last entry in this list that matches the model's provider and name. In each entry, both provider
857 // and model are optional, so that you can specify parameters for either one.
858 "model_parameters": [
859 // To set parameters for all requests to OpenAI models:
860 // {
861 // "provider": "openai",
862 // "temperature": 0.5
863 // }
864 //
865 // To set parameters for all requests in general:
866 // {
867 // "temperature": 0
868 // }
869 //
870 // To set parameters for a specific provider and model:
871 // {
872 // "provider": "zed.dev",
873 // "model": "claude-sonnet-4",
874 // "temperature": 1.0
875 // }
876 ],
877 // When enabled, the agent can run potentially destructive actions without asking for your confirmation.
878 //
879 // Note: This setting has no effect on external agents that support permission modes, such as Claude Code.
880 // You can set `agent_servers.claude.default_mode` to `bypassPermissions` to skip all permission requests.
881 "always_allow_tool_actions": false,
882 // When enabled, the agent will stream edits.
883 "stream_edits": false,
884 // When enabled, agent edits will be displayed in single-file editors for review
885 "single_file_review": true,
886 // When enabled, show voting thumbs for feedback on agent edits.
887 "enable_feedback": true,
888 "default_profile": "write",
889 "profiles": {
890 "write": {
891 "name": "Write",
892 "enable_all_context_servers": true,
893 "tools": {
894 "copy_path": true,
895 "create_directory": true,
896 "delete_path": true,
897 "diagnostics": true,
898 "edit_file": true,
899 "fetch": true,
900 "list_directory": true,
901 "project_notifications": false,
902 "move_path": true,
903 "now": true,
904 "find_path": true,
905 "read_file": true,
906 "grep": true,
907 "terminal": true,
908 "thinking": true,
909 "web_search": true
910 }
911 },
912 "ask": {
913 "name": "Ask",
914 // We don't know which of the context server tools are safe for the "Ask" profile, so we don't enable them by default.
915 // "enable_all_context_servers": true,
916 "tools": {
917 "contents": true,
918 "diagnostics": true,
919 "fetch": true,
920 "list_directory": true,
921 "project_notifications": false,
922 "now": true,
923 "find_path": true,
924 "read_file": true,
925 "open": true,
926 "grep": true,
927 "thinking": true,
928 "web_search": true
929 }
930 },
931 "minimal": {
932 "name": "Minimal",
933 "enable_all_context_servers": false,
934 "tools": {}
935 }
936 },
937 // Where to show notifications when the agent has either completed
938 // its response, or else needs confirmation before it can run a
939 // tool action.
940 // "primary_screen" - Show the notification only on your primary screen (default)
941 // "all_screens" - Show these notifications on all screens
942 // "never" - Never show these notifications
943 "notify_when_agent_waiting": "primary_screen",
944 // Whether to play a sound when the agent has either completed
945 // its response, or needs user input.
946
947 // Default: false
948 "play_sound_when_agent_done": false,
949 // Whether to have edit cards in the agent panel expanded, showing a preview of the full diff.
950 //
951 // Default: true
952 "expand_edit_card": true,
953 // Whether to have terminal cards in the agent panel expanded, showing the whole command output.
954 //
955 // Default: true
956 "expand_terminal_card": true,
957 // Whether to always use cmd-enter (or ctrl-enter on Linux or Windows) to send messages in the agent panel.
958 //
959 // Default: false
960 "use_modifier_to_send": false,
961 // Minimum number of lines to display in the agent message editor.
962 //
963 // Default: 4
964 "message_editor_min_lines": 4
965 },
966 // Whether the screen sharing icon is shown in the os status bar.
967 "show_call_status_icon": true,
968 // Whether to use language servers to provide code intelligence.
969 "enable_language_server": true,
970 // Whether to perform linked edits of associated ranges, if the language server supports it.
971 // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
972 "linked_edits": true,
973 // The list of language servers to use (or disable) for all languages.
974 //
975 // This is typically customized on a per-language basis.
976 "language_servers": ["..."],
977
978 // When to automatically save edited buffers. This setting can
979 // take four values.
980 //
981 // 1. Never automatically save:
982 // "autosave": "off",
983 // 2. Save when changing focus away from the Zed window:
984 // "autosave": "on_window_change",
985 // 3. Save when changing focus away from a specific buffer:
986 // "autosave": "on_focus_change",
987 // 4. Save when idle for a certain amount of time:
988 // "autosave": { "after_delay": {"milliseconds": 500} },
989 "autosave": "off",
990 // Maximum number of tabs per pane. Unset for unlimited.
991 "max_tabs": null,
992 // Settings related to the editor's tab bar.
993 "tab_bar": {
994 // Whether or not to show the tab bar in the editor
995 "show": true,
996 // Whether or not to show the navigation history buttons.
997 "show_nav_history_buttons": true,
998 // Whether or not to show the tab bar buttons.
999 "show_tab_bar_buttons": true
1000 },
1001 // Settings related to the editor's tabs
1002 "tabs": {
1003 // Show git status colors in the editor tabs.
1004 "git_status": false,
1005 // Position of the close button on the editor tabs.
1006 // One of: ["right", "left"]
1007 "close_position": "right",
1008 // Whether to show the file icon for a tab.
1009 "file_icons": false,
1010 // Controls the appearance behavior of the tab's close button.
1011 //
1012 // 1. Show it just upon hovering the tab. (default)
1013 // "hover"
1014 // 2. Show it persistently.
1015 // "always"
1016 // 3. Never show it, even if hovering it.
1017 // "hidden"
1018 "show_close_button": "hover",
1019 // What to do after closing the current tab.
1020 //
1021 // 1. Activate the tab that was open previously (default)
1022 // "history"
1023 // 2. Activate the right neighbour tab if present
1024 // "neighbour"
1025 // 3. Activate the left neighbour tab if present
1026 // "left_neighbour"
1027 "activate_on_close": "history",
1028 // Which files containing diagnostic errors/warnings to mark in the tabs.
1029 // Diagnostics are only shown when file icons are also active.
1030 // This setting only works when can take the following three values:
1031 //
1032 // 1. Do not mark any files:
1033 // "off"
1034 // 2. Only mark files with errors:
1035 // "errors"
1036 // 3. Mark files with errors and warnings:
1037 // "all"
1038 "show_diagnostics": "off"
1039 },
1040 // Settings related to preview tabs.
1041 "preview_tabs": {
1042 // Whether preview tabs should be enabled.
1043 // Preview tabs allow you to open files in preview mode, where they close automatically
1044 // when you switch to another file unless you explicitly pin them.
1045 // This is useful for quickly viewing files without cluttering your workspace.
1046 "enabled": true,
1047 // Whether to open tabs in preview mode when selected from the file finder.
1048 "enable_preview_from_file_finder": false,
1049 // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
1050 "enable_preview_from_code_navigation": false
1051 },
1052 // Settings related to the file finder.
1053 "file_finder": {
1054 // Whether to show file icons in the file finder.
1055 "file_icons": true,
1056 // Determines how much space the file finder can take up in relation to the available window width.
1057 // There are 5 possible width values:
1058 //
1059 // 1. Small: This value is essentially a fixed width.
1060 // "modal_max_width": "small"
1061 // 2. Medium:
1062 // "modal_max_width": "medium"
1063 // 3. Large:
1064 // "modal_max_width": "large"
1065 // 4. Extra Large:
1066 // "modal_max_width": "xlarge"
1067 // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
1068 // "modal_max_width": "full"
1069 //
1070 // Default: small
1071 "modal_max_width": "small",
1072 // Determines whether the file finder should skip focus for the active file in search results.
1073 // There are 2 possible values:
1074 //
1075 // 1. true: When searching for files, if the currently active file appears as the first result,
1076 // auto-focus will skip it and focus the second result instead.
1077 // "skip_focus_for_active_in_search": true
1078 //
1079 // 2. false: When searching for files, the first result will always receive focus,
1080 // even if it's the currently active file.
1081 // "skip_focus_for_active_in_search": false
1082 //
1083 // Default: true
1084 "skip_focus_for_active_in_search": true,
1085 // Whether to show the git status in the file finder.
1086 "git_status": true,
1087 // Whether to use gitignored files when searching.
1088 // Only the file Zed had indexed will be used, not necessary all the gitignored files.
1089 //
1090 // Can accept 3 values:
1091 // * `true`: Use all gitignored files
1092 // * `false`: Use only the files Zed had indexed
1093 // * `null`: Be smart and search for ignored when called from a gitignored worktree
1094 "include_ignored": null
1095 },
1096 // Whether or not to remove any trailing whitespace from lines of a buffer
1097 // before saving it.
1098 "remove_trailing_whitespace_on_save": true,
1099 // Whether to start a new line with a comment when a previous line is a comment as well.
1100 "extend_comment_on_newline": true,
1101 // Removes any lines containing only whitespace at the end of the file and
1102 // ensures just one newline at the end.
1103 "ensure_final_newline_on_save": true,
1104 // Whether or not to perform a buffer format before saving: [on, off, prettier, language_server]
1105 // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
1106 "format_on_save": "on",
1107 // How to perform a buffer format. This setting can take 4 values:
1108 //
1109 // 1. Format code using the current language server:
1110 // "formatter": "language_server"
1111 // 2. Format code using an external command:
1112 // "formatter": {
1113 // "external": {
1114 // "command": "prettier",
1115 // "arguments": ["--stdin-filepath", "{buffer_path}"]
1116 // }
1117 // }
1118 // 3. Format code using Zed's Prettier integration:
1119 // "formatter": "prettier"
1120 // 4. Default. Format files using Zed's Prettier integration (if applicable),
1121 // or falling back to formatting via language server:
1122 // "formatter": "auto"
1123 "formatter": "auto",
1124 // How to soft-wrap long lines of text.
1125 // Possible values:
1126 //
1127 // 1. Prefer a single line generally, unless an overly long line is encountered.
1128 // "soft_wrap": "none",
1129 // "soft_wrap": "prefer_line", // (deprecated, same as "none")
1130 // 2. Soft wrap lines that overflow the editor.
1131 // "soft_wrap": "editor_width",
1132 // 3. Soft wrap lines at the preferred line length.
1133 // "soft_wrap": "preferred_line_length",
1134 // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
1135 // "soft_wrap": "bounded",
1136 "soft_wrap": "none",
1137 // The column at which to soft-wrap lines, for buffers where soft-wrap
1138 // is enabled.
1139 "preferred_line_length": 80,
1140 // Whether to indent lines using tab characters, as opposed to multiple
1141 // spaces.
1142 "hard_tabs": false,
1143 // How many columns a tab should occupy.
1144 "tab_size": 4,
1145 // What debuggers are preferred by default for all languages.
1146 "debuggers": [],
1147 // Control what info is collected by Zed.
1148 "telemetry": {
1149 // Send debug info like crash reports.
1150 "diagnostics": true,
1151 // Send anonymized usage data like what languages you're using Zed with.
1152 "metrics": true
1153 },
1154 // Whether to disable all AI features in Zed.
1155 //
1156 // Default: false
1157 "disable_ai": false,
1158 // Automatically update Zed. This setting may be ignored on Linux if
1159 // installed through a package manager.
1160 "auto_update": true,
1161 // How to render LSP `textDocument/documentColor` colors in the editor.
1162 //
1163 // Possible values:
1164 //
1165 // 1. Do not query and render document colors.
1166 // "lsp_document_colors": "none",
1167 // 2. Render document colors as inlay hints near the color text (default).
1168 // "lsp_document_colors": "inlay",
1169 // 3. Draw a border around the color text.
1170 // "lsp_document_colors": "border",
1171 // 4. Draw a background behind the color text..
1172 // "lsp_document_colors": "background",
1173 "lsp_document_colors": "inlay",
1174 // Diagnostics configuration.
1175 "diagnostics": {
1176 // Whether to show the project diagnostics button in the status bar.
1177 "button": true,
1178 // Whether to show warnings or not by default.
1179 "include_warnings": true,
1180 // Settings for using LSP pull diagnostics mechanism in Zed.
1181 "lsp_pull_diagnostics": {
1182 // Whether to pull for diagnostics or not.
1183 "enabled": true,
1184 // Minimum time to wait before pulling diagnostics from the language server(s).
1185 // 0 turns the debounce off.
1186 "debounce_ms": 50
1187 },
1188 // Settings for inline diagnostics
1189 "inline": {
1190 // Whether to show diagnostics inline or not
1191 "enabled": false,
1192 // The delay in milliseconds to show inline diagnostics after the
1193 // last diagnostic update.
1194 "update_debounce_ms": 150,
1195 // The amount of padding between the end of the source line and the start
1196 // of the inline diagnostic in units of em widths.
1197 "padding": 4,
1198 // The minimum column to display inline diagnostics. This setting can be
1199 // used to horizontally align inline diagnostics at some column. Lines
1200 // longer than this value will still push diagnostics further to the right.
1201 "min_column": 0,
1202 // The minimum severity of the diagnostics to show inline.
1203 // Inherits editor's diagnostics' max severity settings when `null`.
1204 "max_severity": null
1205 }
1206 },
1207 // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
1208 // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
1209 "file_scan_exclusions": [
1210 "**/.git",
1211 "**/.svn",
1212 "**/.hg",
1213 "**/.jj",
1214 "**/.repo",
1215 "**/CVS",
1216 "**/.DS_Store",
1217 "**/Thumbs.db",
1218 "**/.classpath",
1219 "**/.settings"
1220 ],
1221 // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
1222 // for files that are not tracked by git, but are still important to your project. Note that globs
1223 // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
1224 // precedence over these inclusions.
1225 "file_scan_inclusions": [".env*"],
1226 // Git gutter behavior configuration.
1227 "git": {
1228 // Control whether the git gutter is shown. May take 2 values:
1229 // 1. Show the gutter
1230 // "git_gutter": "tracked_files"
1231 // 2. Hide the gutter
1232 // "git_gutter": "hide"
1233 "git_gutter": "tracked_files",
1234 /// Sets the debounce threshold (in milliseconds) after which changes are reflected in the git gutter.
1235 ///
1236 /// Default: null
1237 "gutter_debounce": null,
1238 // Control whether the git blame information is shown inline,
1239 // in the currently focused line.
1240 "inline_blame": {
1241 "enabled": true,
1242 // Sets a delay after which the inline blame information is shown.
1243 // Delay is restarted with every cursor movement.
1244 "delay_ms": 0,
1245 // The amount of padding between the end of the source line and the start
1246 // of the inline blame in units of em widths.
1247 "padding": 7,
1248 // Whether or not to display the git commit summary on the same line.
1249 "show_commit_summary": false,
1250 // The minimum column number to show the inline blame information at
1251 "min_column": 0
1252 },
1253 "blame": {
1254 "show_avatar": true
1255 },
1256 // Control which information is shown in the branch picker.
1257 "branch_picker": {
1258 "show_author_name": true
1259 },
1260 // How git hunks are displayed visually in the editor.
1261 // This setting can take two values:
1262 //
1263 // 1. Show unstaged hunks filled and staged hunks hollow:
1264 // "hunk_style": "staged_hollow"
1265 // 2. Show unstaged hunks hollow and staged hunks filled:
1266 // "hunk_style": "unstaged_hollow"
1267 "hunk_style": "staged_hollow"
1268 },
1269 // The list of custom Git hosting providers.
1270 "git_hosting_providers": [
1271 // {
1272 // "provider": "github",
1273 // "name": "BigCorp GitHub",
1274 // "base_url": "https://code.big-corp.com"
1275 // }
1276 ],
1277 // Configuration for how direnv configuration should be loaded. May take 2 values:
1278 // 1. Load direnv configuration using `direnv export json` directly.
1279 // "load_direnv": "direct"
1280 // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
1281 // "load_direnv": "shell_hook"
1282 "load_direnv": "direct",
1283 "edit_predictions": {
1284 // A list of globs representing files that edit predictions should be disabled for.
1285 // There's a sensible default list of globs already included.
1286 // Any addition to this list will be merged with the default list.
1287 // Globs are matched relative to the worktree root,
1288 // except when starting with a slash (/) or equivalent in Windows.
1289 "disabled_globs": [
1290 "**/.env*",
1291 "**/*.pem",
1292 "**/*.key",
1293 "**/*.cert",
1294 "**/*.crt",
1295 "**/.dev.vars",
1296 "**/secrets.yml",
1297 "**/.zed/settings.json", // zed project settings
1298 "/**/zed/settings.json", // zed user settings
1299 "/**/zed/keymap.json"
1300 ],
1301 // When to show edit predictions previews in buffer.
1302 // This setting takes two possible values:
1303 // 1. Display predictions inline when there are no language server completions available.
1304 // "mode": "eager"
1305 // 2. Display predictions inline only when holding a modifier key (alt by default).
1306 // "mode": "subtle"
1307 "mode": "eager",
1308 // Copilot-specific settings
1309 // "copilot": {
1310 // "enterprise_uri": "",
1311 // "proxy": "",
1312 // "proxy_no_verify": false
1313 // },
1314 // Whether edit predictions are enabled when editing text threads.
1315 // This setting has no effect if globally disabled.
1316 "enabled_in_text_threads": true,
1317
1318 "copilot": {
1319 "enterprise_uri": null,
1320 "proxy": null,
1321 "proxy_no_verify": null
1322 }
1323 },
1324 // Settings specific to journaling
1325 "journal": {
1326 // The path of the directory where journal entries are stored
1327 "path": "~",
1328 // What format to display the hours in
1329 // May take 2 values:
1330 // 1. hour12
1331 // 2. hour24
1332 "hour_format": "hour12"
1333 },
1334 // Status bar-related settings.
1335 "status_bar": {
1336 // Whether to show the status bar.
1337 "experimental.show": true,
1338 // Whether to show the active language button in the status bar.
1339 "active_language_button": true,
1340 // Whether to show the cursor position button in the status bar.
1341 "cursor_position_button": true
1342 },
1343 // Settings specific to the terminal
1344 "terminal": {
1345 // What shell to use when opening a terminal. May take 3 values:
1346 // 1. Use the system's default terminal configuration in /etc/passwd
1347 // "shell": "system"
1348 // 2. A program:
1349 // "shell": {
1350 // "program": "sh"
1351 // }
1352 // 3. A program with arguments:
1353 // "shell": {
1354 // "with_arguments": {
1355 // "program": "/bin/bash",
1356 // "args": ["--login"]
1357 // }
1358 // }
1359 "shell": "system",
1360 // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
1361 "dock": "bottom",
1362 // Default width when the terminal is docked to the left or right.
1363 "default_width": 640,
1364 // Default height when the terminal is docked to the bottom.
1365 "default_height": 320,
1366 // What working directory to use when launching the terminal.
1367 // May take 4 values:
1368 // 1. Use the current file's project directory. Will Fallback to the
1369 // first project directory strategy if unsuccessful
1370 // "working_directory": "current_project_directory"
1371 // 2. Use the first project in this workspace's directory
1372 // "working_directory": "first_project_directory"
1373 // 3. Always use this platform's home directory (if we can find it)
1374 // "working_directory": "always_home"
1375 // 4. Always use a specific directory. This value will be shell expanded.
1376 // If this path is not a valid directory the terminal will default to
1377 // this platform's home directory (if we can find it)
1378 // "working_directory": {
1379 // "always": {
1380 // "directory": "~/zed/projects/"
1381 // }
1382 // }
1383 "working_directory": "current_project_directory",
1384 // Set the cursor blinking behavior in the terminal.
1385 // May take 3 values:
1386 // 1. Never blink the cursor, ignoring the terminal mode
1387 // "blinking": "off",
1388 // 2. Default the cursor blink to off, but allow the terminal to
1389 // set blinking
1390 // "blinking": "terminal_controlled",
1391 // 3. Always blink the cursor, ignoring the terminal mode
1392 // "blinking": "on",
1393 "blinking": "terminal_controlled",
1394 // Default cursor shape for the terminal.
1395 // 1. A block that surrounds the following character
1396 // "block"
1397 // 2. A vertical bar
1398 // "bar"
1399 // 3. An underline / underscore that runs along the following character
1400 // "underline"
1401 // 4. A box drawn around the following character
1402 // "hollow"
1403 //
1404 // Default: not set, defaults to "block"
1405 "cursor_shape": null,
1406 // Set whether Alternate Scroll mode (code: ?1007) is active by default.
1407 // Alternate Scroll mode converts mouse scroll events into up / down key
1408 // presses when in the alternate screen (e.g. when running applications
1409 // like vim or less). The terminal can still set and unset this mode.
1410 // May take 2 values:
1411 // 1. Default alternate scroll mode to on
1412 // "alternate_scroll": "on",
1413 // 2. Default alternate scroll mode to off
1414 // "alternate_scroll": "off",
1415 "alternate_scroll": "on",
1416 // Set whether the option key behaves as the meta key.
1417 // May take 2 values:
1418 // 1. Rely on default platform handling of option key, on macOS
1419 // this means generating certain unicode characters
1420 // "option_as_meta": false,
1421 // 2. Make the option keys behave as a 'meta' key, e.g. for emacs
1422 // "option_as_meta": true,
1423 "option_as_meta": false,
1424 // Whether or not selecting text in the terminal will automatically
1425 // copy to the system clipboard.
1426 "copy_on_select": false,
1427 // Whether to keep the text selection after copying it to the clipboard
1428 "keep_selection_on_copy": false,
1429 // Whether to show the terminal button in the status bar
1430 "button": true,
1431 // Any key-value pairs added to this list will be added to the terminal's
1432 // environment. Use `:` to separate multiple values.
1433 "env": {
1434 // "KEY": "value1:value2"
1435 },
1436 // Set the terminal's line height.
1437 // May take 3 values:
1438 // 1. Use a line height that's comfortable for reading, 1.618
1439 // "line_height": "comfortable"
1440 // 2. Use a standard line height, 1.3. This option is useful for TUIs,
1441 // particularly if they use box characters
1442 // "line_height": "standard",
1443 // 3. Use a custom line height.
1444 // "line_height": {
1445 // "custom": 2
1446 // },
1447 "line_height": "standard",
1448 // Activate the python virtual environment, if one is found, in the
1449 // terminal's working directory (as resolved by the working_directory
1450 // setting). Set this to "off" to disable this behavior.
1451 "detect_venv": {
1452 "on": {
1453 // Default directories to search for virtual environments, relative
1454 // to the current working directory. We recommend overriding this
1455 // in your project's settings, rather than globally.
1456 "directories": [".env", "env", ".venv", "venv"],
1457 // Can also be `csh`, `fish`, `nushell` and `power_shell`
1458 "activate_script": "default"
1459 }
1460 },
1461 "toolbar": {
1462 // Whether to display the terminal title in its toolbar's breadcrumbs.
1463 // Only shown if the terminal title is not empty.
1464 //
1465 // The shell running in the terminal needs to be configured to emit the title.
1466 // Example: `echo -e "\e]2;New Title\007";`
1467 "breadcrumbs": false
1468 },
1469 // Scrollbar-related settings
1470 "scrollbar": {
1471 // When to show the scrollbar in the terminal.
1472 // This setting can take five values:
1473 //
1474 // 1. null (default): Inherit editor settings
1475 // 2. Show the scrollbar if there's important information or
1476 // follow the system's configured behavior (default):
1477 // "auto"
1478 // 3. Match the system's configured behavior:
1479 // "system"
1480 // 4. Always show the scrollbar:
1481 // "always"
1482 // 5. Never show the scrollbar:
1483 // "never"
1484 "show": null
1485 },
1486 // Set the terminal's font size. If this option is not included,
1487 // the terminal will default to matching the buffer's font size.
1488 // "font_size": 15,
1489 // Set the terminal's font family. If this option is not included,
1490 // the terminal will default to matching the buffer's font family.
1491 // "font_family": ".ZedMono",
1492 // Set the terminal's font fallbacks. If this option is not included,
1493 // the terminal will default to matching the buffer's font fallbacks.
1494 // This will be merged with the platform's default font fallbacks
1495 // "font_fallbacks": ["FiraCode Nerd Fonts"],
1496 // The weight of the editor font in standard CSS units from 100 to 900.
1497 "font_weight": 400,
1498 // Sets the maximum number of lines in the terminal's scrollback buffer.
1499 // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1500 // Existing terminals will not pick up this change until they are recreated.
1501 "max_scroll_history_lines": 10000,
1502 // The minimum APCA perceptual contrast between foreground and background colors.
1503 // APCA (Accessible Perceptual Contrast Algorithm) is more accurate than WCAG 2.x,
1504 // especially for dark mode. Values range from 0 to 106.
1505 //
1506 // Based on APCA Readability Criterion (ARC) Bronze Simple Mode:
1507 // https://readtech.org/ARC/tests/bronze-simple-mode/
1508 // - 0: No contrast adjustment
1509 // - 45: Minimum for large fluent text (36px+)
1510 // - 60: Minimum for other content text
1511 // - 75: Minimum for body text
1512 // - 90: Preferred for body text
1513 //
1514 // Most terminal themes have APCA values of 40-70.
1515 // A value of 45 preserves colorful themes while ensuring legibility.
1516 "minimum_contrast": 45
1517 },
1518 "code_actions_on_format": {},
1519 // Settings related to running tasks.
1520 "tasks": {
1521 "variables": {},
1522 "enabled": true,
1523 // Use LSP tasks over Zed language extension ones.
1524 // If no LSP tasks are returned due to error/timeout or regular execution,
1525 // Zed language extension tasks will be used instead.
1526 //
1527 // Other Zed tasks will still be shown:
1528 // * Zed task from either of the task config file
1529 // * Zed task from history (e.g. one-off task was spawned before)
1530 //
1531 // Default: true
1532 "prefer_lsp": true
1533 },
1534 // An object whose keys are language names, and whose values
1535 // are arrays of filenames or extensions of files that should
1536 // use those languages.
1537 //
1538 // For example, to treat files like `foo.notjs` as JavaScript,
1539 // and `Embargo.lock` as TOML:
1540 //
1541 // {
1542 // "JavaScript": ["notjs"],
1543 // "TOML": ["Embargo.lock"]
1544 // }
1545 //
1546 "file_types": {
1547 "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json", "tsconfig*.json"],
1548 "Shell Script": [".env.*"]
1549 },
1550 // Settings for which version of Node.js and NPM to use when installing
1551 // language servers and Copilot.
1552 //
1553 // Note: changing this setting currently requires restarting Zed.
1554 "node": {
1555 // By default, Zed will look for `node` and `npm` on your `$PATH`, and use the
1556 // existing executables if their version is recent enough. Set this to `true`
1557 // to prevent this, and force Zed to always download and install its own
1558 // version of Node.
1559 "ignore_system_version": false,
1560 // You can also specify alternative paths to Node and NPM. If you specify
1561 // `path`, but not `npm_path`, Zed will assume that `npm` is located at
1562 // `${path}/../npm`.
1563 "path": null,
1564 "npm_path": null
1565 },
1566 // The extensions that Zed should automatically install on startup.
1567 //
1568 // If you don't want any of these extensions, add this field to your settings
1569 // and change the value to `false`.
1570 "auto_install_extensions": {
1571 "html": true
1572 },
1573 // The capabilities granted to extensions.
1574 //
1575 // This list can be customized to restrict what extensions are able to do.
1576 "granted_extension_capabilities": [
1577 { "kind": "process:exec", "command": "*", "args": ["**"] },
1578 { "kind": "download_file", "host": "*", "path": ["**"] },
1579 { "kind": "npm:install", "package": "*" }
1580 ],
1581 // Controls how completions are processed for this language.
1582 "completions": {
1583 // Controls how words are completed.
1584 // For large documents, not all words may be fetched for completion.
1585 //
1586 // May take 3 values:
1587 // 1. "enabled"
1588 // Always fetch document's words for completions along with LSP completions.
1589 // 2. "fallback"
1590 // Only if LSP response errors or times out, use document's words to show completions.
1591 // 3. "disabled"
1592 // Never fetch or complete document's words for completions.
1593 // (Word-based completions can still be queried via a separate action)
1594 //
1595 // Default: fallback
1596 "words": "fallback",
1597 // Minimum number of characters required to automatically trigger word-based completions.
1598 // Before that value, it's still possible to trigger the words-based completion manually with the corresponding editor command.
1599 //
1600 // Default: 3
1601 "words_min_length": 3,
1602 // Whether to fetch LSP completions or not.
1603 //
1604 // Default: true
1605 "lsp": true,
1606 // When fetching LSP completions, determines how long to wait for a response of a particular server.
1607 // When set to 0, waits indefinitely.
1608 //
1609 // Default: 0
1610 "lsp_fetch_timeout_ms": 0,
1611 // Controls what range to replace when accepting LSP completions.
1612 //
1613 // When LSP servers give an `InsertReplaceEdit` completion, they provides two ranges: `insert` and `replace`. Usually, `insert`
1614 // contains the word prefix before your cursor and `replace` contains the whole word.
1615 //
1616 // Effectively, this setting just changes whether Zed will use the received range for `insert` or `replace`, so the results may
1617 // differ depending on the underlying LSP server.
1618 //
1619 // Possible values:
1620 // 1. "insert"
1621 // Replaces text before the cursor, using the `insert` range described in the LSP specification.
1622 // 2. "replace"
1623 // Replaces text before and after the cursor, using the `replace` range described in the LSP specification.
1624 // 3. "replace_subsequence"
1625 // Behaves like `"replace"` if the text that would be replaced is a subsequence of the completion text,
1626 // and like `"insert"` otherwise.
1627 // 4. "replace_suffix"
1628 // Behaves like `"replace"` if the text after the cursor is a suffix of the completion, and like
1629 // `"insert"` otherwise.
1630 "lsp_insert_mode": "replace_suffix"
1631 },
1632 // Different settings for specific languages.
1633 "languages": {
1634 "Astro": {
1635 "language_servers": ["astro-language-server", "..."],
1636 "prettier": {
1637 "allowed": true,
1638 "plugins": ["prettier-plugin-astro"]
1639 }
1640 },
1641 "Blade": {
1642 "prettier": {
1643 "allowed": true
1644 }
1645 },
1646 "C": {
1647 "format_on_save": "off",
1648 "use_on_type_format": false,
1649 "prettier": {
1650 "allowed": false
1651 }
1652 },
1653 "C++": {
1654 "format_on_save": "off",
1655 "use_on_type_format": false,
1656 "prettier": {
1657 "allowed": false
1658 }
1659 },
1660 "CSS": {
1661 "prettier": {
1662 "allowed": true
1663 }
1664 },
1665 "Dart": {
1666 "tab_size": 2
1667 },
1668 "Diff": {
1669 "show_edit_predictions": false,
1670 "remove_trailing_whitespace_on_save": false,
1671 "ensure_final_newline_on_save": false
1672 },
1673 "Elixir": {
1674 "language_servers": ["elixir-ls", "!expert", "!next-ls", "!lexical", "..."]
1675 },
1676 "Elm": {
1677 "tab_size": 4
1678 },
1679 "Erlang": {
1680 "language_servers": ["erlang-ls", "!elp", "..."]
1681 },
1682 "Git Commit": {
1683 "allow_rewrap": "anywhere",
1684 "soft_wrap": "editor_width",
1685 "preferred_line_length": 72
1686 },
1687 "Go": {
1688 "code_actions_on_format": {
1689 "source.organizeImports": true
1690 },
1691 "debuggers": ["Delve"]
1692 },
1693 "GraphQL": {
1694 "prettier": {
1695 "allowed": true
1696 }
1697 },
1698 "HEEX": {
1699 "language_servers": ["elixir-ls", "!expert", "!next-ls", "!lexical", "..."]
1700 },
1701 "HTML": {
1702 "prettier": {
1703 "allowed": true
1704 }
1705 },
1706 "Java": {
1707 "prettier": {
1708 "allowed": true,
1709 "plugins": ["prettier-plugin-java"]
1710 }
1711 },
1712 "JavaScript": {
1713 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1714 "prettier": {
1715 "allowed": true
1716 }
1717 },
1718 "JSON": {
1719 "prettier": {
1720 "allowed": true
1721 }
1722 },
1723 "JSONC": {
1724 "prettier": {
1725 "allowed": true
1726 }
1727 },
1728 "Kotlin": {
1729 "language_servers": ["kotlin-language-server", "!kotlin-lsp", "..."]
1730 },
1731 "LaTeX": {
1732 "formatter": "language_server",
1733 "language_servers": ["texlab", "..."],
1734 "prettier": {
1735 "allowed": true,
1736 "plugins": ["prettier-plugin-latex"]
1737 }
1738 },
1739 "Markdown": {
1740 "format_on_save": "off",
1741 "use_on_type_format": false,
1742 "allow_rewrap": "anywhere",
1743 "soft_wrap": "editor_width",
1744 "prettier": {
1745 "allowed": true
1746 }
1747 },
1748 "PHP": {
1749 "language_servers": ["phpactor", "!intelephense", "..."],
1750 "prettier": {
1751 "allowed": true,
1752 "plugins": ["@prettier/plugin-php"],
1753 "parser": "php"
1754 }
1755 },
1756 "Plain Text": {
1757 "allow_rewrap": "anywhere"
1758 },
1759 "Python": {
1760 "formatter": {
1761 "language_server": {
1762 "name": "ruff"
1763 }
1764 },
1765 "debuggers": ["Debugpy"]
1766 },
1767 "Ruby": {
1768 "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "!sorbet", "!steep", "..."]
1769 },
1770 "Rust": {
1771 "debuggers": ["CodeLLDB"]
1772 },
1773 "SCSS": {
1774 "prettier": {
1775 "allowed": true
1776 }
1777 },
1778 "Starlark": {
1779 "language_servers": ["starpls", "!buck2-lsp", "..."]
1780 },
1781 "Svelte": {
1782 "language_servers": ["svelte-language-server", "..."],
1783 "prettier": {
1784 "allowed": true,
1785 "plugins": ["prettier-plugin-svelte"]
1786 }
1787 },
1788 "TSX": {
1789 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1790 "prettier": {
1791 "allowed": true
1792 }
1793 },
1794 "Twig": {
1795 "prettier": {
1796 "allowed": true
1797 }
1798 },
1799 "TypeScript": {
1800 "language_servers": ["!typescript-language-server", "vtsls", "..."],
1801 "prettier": {
1802 "allowed": true
1803 }
1804 },
1805 "SystemVerilog": {
1806 "format_on_save": "off",
1807 "use_on_type_format": false
1808 },
1809 "Vue.js": {
1810 "language_servers": ["vue-language-server", "..."],
1811 "prettier": {
1812 "allowed": true
1813 }
1814 },
1815 "XML": {
1816 "prettier": {
1817 "allowed": true,
1818 "plugins": ["@prettier/plugin-xml"]
1819 }
1820 },
1821 "YAML": {
1822 "prettier": {
1823 "allowed": true
1824 }
1825 },
1826 "Zig": {
1827 "language_servers": ["zls", "..."]
1828 }
1829 },
1830 // Different settings for specific language models.
1831 "language_models": {
1832 "anthropic": {
1833 "api_url": "https://api.anthropic.com"
1834 },
1835 "bedrock": {},
1836 "google": {
1837 "api_url": "https://generativelanguage.googleapis.com"
1838 },
1839 "ollama": {
1840 "api_url": "http://localhost:11434"
1841 },
1842 "openai": {
1843 "api_url": "https://api.openai.com/v1"
1844 },
1845 "openai_compatible": {},
1846 "open_router": {
1847 "api_url": "https://openrouter.ai/api/v1"
1848 },
1849 "lmstudio": {
1850 "api_url": "http://localhost:1234/api/v0"
1851 },
1852 "deepseek": {
1853 "api_url": "https://api.deepseek.com/v1"
1854 },
1855 "mistral": {
1856 "api_url": "https://api.mistral.ai/v1"
1857 },
1858 "vercel": {
1859 "api_url": "https://api.v0.dev/v1"
1860 },
1861 "x_ai": {
1862 "api_url": "https://api.x.ai/v1"
1863 },
1864 "zed.dev": {}
1865 },
1866 "session": {
1867 // Whether or not to restore unsaved buffers on restart.
1868 //
1869 // If this is true, user won't be prompted whether to save/discard
1870 // dirty files when closing the application.
1871 //
1872 // Default: true
1873 "restore_unsaved_buffers": true
1874 },
1875 // Zed's Prettier integration settings.
1876 // Allows to enable/disable formatting with Prettier
1877 // and configure default Prettier, used when no project-level Prettier installation is found.
1878 "prettier": {
1879 // Enables or disables formatting with Prettier for any given language.
1880 "allowed": false,
1881 // Forces Prettier integration to use a specific parser name when formatting files with the language.
1882 "plugins": [],
1883 // Default Prettier options, in the format as in package.json section for Prettier.
1884 // If project installs Prettier via its package.json, these options will be ignored.
1885 // "trailingComma": "es5",
1886 // "tabWidth": 4,
1887 // "semi": false,
1888 // "singleQuote": true
1889 // Forces Prettier integration to use a specific parser name when formatting files with the language
1890 // when set to a non-empty string.
1891 "parser": ""
1892 },
1893 // Settings for auto-closing of JSX tags.
1894 "jsx_tag_auto_close": {
1895 "enabled": true
1896 },
1897 // LSP Specific settings.
1898 "lsp": {
1899 // Specify the LSP name as a key here.
1900 // "rust-analyzer": {
1901 // // A special flag for rust-analyzer integration, to use server-provided tasks
1902 // enable_lsp_tasks": true,
1903 // // These initialization options are merged into Zed's defaults
1904 // "initialization_options": {
1905 // "check": {
1906 // "command": "clippy" // rust-analyzer.check.command (default: "check")
1907 // }
1908 // }
1909 // }
1910 },
1911 // DAP Specific settings.
1912 "dap": {
1913 // Specify the DAP name as a key here.
1914 },
1915 // Common language server settings.
1916 "global_lsp_settings": {
1917 // Whether to show the LSP servers button in the status bar.
1918 "button": true
1919 },
1920 // Jupyter settings
1921 "jupyter": {
1922 "enabled": true,
1923 "kernel_selections": {}
1924 // Specify the language name as the key and the kernel name as the value.
1925 // "kernel_selections": {
1926 // "python": "conda-base"
1927 // "typescript": "deno"
1928 // }
1929 },
1930 // REPL settings.
1931 "repl": {
1932 // Maximum number of columns to keep in REPL's scrollback buffer.
1933 // Clamped with [20, 512] range.
1934 "max_columns": 128,
1935 // Maximum number of lines to keep in REPL's scrollback buffer.
1936 // Clamped with [4, 256] range.
1937 "max_lines": 32
1938 },
1939 // Vim settings
1940 "vim": {
1941 "default_mode": "normal",
1942 "toggle_relative_line_numbers": false,
1943 "use_system_clipboard": "always",
1944 "use_smartcase_find": false,
1945 "highlight_on_yank_duration": 200,
1946 "custom_digraphs": {},
1947 // Cursor shape for the each mode.
1948 // Specify the mode as the key and the shape as the value.
1949 // The mode can be one of the following: "normal", "replace", "insert", "visual".
1950 // The shape can be one of the following: "block", "bar", "underline", "hollow".
1951 "cursor_shape": {}
1952 },
1953 // The server to connect to. If the environment variable
1954 // ZED_SERVER_URL is set, it will override this setting.
1955 "server_url": "https://zed.dev",
1956 // Settings overrides to use when using Zed Preview.
1957 // Mostly useful for developers who are managing multiple instances of Zed.
1958 "preview": {
1959 // "theme": "Andromeda"
1960 },
1961 // Settings overrides to use when using Zed Nightly.
1962 // Mostly useful for developers who are managing multiple instances of Zed.
1963 "nightly": {
1964 // "theme": "Andromeda"
1965 },
1966 // Settings overrides to use when using Zed Stable.
1967 // Mostly useful for developers who are managing multiple instances of Zed.
1968 "stable": {
1969 // "theme": "Andromeda"
1970 },
1971 // Settings overrides to use when using Zed Dev.
1972 // Mostly useful for developers who are managing multiple instances of Zed.
1973 "dev": {
1974 // "theme": "Andromeda"
1975 },
1976 // Whether to show full labels in line indicator or short ones
1977 //
1978 // Values:
1979 // - `short`: "2 s, 15 l, 32 c"
1980 // - `long`: "2 selections, 15 lines, 32 characters"
1981 // Default: long
1982 "line_indicator_format": "long",
1983 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1984 //
1985 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1986 // `socks5h`. `http` will be used when no scheme is specified.
1987 //
1988 // By default no proxy will be used, or Zed will try get proxy settings from
1989 // environment variables. If certain hosts should not be proxied,
1990 // set the `no_proxy` environment variable and provide a comma-separated list.
1991 //
1992 // Examples:
1993 // - "proxy": "socks5h://localhost:10808"
1994 // - "proxy": "http://127.0.0.1:10809"
1995 "proxy": null,
1996 // Set to configure aliases for the command palette.
1997 // When typing a query which is a key of this object, the value will be used instead.
1998 //
1999 // Examples:
2000 // {
2001 // "W": "workspace::Save"
2002 // }
2003 "command_aliases": {},
2004 // ssh_connections is an array of ssh connections.
2005 // You can configure these from `project: Open Remote` in the command palette.
2006 // Zed's ssh support will pull configuration from your ~/.ssh too.
2007 // Examples:
2008 // [
2009 // {
2010 // "host": "example-box",
2011 // // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
2012 // "projects": [
2013 // {
2014 // "paths": ["/home/user/code/zed"]
2015 // }
2016 // ]
2017 // }
2018 // ]
2019 "ssh_connections": [],
2020 // Whether to read ~/.ssh/config for ssh connection sources.
2021 "read_ssh_config": true,
2022 // Configures context servers for use by the agent.
2023 "context_servers": {},
2024 // Configures agent servers available in the agent panel.
2025 "agent_servers": {},
2026 "debugger": {
2027 "stepping_granularity": "line",
2028 "save_breakpoints": true,
2029 "timeout": 2000,
2030 "dock": "bottom",
2031 "log_dap_communications": true,
2032 "format_dap_log_messages": true,
2033 "button": true
2034 },
2035 // Configures any number of settings profiles that are temporarily applied on
2036 // top of your existing user settings when selected from
2037 // `settings profile selector: toggle`.
2038 // Examples:
2039 // "profiles": {
2040 // "Presenting": {
2041 // "agent_ui_font_size": 20.0,
2042 // "buffer_font_size": 20.0,
2043 // "theme": "One Light",
2044 // "ui_font_size": 20.0
2045 // },
2046 // "Python (ty)": {
2047 // "languages": {
2048 // "Python": {
2049 // "language_servers": ["ty"]
2050 // }
2051 // }
2052 // }
2053 // }
2054 "profiles": [],
2055
2056 // A map of log scopes to the desired log level.
2057 // Useful for filtering out noisy logs or enabling more verbose logging.
2058 //
2059 // Example: {"log": {"client": "warn"}}
2060 "log": {}
2061}