### Rust Quick Start Guide Source: https://github.com/zed-industries/zed/blob/main/crates/project_panel/benches/linux_repo_snapshot.txt A quick start guide for developers new to using Rust within the Zed project. It provides essential information and steps to begin developing with Rust for the kernel. ```rst .. _rust_quick_start: Rust Quick Start ================ This guide provides the necessary steps to get started with Rust development in the Zed project. It covers setting up the development environment, building basic examples, and understanding the initial workflow. Prerequisites: * Rust toolchain installed * Knowledge of C and Rust basics ``` -------------------------------- ### Run Zed Example Source: https://github.com/zed-industries/zed/blob/main/crates/db/README.md Use this command to run a specific example from the Zed project's examples folder. ```bash cargo run --example [your-example] ``` -------------------------------- ### Run GPUI Example Source: https://github.com/zed-industries/zed/blob/main/crates/gpui/examples/README.md Command to run a specific GPUI example from the Zed repository root. Replace 'hello_world' with the desired example name. ```sh cargo run -p gpui --example hello_world ``` -------------------------------- ### Start with Launchpad on Startup Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Configure Zed to always start by displaying the welcome launchpad. ```json { "restore_on_startup": "launchpad" } ``` -------------------------------- ### Install Python with uv Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/python.md Installs the uv package manager, which is recommended for Python development. Follow the official Astral installation guide for more details. ```bash curl -LsSf https://astral.sh/uv/install.sh | sh ``` -------------------------------- ### Install Scala Almond Kernel Source: https://github.com/zed-industries/zed/blob/main/docs/src/repl.md Sets up Coursier, installs Temurin JDK, and then installs the Almond Scala REPL kernel. ```sh brew install coursier/formulas/coursier && cs setup coursier launch --use-bootstrap almond -- --install ``` -------------------------------- ### Install Zed Preview Channel (Linux) Source: https://github.com/zed-industries/zed/blob/main/docs/src/installation.md Install the preview build of Zed on Linux by specifying the ZED_CHANNEL environment variable. ```sh curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh ``` -------------------------------- ### Install Zed via Installation Script (Linux) Source: https://github.com/zed-industries/zed/blob/main/docs/src/installation.md Use this command to install Zed on Linux using the official installation script. This installs the latest stable version by default. ```sh curl -f https://zed.dev/install.sh | sh ``` -------------------------------- ### Install Linux Perf Tools Source: https://github.com/zed-industries/zed/blob/main/docs/src/development/linux.md Install the 'perf' performance analysis tool on Ubuntu-based systems. ```bash sudo apt install linux-tools ``` -------------------------------- ### Install Linux System Libraries Source: https://github.com/zed-industries/zed/blob/main/docs/src/development/linux.md Run this script to install the necessary system libraries for building Zed on Linux. Alternatively, manually install packages listed in the script. ```sh script/linux ``` -------------------------------- ### Skill Directory Structure Example Source: https://github.com/zed-industries/zed/blob/main/crates/agent_skills/builtin/create-skill/SKILL.md Illustrates a typical skill directory containing SKILL.md, templates, and examples. ```treeview ~/.agents/skills/react-component/ ├── SKILL.md ├── templates/ │ ├── component.tsx │ └── test.tsx └── examples/ └── button.tsx ``` -------------------------------- ### SKILL.md Frontmatter Example Source: https://github.com/zed-industries/zed/blob/main/crates/agent_skills/builtin/create-skill/SKILL.md Example of the required YAML frontmatter and basic structure for a SKILL.md file. ```markdown --- name: my-skill-name description: A clear, specific description of what this skill does and when to use it. --- # Skill Title Instructions for the agent go here. Write them as if you're telling the agent what to do when this skill is activated. ``` -------------------------------- ### Install Zed via Homebrew Source: https://github.com/zed-industries/zed/blob/main/docs/src/macos.md Use Homebrew to install the stable version of Zed. ```sh brew install --cask zed ``` -------------------------------- ### Install R Ark Kernel Source: https://github.com/zed-industries/zed/blob/main/docs/src/repl.md Installs the Ark kernel for R by downloading the binary and running the install command. ```sh ark --install ``` -------------------------------- ### Serve Zed Docs Locally Source: https://github.com/zed-industries/zed/blob/main/docs/README.md Installs mdBook and serves the Zed documentation locally. Ensure you have mdBook installed and action metadata generated. ```sh script/generate-action-metadata mdbook serve docs ``` -------------------------------- ### Configure Auto Install Extensions Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Define which extensions should be installed automatically (`true`) or never installed (`false`) for specific languages. ```json { "auto_install_extensions": { "html": true, "dockerfile": true, "docker-compose": false } } ``` -------------------------------- ### Install Development Build Source: https://github.com/zed-industries/zed/blob/main/docs/src/development/linux.md Installs a local build of Zed and its CLI in release mode, setting up the binary and desktop files. ```sh ./script/install-linux ``` -------------------------------- ### Install git-filter-repo Source: https://github.com/zed-industries/zed/blob/main/extensions/EXTRACTION.md Install the git-filter-repo tool using Homebrew. This is a prerequisite for the extraction process. ```bash brew install git-filter-repo ``` -------------------------------- ### Install Zed via winget (Windows) Source: https://github.com/zed-industries/zed/blob/main/docs/src/installation.md Install Zed on Windows using the winget package manager. ```sh winget install -e --id ZedIndustries.Zed ``` -------------------------------- ### Desktop Integration for Manually Installed Zed Source: https://github.com/zed-industries/zed/blob/main/docs/src/linux.md This snippet demonstrates how to install the .desktop file for Zed and update its paths for proper integration with XDG-compatible desktop environments. It assumes Zed is installed in ~/.local/zed.app. ```sh install -D ~/.local/zed.app/share/applications/dev.zed.Zed.desktop -t ~/.local/share/applications sed -i "s|Icon=zed|Icon=$HOME/.local/zed.app/share/icons/hicolor/512x512/apps/zed.png|g" ~/.local/share/applications/dev.zed.Zed.desktop sed -i "s|Exec=zed|Exec=$HOME/.local/zed.app/bin/zed|g" ~/.local/share/applications/dev.zed.Zed.desktop ``` -------------------------------- ### Start with Empty Editor on Startup Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Configure Zed to always start with an empty editor, discarding any previous session. ```json { "restore_on_startup": "empty_tab" } ``` -------------------------------- ### Install Dylint and Pinned Toolchain Source: https://github.com/zed-industries/zed/blob/main/tooling/lints/README.md Installs dylint, a pinned nightly toolchain, and necessary components. Run this command from the tooling/lints directory. ```bash cargo install cargo-dylint dylint-link cd tooling/lints rustup toolchain install ``` -------------------------------- ### Start llama.cpp Server Source: https://github.com/zed-industries/zed/blob/main/docs/src/ai/use-a-local-model.md Start the llama.cpp server in router mode. It loads models from the cache on demand. ```shell llama serve ``` -------------------------------- ### Install PHP on Debian/Ubuntu Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/php.md Installs PHP CLI on Debian or Ubuntu systems. ```sh # Debian/Ubuntu sudo apt-get install php-cli ``` -------------------------------- ### Configure Project Panel Indent Guides Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Control the visibility of indent guides within the project panel. Options include showing them 'always' or 'never'. ```json { "project_panel": { "indent_guides": { "show": "always" } } } ``` ```json { "project_panel": { "indent_guides": { "show": "never" } } } ``` -------------------------------- ### Install Zed Preview via Homebrew (macOS) Source: https://github.com/zed-industries/zed/blob/main/docs/src/installation.md Use this command to install the preview version of Zed on macOS using Homebrew. ```sh brew install --cask zed@preview ``` -------------------------------- ### Default Indent Guides Configuration Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Sets the default configuration for indent guides, enabling them with specific line widths and coloring options. ```json { "indent_guides": { "enabled": true, "line_width": 1, "active_line_width": 1, "coloring": "fixed", "background_coloring": "disabled" } } ``` -------------------------------- ### Install PipeWire ALSA Plugin Source: https://github.com/zed-industries/zed/blob/main/docs/src/linux.md Install the PipeWire ALSA plugin on Debian-based systems to enable audio routing through PipeWire. ```bash sudo apt install pipewire-alsa ``` -------------------------------- ### Example Configuration Source: https://github.com/zed-industries/zed/blob/main/docs/src/configuring-zed.md A comprehensive example configuration demonstrating various settings including theme, fonts, tab size, autosave, vim mode, terminal settings, and language-specific configurations. ```json { "theme": { "mode": "system", "light": "One Light", "dark": "One Dark" }, "buffer_font_family": "JetBrains Mono", "buffer_font_size": 14, "tab_size": 2, "format_on_save": "on", "autosave": "on_focus_change", "vim_mode": false, "terminal": { "font_family": "JetBrains Mono", "font_size": 14 }, "languages": { "Python": { "tab_size": 4 } } } ``` -------------------------------- ### Hostapd Configuration Example Source: https://github.com/zed-industries/zed/blob/main/crates/project_panel/benches/linux_repo_snapshot.txt Example configuration for hostapd, a user-space daemon for access point and authentication servers. It is commonly used for Wi-Fi network setup. ```ini interface=wlan0 driver=nl80211 ssid=MyAccessPoint channel=6 ``` -------------------------------- ### Process Debugging Guide Source: https://github.com/zed-industries/zed/blob/main/crates/project_panel/benches/linux_repo_snapshot.txt This snippet points to the index of debugging guides related to the process management subsystem in the Zed project. It serves as a starting point for finding information on debugging processes. ```rst .. _process_debugging_index: Process Debugging Index ======================= This document serves as an index to various debugging guides related to process management. It provides links to resources covering different aspects of debugging processes, including kernel and userspace debugging. ``` -------------------------------- ### Run zed-eval Doctor and Create Volume Source: https://github.com/zed-industries/zed/blob/main/crates/eval_cli/zed_eval/README.md Checks the setup and creates the Modal volume if it doesn't exist. This command can be run from the checkout directory without a global installation. ```sh crates/eval_cli/script/zed-eval doctor ``` ```sh zed-eval doctor --create-volume ``` -------------------------------- ### Profile Settings Examples Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Demonstrates how to configure profiles for applying temporary settings overrides. Profiles can be based on user settings or default settings. ```json { "profiles": { "Presentation": { "settings": { "buffer_font_size": 20, "ui_font_size": 18, "theme": "One Light" } }, "Clean Slate": { "base": "default", "settings": { "theme": "Ayu Dark" } } } } ``` -------------------------------- ### Set Xcode Command Line Tools Path Source: https://github.com/zed-industries/zed/blob/main/crates/gpui/README.md Ensure the Xcode command line tools are using your installed copy of Xcode on macOS. This is necessary for proper development environment setup. ```sh sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer ``` -------------------------------- ### Enable Helix-Style Jump-to-Word Action Source: https://github.com/zed-industries/zed/blob/main/docs/src/vim.md Enable the Helix-style jump-to-word action, which shows jump labels at visible word starts. This example uses 'g w', matching the default Helix binding. ```json { "context": "vim_mode == normal || vim_mode == visual", "bindings": { "g w": "vim::HelixJumpToWord" } } ``` -------------------------------- ### Example Zed Settings Configuration Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md This is an example of a complete settings.json file for Zed. It demonstrates how to set global editor preferences, configure language-specific formatting, and customize the integrated terminal. ```json // ~/.config/zed/settings.json { "theme": "cave-light", "tab_size": 2, "preferred_line_length": 80, "soft_wrap": "none", "buffer_font_size": 18, "buffer_font_family": ".ZedMono", "autosave": "on_focus_change", "format_on_save": "off", "vim_mode": false, "terminal": { "font_family": "FiraCode Nerd Font Mono", "blinking": "off" }, "languages": { "C": { "format_on_save": "on", "formatter": "language_server", "preferred_line_length": 64, "soft_wrap": "bounded" } } } ``` -------------------------------- ### Customize Vim Mode Settings Source: https://github.com/zed-industries/zed/blob/main/docs/src/vim.md Modify various vim mode behaviors, such as the default starting mode, system clipboard integration, search case sensitivity, and relative line number display. This example shows a comprehensive set of custom settings. ```json { "vim": { "default_mode": "insert", "use_system_clipboard": "never", "use_smartcase_find": true, "use_regex_search": true, "gdefault": true, "toggle_relative_line_numbers": true, "highlight_on_yank_duration": 50, "custom_digraphs": { "fz": "🧟‍♀️" } } } ``` -------------------------------- ### Perf Configuration Example Source: https://github.com/zed-industries/zed/blob/main/crates/project_panel/benches/linux_repo_snapshot.txt This example file demonstrates how to configure the 'perf' tool. It shows common settings and options that can be used to customize 'perf' behavior for specific profiling tasks. ```ini # Example perf configuration file # Set default event # event=cpu-cycles # Enable verbose output # verbose=1 # Specify output directory # output_dir=/tmp/perf_data # Include specific processes # include_process=my_app # Exclude specific processes # exclude_process=systemd # Set sampling frequency # freq=1000 ``` -------------------------------- ### USB Skeleton Driver (C) Source: https://github.com/zed-industries/zed/blob/main/crates/project_panel/benches/linux_repo_snapshot.txt A skeleton or example driver for USB devices. This file serves as a template or starting point for developing new USB drivers, demonstrating basic USB driver structure and operations. ```c /* USB skeleton driver */ #include #include #include static int skeleton_probe(struct usb_interface *intf, const struct usb_device_id *id) { // ... probe logic ... return 0; } static void skeleton_disconnect(struct usb_interface *intf) { // ... disconnect logic ... } static struct usb_driver skeleton_driver = { .name = "skeleton", .probe = skeleton_probe, .disconnect = skeleton_disconnect, .id_table = NULL, // Populate with device IDs }; static int __init skeleton_init(void) { return usb_register(&skeleton_driver); } static void __exit skeleton_exit(void) { usb_deregister(&skeleton_driver); } module_init(skeleton_init); module_exit(skeleton_exit); MODULE_LICENSE("GPL"); ``` -------------------------------- ### Ruby Language Server Configuration Examples Source: https://github.com/zed-industries/zed/blob/main/docs/src/configuring-languages.md Demonstrates different ways to configure Ruby language servers using the "..." wildcard and explicit inclusion/exclusion. ```json ["... "] ``` ```json ["ruby-lsp", "..."] ``` ```json ["ruby-lsp", "!solargraph", "!kanayago", "..."] ``` ```json ["ruby-lsp", "solargraph"] ``` -------------------------------- ### Expose Static and Dynamic Resources (Python) Source: https://github.com/zed-industries/zed/blob/main/crates/agent/src/tools/evals/fixtures/zode/prompt.md Shows how to expose data using MCP resources, similar to GET endpoints. Includes examples for static configuration data and dynamic user profile data based on a path parameter. ```python from mcp.server.fastmcp import FastMCP mcp = FastMCP("My App") @mcp.resource("config://app") def get_config() -> str: """Static configuration data""" return "App configuration here" @mcp.resource("users://{user_id}/profile") def get_user_profile(user_id: str) -> str: """Dynamic user data""" return f"Profile data for user {user_id}" ``` -------------------------------- ### Example .clangd Configuration File Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/cpp.md Set extra project-specific configuration for clangd, including include directories and diagnostic settings. ```yaml # yaml-language-server: $schema=https://json.schemastore.org/clangd.json CompileFlags: Add: - "--include-directory=/path/to/include" Diagnostics: MissingIncludes: Strict UnusedIncludes: Strict ``` -------------------------------- ### Install and Run Benchmarks with zed-eval CLI Source: https://github.com/zed-industries/zed/blob/main/crates/eval_cli/README.md Installs the zed-eval tool and runs benchmarks. This is the recommended approach for most benchmark runs, abstracting direct invocation of eval-cli. ```sh crates/eval_cli/script/install-zed-eval zed-eval doctor --create-volume zed-eval run rf --from local --n-tasks 2 ``` -------------------------------- ### Disable Indent Guides Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Disables indent guides globally. Use this when indent guides are not desired. ```json { "indent_guides": { "enabled": false } } ``` -------------------------------- ### Example Launch Debugger Configuration Source: https://github.com/zed-industries/zed/blob/main/docs/src/debugger.md This configuration is used to launch a new instance of a program for debugging. It specifies the adapter, program path, and working directory. ```json [ { "label": "Example Start debugger config", "adapter": "Example adapter name", "request": "launch", "program": "path_to_program", "cwd": "$ZED_WORKTREE_ROOT" } ] ``` -------------------------------- ### Demo: Run a Single Lint Source: https://github.com/zed-industries/zed/blob/main/tooling/lints/README.md Example of how to run a specific lint, 'blocking_io_on_foreground'. ```bash ./single-lint blocking_io_on_foreground ``` -------------------------------- ### Settings JSON Example Source: https://github.com/zed-industries/zed/blob/main/docs/AGENTS.md When documenting settings, always show complete, valid JSON with surrounding structure. This example demonstrates agent default model configuration. ```json { "agent": { "default_model": { "provider": "anthropic", "model": "claude-sonnet-4" } } } ``` -------------------------------- ### List Installed Extensions on Linux Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md This command lists the subfolders under the extension installation location on Linux to identify installed extensions. ```sh ls ~/.local/share/zed/extensions/installed ``` -------------------------------- ### List Installed Extensions on macOS Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md This command lists the subfolders under the extension installation location on macOS to identify installed extensions. ```sh ls ~/Library/Application\ Support/Zed/extensions/installed/ ``` -------------------------------- ### Install Python with Homebrew Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/python.md Installs Python using the Homebrew package manager. Ensure Homebrew is installed and configured on your system. ```bash brew install python ``` -------------------------------- ### List Installed Extensions on Windows Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md This PowerShell command lists the subfolders under the extension installation location on Windows to identify installed extensions. ```pwsh Get-ChildItem "$env:LOCALAPPDATA\Zed\extensions\installed" -Name ``` -------------------------------- ### Basic GPUI Application Structure Source: https://github.com/zed-industries/zed/blob/main/crates/gpui/README.md Create a GPUI application using gpui_platform::application() and run it with a callback. Inside the callback, you can open windows and register root views. ```rust use gpui::*; fn main() { gpui_platform::application().run(|cx: &mut App| { // .. }); } ``` -------------------------------- ### Verify Python Installation Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/python.md Checks if Python 3 is installed and accessible in your current shell environment. This command should output the installed Python version. ```bash python3 --version ``` -------------------------------- ### Format on Save Settings Example (JSON) Source: https://github.com/zed-industries/zed/blob/main/docs/AGENTS.md Shows how to configure the 'format_on_save' setting directly in the settings.json file. ```json { "format_on_save": "on" } ``` -------------------------------- ### Start LM Studio API Server Source: https://github.com/zed-industries/zed/blob/main/docs/src/ai/use-a-local-model.md Start the LM Studio API server to make local models accessible to Zed. This command should be run after downloading models. ```sh lms server start ``` -------------------------------- ### Enable Indent Guides for Specific Language Source: https://github.com/zed-industries/zed/blob/main/docs/src/reference/all-settings.md Enables indent guides specifically for the Python language. This allows language-specific customization of indent guide behavior. ```json { "languages": { "Python": { "indent_guides": { "enabled": true } } } } ``` -------------------------------- ### Keybinding Examples Source: https://github.com/zed-industries/zed/blob/main/docs/src/key-bindings.md Defines keybindings for various actions, including multi-key sequences and single keypresses. Use this to map custom shortcuts. ```json { "bindings": { "cmd-k cmd-s": "zed::OpenKeymap", // matches ⌘-k then ⌘-s "space e": "editor::ShowCompletions", // type space then e "ç": "editor::ShowCompletions", // matches ⌥-c "shift shift": "file_finder::Toggle" // matches pressing and releasing shift twice } } ``` -------------------------------- ### Allow Any NPM Package Installation (TOML) Source: https://github.com/zed-industries/zed/blob/main/docs/src/extensions/capabilities.md Grants the `npm:install` capability, allowing extensions to install any npm package. This is a broad permission and should be carefully considered due to potential security risks associated with installing arbitrary packages. ```toml { kind = "npm:install", package = "*" } ``` -------------------------------- ### Install Zed Preview Build Source: https://github.com/zed-industries/zed/blob/main/docs/src/linux.md Install a preview build of Zed, which receives updates approximately one week ahead of the stable release. This is achieved by setting the ZED_CHANNEL environment variable. ```sh curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh ``` -------------------------------- ### Launch Benchmark Run Source: https://github.com/zed-industries/zed/blob/main/crates/eval_cli/zed_eval/README.md Launches a small benchmark run from the current checkout. Specify the benchmark name (e.g., 'rf') and the number of tasks. ```sh zed-eval run rf --from local --n-tasks 2 ``` -------------------------------- ### Install PHP on macOS Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/php.md Installs PHP using Homebrew on macOS. ```sh # macOS via Homebrew brew install php ``` -------------------------------- ### Install PHP on Arch Linux Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/php.md Installs PHP on Arch Linux systems. ```sh # Arch Linux sudo pacman -S php ``` -------------------------------- ### Open files and folders with Zed CLI Source: https://github.com/zed-industries/zed/blob/main/docs/src/macos.md Examples of using the Zed command-line interface to open files and directories. ```sh zed . # Open current folder zed file.txt # Open a file zed project/ file.txt # Open a folder and a file ``` -------------------------------- ### JDTLS Initialization Options Example (JSON) Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/java.md An example `settings.json` configuration for Zed, demonstrating how to pass advanced initialization options to the JDTLS server. This includes settings for workspace folders, Java home, build configurations, import preferences, and code completion. ```json { "lsp": { "jdtls": { "settings": { "initialization_options": { "bundles": [], "workspaceFolders": ["file:///home/snjeza/Project"], "settings": { "java": { "home": "/usr/local/jdk-9.0.1", "errors": { "incompleteClasspath": { "severity": "warning" } }, "configuration": { "updateBuildConfiguration": "interactive", "maven": { "userSettings": null } }, "import": { "gradle": { "enabled": true }, "maven": { "enabled": true }, "exclusions": [ "**/node_modules/**", "**/.metadata/**", "**/archetype-resources/**", "**/META-INF/maven/**", "/**/test/**" ] }, "referencesCodeLens": { "enabled": false }, "signatureHelp": { "enabled": false }, "implementationCodeLens": "all", "format": { "enabled": true }, "saveActions": { "organizeImports": false }, "contentProvider": { "preferred": null }, "autobuild": { "enabled": false }, "completion": { "favoriteStaticMembers": [ "org.junit.Assert.*", "org.junit.Assume.*", "org.junit.jupiter.api.Assertions.*", "org.junit.jupiter.api.Assumptions.*", "org.junit.jupiter.api.DynamicContainer.*", "org.junit.jupiter.api.DynamicTest.*" ], "importOrder": ["java", "javax", "com", "org"] } } } } } } } } ``` -------------------------------- ### Display Schema Generator Help Source: https://github.com/zed-industries/zed/blob/main/crates/schema_generator/README.md Run this command to see all available options and usage instructions for the schema generator. ```sh cargo run -p schema_generator -- --help ``` -------------------------------- ### Install Zed via Homebrew Source: https://github.com/zed-industries/zed/blob/main/docs/src/migrate/vs-code.md Install Zed editor using Homebrew on macOS. ```bash brew install zed-editor/zed/zed ``` -------------------------------- ### Verify ocamllsp Installation Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/ocaml.md Verify that the ocamllsp language server is installed and accessible in your terminal. ```shell ocamllsp --help ``` -------------------------------- ### Configure Agent Profile Settings Source: https://github.com/zed-industries/zed/blob/main/docs/src/ai/agent-profiles.md This JSON snippet shows an example configuration for the 'ask' agent profile. It specifies the profile name, available built-in tools (read_file, grep enabled; terminal, edit_file disabled), context server settings, and the default LLM model to use. Ensure model and provider IDs match your configured LLM Providers. ```json { "agent": { "profiles": { "ask": { "name": "Ask", "tools": { "read_file": true, "grep": true, "terminal": false, "edit_file": false }, "enable_all_context_servers": false, "context_servers": {}, "default_model": { "provider": "zed.dev", "model": "claude-sonnet-4-5" } } } } } ``` -------------------------------- ### List Available Builds with Details Source: https://github.com/zed-industries/zed/blob/main/crates/eval_cli/zed_eval/README.md Displays a list of all available builds along with detailed information for each. Useful for managing build artifacts. ```sh zed-eval builds --details ``` -------------------------------- ### Verify Shellcheck Installation Source: https://github.com/zed-industries/zed/blob/main/docs/src/languages/bash.md Verify that shellcheck is installed and accessible from your system's PATH. ```bash which shellcheck shellcheck --version ``` -------------------------------- ### Install MCP Server (Bash) Source: https://github.com/zed-industries/zed/blob/main/crates/agent/src/tools/evals/fixtures/zode/prompt.md Command to install the MCP server locally using the 'mcp install' command. This is a common way to set up the server for use with Claude Desktop. ```bash mcp install server.py ``` -------------------------------- ### Install TypeScript Deno Jupyter Kernel Source: https://github.com/zed-industries/zed/blob/main/docs/src/repl.md Installs the Deno Jupyter kernel for TypeScript development. ```sh deno jupyter --install ```