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

贡献者指南

LSP: Support go-to-definition on record fields · gleam-lang/gleam#5534 | Good First Issue