gleam-lang/gleam

LSP: Support go-to-definition on record fields

Open

#5,534 opened on 2026年3月29日

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

説明

I'd like to be able to use go-to-definition with record fields

pub type Thing {
  Thing(a: String)
}

pub fn work() {
  let x = get_thing()
  x.a // go-to-def here!
}

I started working on this in #5533, with some Discussion in the Gleam Discord here

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