Skip to content

LSP: Support go-to-definition on record fields #5534

@alii

Description

@alii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions