// Zed settings // // For information on how to configure Zed, see the Zed // documentation: https://zed.dev/docs/configuring-zed // // To see all of Zed's default settings without changing your // custom settings, run `zed: open default settings` from the // command palette (cmd-shift-p / ctrl-shift-p) { // ############################################# // ## Theming ## // ############################################# "formatter": "prettier", "context_servers": { "mcp-server-context7": { "source": "extension", "enabled": true, "settings": { "context7_api_key": "{{ lookup('community.general.onepassword', 'Zed Settings', vault='Dotfiles', field='mcp-server-context7') }}", }, }, "memory": { "source": "custom", "enabled": true, "command": "npx", "args": ["-y", "@modelcontextprotocol/server-memory"], "env": { "MEMORY_FILE_PATH": "${input:memory_file_path}", }, }, }, "features": { "edit_prediction_provider": "copilot", }, "telemetry": { "diagnostics": false, "metrics": false, }, "ssh_connections": [ { "host": "desktop", "projects": [ { "paths": ["/home/menno/.dotfiles"], }, ], }, { "host": "salt.dev-via-laptop", "username": "salt", "projects": [ { "paths": ["/home/salt/releases"], }, ], }, ], "icon_theme": { "mode": "system", "light": "VSCode Icons (Dark)", "dark": "VSCode Icons (Dark)", }, "ui_font_size": 16, "buffer_font_size": 14, "terminal": { "font_size": 14, }, "minimap": { "show": "always", "thumb": "hover", "current_line_highlight": "all", "display_in": "active_editor", }, "theme": { "mode": "system", "light": "One Light", "dark": "VSCode Dark Modern", }, "tabs": { "close_position": "right", "file_icons": true, "git_status": true, "activate_on_close": "history", "show_close_button": "hover", "show_diagnostics": "errors", }, "toolbar": { "code_actions": true, }, // ############################################# // ## Preferences ## // ############################################# "restore_on_startup": "last_session", "auto_update": true, "base_keymap": "VSCode", "cursor_shape": "bar", "hide_mouse": "on_typing", "on_last_window_closed": "quit_app", "ensure_final_newline_on_save": true, "format_on_save": "on", "tab_size": 2, "inlay_hints": { "enabled": true, "show_parameter_hints": true, }, // ############################################# // ## AI Stuff ## // ############################################# "agent": { "profiles": { "ask": { "name": "Ask", "tools": { "contents": true, "diagnostics": true, "fetch": true, "list_directory": true, "project_notifications": false, "now": true, "find_path": true, "read_file": true, "open": true, "grep": true, "thinking": true, "web_search": true, }, "enable_all_context_servers": false, "context_servers": { "memory": { "tools": { "search_nodes": true, "read_graph": true, "open_nodes": true, "delete_relations": true, "delete_observations": true, "delete_entities": true, "create_relations": true, "create_entities": true, "add_observations": true, }, }, "mcp-server-context7": { "tools": { "resolve-library-id": true, "get-library-docs": true, }, }, }, }, }, "always_allow_tool_actions": true, "default_profile": "write", "model_parameters": [], "default_model": { "provider": "copilot_chat", "model": "grok-code-fast-1", }, }, "edit_predictions": { "mode": "subtle", "enabled_in_text_threads": true, "disabled_globs": [ "**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets/**", ], }, // ############################################# // ## Extensions ## // ############################################# "auto_install_extensions": { "dockerfile": true, "html": true, "yaml": true, "docker-compose": true, "golang": true, }, // ############################################# // ## Languages ## // ############################################# "languages": { "PHP": { "language_servers": ["phptools"], }, "Dart": { "code_actions_on_format": { "source.organizeImports": true, }, }, }, "lsp": { "phptools": { "initialization_options": { "0": "", }, }, }, }