gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Link to hexdocs.pm on function hover

Open ascandone opened this issue 7 months ago • 2 comments

It might be useful to have a link that brings you to hexdocs.pm documentation, like in elixir:

Screenshot 2023-12-05 at 14 26 02

A possible implementation could show the link only for values that:

  • are imported from external dependencies
  • that are hosted on hex

ascandone avatar Dec 05 '23 13:12 ascandone

@lpil I managed to implement the "View on hexdocs" functionality only for hex dependencies. Is it still possible for the link to go 404 if the dependency is published on hexdocs.pm ?

ascandone avatar Dec 06 '23 15:12 ascandone

It is possible, but it's pretend it's not :)

lpil avatar Dec 07 '23 13:12 lpil