Deputy
Autocomplete, hover info, and more for your dependencies
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Deputy. The extension's id is deputy.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Deputy
A lightweight language server for your dependencies.
Deputy currently supports the following:
- Cargo (
Cargo.toml) - Golang (
go.mod) - NPM (
package.json) - Python (
pyproject.toml) - Rokit (
rokit.toml) - Wally (
wally.toml)
Provides autocomplete, diagnostics for out-of-date versions, and more.
Check out the features section for a full list of features.
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
Usage
The Deputy extension uses a binary named deputy if it is available in
the current worktree, and otherwise falls back to installing the latest
version of the language server automatically and using that.
The extension also adds the following slash commands:
/deputy-set-github-pat <personal-access-token>: Sets the GitHub personal access token to use for GitHub API requests. This prevents rate limiting and is required for the language server to work if you're using a private Wally index repository./deputy-remove-github-pat: Removes the GitHub personal access token that was previously set.