Elixir Hex Lens
A Zed extension that shows hover information and autocompletion for Hex packages in
Elixir mix.exs files.
Features
- Hover: shows package name, description, latest version with publish date, and links to hex.pm, hexdocs and repository
- Autocompletion: suggests Hex packages as you type
{:in amix.exsfile
Examples
Hover:
Autocomplete:
Installation
Install Elixir Hex Lens from the Zed extension marketplace (zed: extensions in the command palette).
Configuration
Custom server binary path
By default, the extension downloads the LSP server binary
from GitHub releases. To use a custom binary (e.g. a local build), add this to your Zed settings.json:
{
"lsp": {
"elixir-hex-lens": {
"binary": {
"path": "/path/to/elixir-hex-lens-lsp"
}
}
}
}The extension resolves the server binary in this order:
- Custom path from Zed settings (as shown above)
- Cached path from a previous invocation
- System
PATHlookup - Download from GitHub releases
License
Apache-2.0