Reference Viewer for C++ classes?

Reference viewer is only for dependencies in-between binary assets.

Struct/Class viewer can only show inheritance.

There is an VS extension but it seems to only show inheritance too, and it’s slow…

Is there any way to show a complete list of items referencing a native class?

Sounds like you looking for Find all references under default rmb menu over any term, including class names.

It will show all the references of given term in project. Note that it takes time, so list shown immediately is not necessary complete

Example

This only shows native code references. References in blueprints (i.e, through inheritance or member property) won’t be detected

It wasn’t specified in original question, but anyway, may be this will help you: in rare case i need this, i’m just using “search in blueprints” by function\field name. It has its caveats, but it does solves 95% of my needs.

And the final one: delete\break the field\function and run PIE. Editor will immediately tell you the list of assets that’s no longer works. (note: it will only list assets used in current level. So it’s still possible to miss some. But you still can run pie on each level one by one)

Hello. Now, open the Content Browser settings, check the “C++ class” checkbox, and verify that “C++ Class” is displayed.
Here, classes are displayed, and you can use the Reference Viewer.
Classes from your project, plugins, and the engine are available.

I’ve found the solution… for references in blueprints.

Open up the “Find In Blueprints” tab, and use advanced search syntax like this:

ObjectClass = staticmeshactor || ParentClass = staticmeshactor || ClassName = staticmeshactor

or you can limit the results further to only show property and inheritance cases:

Variables(ObjectClass = staticmeshactor) || ParentClass = staticmeshactor

where “staticmeshactor” is the native class name without the U or F prefix.

Yes it’s case insensitive, yes it supports partial matching, and yes, it also supports structs!

However this is still not the ultimate solution as native classes can also be referenced in non-blueprint assets (for instance, custom UAnimNotify added in animation sequence/montage or C++ actor placed in a .umap file)

Maybe one day epic would fix the reference viewer for C++ classes so that it actually shows the correct info…