gleam-lang / gleam

⭐️ A friendly language for building type-safe, scalable systems!
https://gleam.run
Apache License 2.0
17.46k stars 725 forks source link

LSP: Show references to types #3356

Open gusinacio opened 2 months ago

gusinacio commented 2 months ago

There's already an issue tracking references to functions, but it would also be nice to have show references to types.

lpil commented 2 months ago

Thank you

Zhomart commented 2 months ago

For future readers:

type Foo =
  Int

fn main() {
  F| 
}

This doesn't autocomplete "Foo" after the cursor "|" .

Related function issue: https://github.com/gleam-lang/gleam/issues/1541