Windhawk has a mod that's dedicated for Visual Studio:

https://windhawk.net/mods/lm-vs-solution-icon

It's possible to create something similar for other programs such as VSCode, but I don't plan working on it.