gleam-lang/gleam

LSP: Support go-to-definition on record fields

Open

#5,534 建立於 2026年3月29日

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

貢獻者指南