gleam-lang/gleam

Code action to generate new type

Open

#5,389 建立於 2026年2月23日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Rust (21,417 star) (960 fork)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

貢獻者指南