|
| 1 | +{ |
| 2 | + // ============================================================ |
| 3 | + // 团队精简配置 - 复制到 ~/.config/zed/settings.json 使用 |
| 4 | + // 或放到项目 .zed/settings.json 中作为项目级配置 |
| 5 | + // ============================================================ |
| 6 | + |
| 7 | + // ======================== AI / Agent ======================== |
| 8 | + // 完全禁用所有 AI 功能(Agent面板、内联助手等) |
| 9 | + "disable_ai": true, |
| 10 | + "agent": { |
| 11 | + "enabled": false, |
| 12 | + "button": false |
| 13 | + }, |
| 14 | + // 编辑预测(代码补全建议) |
| 15 | + "edit_predictions": { |
| 16 | + "provider": "none" |
| 17 | + }, |
| 18 | + |
| 19 | + // ======================== 标题栏 ======================== |
| 20 | + "title_bar": { |
| 21 | + "show_menus": false, // 应用菜单 |
| 22 | + "show_branch_icon": false, // 分支图标 |
| 23 | + "show_branch_name": true, // 分支名称 |
| 24 | + "show_project_items": true, // 项目名称 |
| 25 | + "show_onboarding_banner": false, // 新手引导横幅 |
| 26 | + "show_user_picture": true, // 用户头像 |
| 27 | + "show_user_menu": true, // 用户菜单 |
| 28 | + "show_sign_in": true // 登录按钮 |
| 29 | + }, |
| 30 | + |
| 31 | + // ======================== 面板按钮(状态栏入口)======================== |
| 32 | + // button: false = 隐藏状态栏上的面板入口按钮 |
| 33 | + "project_panel": { |
| 34 | + "button": true, |
| 35 | + "starts_open": true |
| 36 | + }, |
| 37 | + "outline_panel": { |
| 38 | + "button": false |
| 39 | + }, |
| 40 | + "collaboration_panel": { |
| 41 | + "button": false |
| 42 | + }, |
| 43 | + "git_panel": { |
| 44 | + "button": true, |
| 45 | + "starts_open": false, |
| 46 | + "show_count_badge": false |
| 47 | + }, |
| 48 | + "terminal": { |
| 49 | + "button": true |
| 50 | + }, |
| 51 | + "debugger": { |
| 52 | + "button": false |
| 53 | + }, |
| 54 | + |
| 55 | + // ======================== 编辑器工具栏 ======================== |
| 56 | + "toolbar": { |
| 57 | + "breadcrumbs": true, // 面包屑导航 |
| 58 | + "quick_actions": false, // 快捷操作按钮 |
| 59 | + "selections_menu": false, // 选区菜单 |
| 60 | + "agent_review": false, // Agent 审查按钮 |
| 61 | + "code_actions": false // 代码操作按钮 |
| 62 | + }, |
| 63 | + |
| 64 | + // ======================== Tab 栏 ======================== |
| 65 | + "tab_bar": { |
| 66 | + "show": true, |
| 67 | + "show_nav_history_buttons": true, |
| 68 | + "show_tab_bar_buttons": true |
| 69 | + }, |
| 70 | + |
| 71 | + // ======================== 状态栏 ======================== |
| 72 | + "status_bar": { |
| 73 | + "experimental.show": true, |
| 74 | + "show_active_file": false, |
| 75 | + "active_language_button": true, |
| 76 | + "cursor_position_button": true, |
| 77 | + "line_endings_button": false |
| 78 | + }, |
| 79 | + // 诊断按钮 |
| 80 | + "diagnostics": { |
| 81 | + "button": true |
| 82 | + }, |
| 83 | + // LSP 状态按钮 |
| 84 | + "lsp": { |
| 85 | + "button": false |
| 86 | + }, |
| 87 | + |
| 88 | + // ======================== 编辑器功能开关 ======================== |
| 89 | + // 滚动条 |
| 90 | + "scrollbar": { |
| 91 | + "show": "auto", |
| 92 | + "cursors": true, |
| 93 | + "git_diff": true, |
| 94 | + "search_results": true, |
| 95 | + "selected_text": true, |
| 96 | + "diagnostics": "all" |
| 97 | + }, |
| 98 | + // 缩略图 |
| 99 | + "minimap": { |
| 100 | + "show": "never" |
| 101 | + }, |
| 102 | + // 粘性滚动 |
| 103 | + "sticky_scroll": { |
| 104 | + "enabled": false |
| 105 | + }, |
| 106 | + // 内联提示 |
| 107 | + "inlay_hints": { |
| 108 | + "enabled": false |
| 109 | + }, |
| 110 | + // Jupyter |
| 111 | + "jupyter": { |
| 112 | + "enabled": false |
| 113 | + }, |
| 114 | + // 快捷键提示弹窗 |
| 115 | + "which_key": { |
| 116 | + "enabled": false |
| 117 | + }, |
| 118 | + |
| 119 | + // ======================== Git ======================== |
| 120 | + "git": { |
| 121 | + "disable_git": false, |
| 122 | + "enable_status": true, |
| 123 | + "enable_diff": true, |
| 124 | + "git_gutter": "tracked_files", |
| 125 | + "inline_blame": { |
| 126 | + "enabled": true |
| 127 | + } |
| 128 | + }, |
| 129 | + |
| 130 | + // ======================== 遥测 ======================== |
| 131 | + "telemetry": { |
| 132 | + "diagnostics": false, |
| 133 | + "metrics": false |
| 134 | + }, |
| 135 | + |
| 136 | + // ======================== 自动更新 ======================== |
| 137 | + "auto_update": false, |
| 138 | + |
| 139 | + // ======================== 扩展 ======================== |
| 140 | + "auto_install_extensions": {} |
| 141 | +} |
0 commit comments