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