I have been using Obsidian for more than 6 months now.
Often I have to create multiple notes with same name in various location.
That makes it difficult to see where is the currently open / active file is located.
When I searched I couldn’t find any solution that works automatically and highlights the current active file in real-time.
But this hotkey hack is time saver.
Go to Settings > Hotkeys > Files: Reveal current file in navigation
And set your hotkey.
Let me know if you find a better solution.
Source: https://forum.obsidian.md/t/add-hotkey-for-focus-sidebar/44525