gleam-lang/gleam

LSP: Support finding references of modules

Open

#5.543 geöffnet am 31. März 2026

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (960 Forks)batch import
help wanted

Repository-Metriken

Stars
 (21.417 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 6h) (59 gemergte PRs in 30 T)

Beschreibung

It would be nice to click on a module name and be able to find references of where it is used.

e.g. If in the following example, anytime the cursor was moved over mod and "go to reference" was activated, all the underlined areas would be found.

// -- mod.gleam
pub type Foo { Bar }

// -- app.gleam
import mod
//     ^^^
pub fn main() {
  let _: mod.Foo = mod.Bar
  //     ^^^       ^^^
}

// -- mod2.gleam
import mod
//     ^^^
pub fn fob() {
  mod.Bar
//^^^
}

Contributor Guide