How can I edit two materials simultaneously?
The windows sync with the selection you do. However if you want to retain a specific selection, just use the little pin icon, in the upper right handside of the shader editor to keep the tree &quot;pinned&quot;. The second one will still update if not using the pin.
Release the pin to go back to the active selection