Close the view that was the least recently activated among opened files.
The function can be activated through the File menu, or through the alt+w shortcut (super+alt+w on Mac).
Use the shortcut repeatedly to efficiently clean up unwanted opened files.