Skip to content

References code lens does not include imports as references #2367

@mjbvz

Description

@mjbvz

For a project:

// abc.ts
export function abc() { }
// other.ts
import { abc } from "./abc";

The references code lens currently shows 0 references

I can understand why it's doing this but it also feels a bit unexpected. TS 6.0 includes the imports as references

Metadata

Metadata

Assignees

Labels

Domain: EditorRelated to the LSP server, editor experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions