Vscode-cpptools: Implement "Go to Implementation" to find all the derived classes

Created on 18 Jul 2019  路  3Comments  路  Source: microsoft/vscode-cpptools

Any sort of class inheritance info/viewing is unlikely to be available any time soon -- I don't think even Visual Studio has this available. Maybe you could parse the find all references result to check for references of classes that involve inheritance, but that would only work if the base class reference were on the same line as the sub class reference.

VSCode has implemented 'go to implementation' from version 1.35. If I can get the implementation locations of symbol, I think it's ok.

_Originally posted by @Lennon925 in https://github.com/microsoft/vscode-cpptools/issues/3886#issuecomment-512705520_

Feature Request Language Service Works in VS

Most helpful comment

Identifying all derived classes is a basic need during code navigation. Are there any plan to have this feature in VS Code?

All 3 comments

VS has the info available via the "Class View".

Identifying all derived classes is a basic need during code navigation. Are there any plan to have this feature in VS Code?

Find All References can be used as a workaround -- i.e. if you use it on a base class virtual method, it should find all the derived classes that override that method.

We don't currently have any plans to add this in the near-term (we have too many higher priority issues), but it's on our backlog.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jheinzel picture jheinzel  路  3Comments

ecbrodie picture ecbrodie  路  3Comments

vicatcu picture vicatcu  路  3Comments

montery8 picture montery8  路  3Comments

jyavenard picture jyavenard  路  3Comments