Skip to content

bug-ops/deps-zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deps

License: MIT

Zed extension for deps-lsp — intelligent dependency management in Cargo.toml, package.json, and more.

Deps extension in action

Features

  • Version Hints — Inline status indicators (✅ up-to-date, ❌ outdated)
  • Lock File Support — Resolved versions from Cargo.lock, package-lock.json, poetry.lock, uv.lock
  • Hover Information — Version list with resolved version from lock file
  • Diagnostics — Warnings for outdated, yanked, or unknown packages
  • Code Actions — Quick version updates via Cmd+.
  • Autocomplete — Package names, versions, and feature flags

Installation

Install Deps from Zed Extensions:

  1. Open Zed
  2. Press Cmd+Shift+X to open Extensions
  3. Search for "Deps"
  4. Click Install

Configuration

Configure in Zed settings (Cmd+,):

{
  "lsp": {
    "deps-lsp": {
      "initialization_options": {
        "inlay_hints": {
          "enabled": true,
          "up_to_date_text": "",
          "needs_update_text": "❌ {}"
        },
        "diagnostics": {
          "outdated_severity": "hint",
          "unknown_severity": "warning"
        }
      }
    }
  }
}

Supported Files

Ecosystem Manifest Lock File
Rust Cargo.toml Cargo.lock
npm package.json package-lock.json
Python pyproject.toml poetry.lock, uv.lock
Go go.mod go.sum

Development

Note

This crate compiles to WASM and is distributed via Zed Extensions marketplace.

# Build WASM extension
cargo build -p deps-zed --target wasm32-wasip1

License

MIT

About

Zed extension for deps-lsp - dependency management LSP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages