Files
dotfiles/config/zed.jsonc
Menno van Leeuwen e5723e0964
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 4s
Nix Format Check / check-format (push) Successful in 1m7s
Python Lint Check / check-python (push) Failing after 5s
Update zed.jsonc
2025-09-24 16:04:45 +02:00

184 lines
4.5 KiB
JSON

// 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 ##
// #############################################
"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": "prettier",
"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": "<YOUR LICENSE KEY>"
}
}
}
}