Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code: How to see all classes inherited from a base class or interface?

Is there any way how I can see all classes inherited from a base class or an interface in Visual Studio Code? I know how to find all references, but this is not exactly what I'm looking for.

NOTE: This question relates to Visual Studio Code, not regular Visual Studio.

like image 320
Alexey Andrushkevich Avatar asked Oct 12 '16 10:10

Alexey Andrushkevich


1 Answers

Not sure if it works for C# source code, but in general, you do it like this:

Right click the class name, and then choose "Find All Implementations", or "Peek>Peek Implementations".

OR

Place the cursor on a class name, press P on Mac or CtrlP on Windows, then start typing "Implementations":

enter image description here

like image 155
AlexV Avatar answered Oct 11 '22 18:10

AlexV