wojtekmach

wojtekmach

Hex Core Team

Hey everyone,

As you might know, Hex recently got a new option to open up documentation for a particular module in a browser window, e.g.: mix hex.docs open ecto --module Ecto.Changeset which I find very useful.

I thought it would be cool to have similar ability inside an iex session so I built: GitHub - wojtekmach/iex_help_open · GitHub.

Here’s a quick demo how this works:

It’s in a very early version and supports just functions, but if there’s interest in it I’d be happy to extend it to support more features. (It would likely require a rewrite from scratch :smile:.) Any feedback and/or contributions are very welcome in the meantime!

Showing Posts 1 to 3

gon782

gon782

Ah, goodness, this is great! These are the types of tools we really need. I had in mind to make a remote version of this at some point, because I wanted to use it across VM/machine boundaries, so I could spawn new tabs of docs on other machines or outside my VM. I might actually take a look at this to extend it into that. Thanks for rekindling this. :slight_smile:

bbense

bbense

With Ehelper I got as far as printing out the url’s for everything you can access via the h command, the standard Erlang libraries, and anything you have installed via hex.

https://github.com/philosophers-stone/ehelper/blob/master/lib/doc_help/print_url.ex

I just looked at the openurl helper and it needs some TLC. I’m thinking some code got lost along the way since
it opens dash url’s.

wojtekmach

wojtekmach OP

Hex Core Team

nice! I’ve only learned about ehelper some hours after publishing the package above :sweat_smile:

I just looked at the openurl helper and it needs some TLC

the code I’m using for that is taken from hex and it seems to work pretty well: hex/lib/mix/tasks/hex/docs.ex at v0.15.0 · hexpm/hex · GitHub so I suppose it could be that if the user has dash installed then it uses that, otherwise opens it up in the browser.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
rodloboz
I’ve started working on a new library to run SQL queries and do basic business intelligence. Think “Blazer for Elixir.” Currently it fe...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
CodeSync
:microphone: ElixirConf 2026 - Call for Talks is open! We’re heading to Chicago :united_states: :round_pushpin: In person + virtual :d...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews