Keep sidebar in sync with current pane

This feature is somehow related to “Show in sidebar” button - Ideas & Features - Fibery Community

But instead having a button to reveal in the sidebar the currently active pane, I’d like it to be automatic as much as possible like in VSCode ↓

I know that it will only work for Documents, Pages, and Views. When clicking on an Entity link, there won’t be anything to reveal/select in the sidebar the Entity has no visual representation in it, just many views possibly listing it.