Skip to content

Show "implementations" code lens for TypeScript "virtual"/overridden methods #198387

@htho

Description

@htho

I find the "implementation" code lens feature very useful and I am looking forward to #136282.

Since TypeScript has no "virtual" keyword to explicitly state that a method can and should be overridden, it is not possible to know if a method is overridden in a derived class.

I have an abstract class A with the methods foo() and bar().
class B extends A and overrides foo().
class C extends A and does not override foo().

Looking at a parent class, I'd like to see if a method is overridden in a derived class and quickly navigate there.
The "implementation" code lens should basically display the result of "Find All Implementation" command.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsiderstypescriptTypescript support issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions