There is no such feature available in IDEA-based IDEs out of the box.
The corresponding ticket is located in the Backlog project .. so it's quite unlikely to became a native feature any time soon.
In any case: https://youtrack.jetbrains.com/issue/IDEABKL-5794 -- watch this ticket (star/vote/comment) to get notified on any progress.
In the meantime -- install CodeGlance plugin -- it does just that.