Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sztheory/vsc-hex-lens

Hover info for Hex packages (Mix/Rebar3) for Visual Studio Code. Supports BEAM languages like Erlang, Elixir, Gleam, etc.
https://github.com/sztheory/vsc-hex-lens

elixir erlang extension hex lens mix popup rebar3 visual-studio-code

Last synced: 8 days ago
JSON representation

Hover info for Hex packages (Mix/Rebar3) for Visual Studio Code. Supports BEAM languages like Erlang, Elixir, Gleam, etc.

Awesome Lists containing this project

README

        

# hex-lens README

Hover info for Rebar3 (Erlang) and Mix (Elixir) packages. Shows package version and description.

Combine this extension with [hex.pm IntelliSense](https://marketplace.visualstudio.com/items?itemName=benvp.vscode-hex-pm-intellisense) by [benvp](https://github.com/benvp) to also get autocomplete when typing version numbers in your Elixir `mix.exs` file!

## Features

### Rebar hover for BEAM languages (Erlang, Gleam, LFE, etc.) in `rebar.config`

![Rebar config hover](https://user-images.githubusercontent.com/28652/72213879-8404f680-34ee-11ea-8575-3fe735ff84f3.gif)

### Mix hover for Elixir in `mix.exs`

![mix](https://user-images.githubusercontent.com/28652/72213887-9b43e400-34ee-11ea-857d-14eb1deb8738.gif)

### Compatible with your favorite Erlang and Elixir extensions

Works great with other extensions to provide all the things this one doesn't, such as syntax highlighting, intellisense, and snippets. Currently tested with:

- ["Erlang" (pgourlain.erlang)](https://marketplace.visualstudio.com/items?itemName=pgourlain.erlang)
- ["Elixir LS Fork" (elixir-lsp.elixir-ls)](https://marketplace.visualstudio.com/items?itemName=elixir-lsp.elixir-ls)
- ["hex.pm IntelliSense" (benvp.vscode-hex-pm-intellisense)](https://marketplace.visualstudio.com/items?itemName=benvp.vscode-hex-pm-intellisense)

## Setup

### Requirements

- [Visual Studio Code](https://code.visualstudio.com/) - Code editor

### Install extension

Install Hex Lens from the Visual Studio Marketplace [from this link](https://marketplace.visualstudio.com/items?itemName=szTheory.hex-lens) or by searching from the Extensions tab within the app itself. If you have trouble finding it search for `hex-lens`.

## Links

- [Hex Lens on the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=szTheory.hex-lens)

## Thanks

Thanks to ninoseki the author of [vscode-gem-lens](https://github.com/ninoseki/vscode-gem-lens) whose work formed the basis of this extension.