I’m using Ubuntu 18.04 and I am aware of the option to show window previews in Dash-to-dock when e.g. middle clicking an application (and a similar option in Dash-to-panel).
Using the python IDE, opening multiple windows looks like this on the dock (see right side):
Each window is also titled ‘Toplevel’ which does nothing in helping me differentiate between the windows. As such, I’m looking for some sort of workaround (or gnome extension) that puts the window previews in the dock itself, without me having to middle click them (just for ease of use reasons).