How to automatically close old query results when running new query

How can I automatically close all existing query windows when running a new query, rather than overwriting them or appending new result tabs along with the old ones?
1 comment
Comment actions Permalink


Could you please elaborate a bit and share some screenshots? By default, DataGrip closes previously created windows and opens a new one (if the previous tab was not pinned). 


Please sign in to leave a comment.