How to automatically close old query results when running new query

Answered
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?
0
3 comments

Hey,

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). 

0

Daniil Maslov When ever i execute, it just overwrites the previous tab, not the current opening tab. How can I change this? I just want it to show the result on selecting tab. Beside, I don't use the 'Open result in new tab' option.

0

Tranductoan6a9

If you have `Open result in new` tab option unchecked, it should use the same tab for outputting result sets in the Services Window. The same goes for In-Editor view when you want your results to be shown directly in the data viewer area. Are you observing different behavior?

0

Please sign in to leave a comment.