Skip to content

LS: hover info for custom types and their constructors #4451

Open
@unknown

Description

@unknown

The language server currently doesn't return hover info for custom types and their constructors. It would be useful for the language server to support this.

//// wibble.gleam

type Wibble {
  // ^ wibble.Wibble

  Wibble(Int)
  // ^ fn(Int) -> Wibble

  Wobble(String)
  // ^ fn(String) -> Wibble
}

The proposed behavior above would be consistent with the hover info of type annotations and constructor expressions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions