gleam-lang/gleam

Code action to generate new type

Closed

#5,389 opened on Feb 23, 2026

 (6 comments) (0 reactions) (0 assignees)Rust (960 forks)batch import
help wanted

Repository metrics

Stars
 (21,417 stars)
PR merge metrics
 (Avg merge 10d 19h) (69 merged PRs in 30d)

Description

The language server already allows to create new functions when needed. It would be nice if it allowed to do the same thing with types too. For example:

type Wibble {
  Wibble(Wobble)
//       ^^^^^^ Doesn't exist, trigger code action
}
type Wibble {
  Wibble(Wobble)
}

+ type Wobble

Contributor guide