# Find method references across the active module even when the selected file only scopes the target. exec semedit find-references --language go --file api/store.go --symbol Store.Read stdout 'References to Store\.Read' stdout 'client/client\.go:[0-9]+.*func Use' stdout 'references at L[0-9]+:C[0-9]+' ! stderr . -- go.mod -- module example.com/references go 1.23 -- api/store.go -- package api type Store struct{} func (*Store) Read() string { return "" } -- client/client.go -- package client import "example.com/references/api" func Use(s *api.Store) { _ = s.Read() }