gleam-lang/gleam
LSP: Support triggering find references from imports
Geschlossen
#5.544 geöffnet am 31.03.2026
help wanted
Repository-Metriken
- Stars
- (21.417 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 10T 19h) (69 gemergte PRs in 30 T)
Beschreibung
In the following example, triggering find references on any of the underlined locations should show all of the uses of the type Foo. It currently works everywhere but in the import line.
// -- foo.gleam
pub type Foo
// ^^^
// -- app.gleam
import foo.{type Foo}
// ^^^ ← this line shows up in all results, but triggering here fails
fn main() {
let _: Foo = todo
// ^^^
}