Skip to content

Type to search extensions

Deputy

v1.0.1

Autocomplete, hover info, and more for your dependencies

Updated 7 months ago
47k downloads 45 stars Repository ↗

Deputy

A lightweight language server for your dependencies.

Deputy currently supports the following:

Provides autocomplete, diagnostics for out-of-date versions, and more.
Check out the features and screenshots sections for a full overview.

Installation

Deputy can be installed as an extension from:

[1] Additional extensions for TOML/Go language support may need to be installed first for corresponding Deputy features to be recognized and work in Zed.

Extensions can also be built and installed from source:

Manual Installation - VSCode
  1. Install Bun
  2. Clone this repository, and navigate to the editors/vscode directory
  3. Build and install the extension by running these three commands, in order:
    bun install
    bun pm trust --all
    bun run extension-install
Manual Installation - Zed
  1. Install Rust
  2. Clone this repository, and navigate to the root directory
  3. Install the Zed extension at editors/zed as a dev extension

Features

  • Autocomplete for names, versions, and features
  • Hover for information - includes description, links to documentation & more
  • Diagnostics:
    • A newer version is available
    • The specified tool / package / version does not exist
  • Quick actions on diagnostics - update to newest version

Command Line

Deputy can also run diagnostics over a workspace without starting an editor:

deputy analyze

By default, this checks the current directory for supported manifests and prints diagnostics with source snippets. Error diagnostics will cause the command to exit with a non-zero status code, making it suitable for CI.

Screenshots

Hovers

Hover

Diagnostics

Diagnostics

Completions

Completions

Why "Deputy"?

This project was previously called "Tooling Language Server", but I felt it was a bit too generic and verbose.

Deputy is mostly just a fun wordplay on "Dependency" and "Utility", but you can also interpret it using the literal meaning of the word.
Deputy helps you (the sheriff of dependencies) stay informed, and keep your versions up to date. 🤠

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated