gleam-lang/gleam

Code action to generate new type

Open

#5,389 opened on 2026年2月23日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
help wanted

説明

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

コントリビューターガイド