Skip to content
vic

wojtekmach/iex_help_open

null

wojtekmach/iex_help_open.json
{
"createdAt": "2016-12-28T17:41:29Z",
"defaultBranch": "master",
"description": null,
"fullName": "wojtekmach/iex_help_open",
"homepage": null,
"language": "Elixir",
"name": "iex_help_open",
"pushedAt": "2016-12-28T19:45:56Z",
"stargazersCount": 3,
"topics": [],
"updatedAt": "2023-09-05T19:01:21Z",
"url": "https://github.com/wojtekmach/iex_help_open"
}

Similar to IEx’s h but instead of printing documentation it opens it in a browser window.

# install iex_help_open
$ mix archive.install https://github.com/wojtekmach/iex_help_open/releases/download/v0.1.0/iex_help_open-0.1.0.ez
# use it in a mix project
$ iex -S mix
iex> import_if_available IExHelpOpen # or add this line to .iex.exs
iex> ho inspect
# opens https://hexdocs.pm/elixir/Kernel.html#inspect/2
iex> ho Ecto.Changeset.cast/3
# opens https://hexdocs.pm/ecto/Ecto.Changeset.html#cast/3

demo

  • works only with Mix
  • does not handle errors well
  • does not support callbacks
  • does not support types

MIT