Get Hit Results under Cursor in the Editor

I’m confused as to what you mean by in the editor. Do you mean in the viewport in the editor or do you want a trace literally on the editor? (Like for example in the Outliner window)