gleam-lang/gleam

LSP: Support triggering find references from imports

クローズ

#5,544 opened on 2026/03/31

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (960 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (21,417 個のスター)
PR merge metrics
 (平均マージ 10d 19h) (30d で 69 merged PRs)

説明

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
  //     ^^^
}

コントリビューターガイド