Highlighting the folders in the path to prefab

I have developed a tool that scans through all the prefabs and checks if it has the required components and stuff. If the prefab is missing something, I’ll display its name using a GUILayout.TextField. But I also want to highlight the prefab which is nested inside Resources folder.

I basically want to do what Debug.log(string, gameobject_name) does when its clicked but I’m not printing to the console.

So my question, is there a way to highlight all the folder names in a path to the prefab in the project tab ?

Solution found.

I used EditorGUIUtility.PingObject(prefab name);