Elixir Hex Lens
Hover information and autocompletion for Hex packages in mix.exs files.
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 Elixir Hex Lens. The extension's id is elixir-hex-lens.
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.
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