How to close all query windows in DBeaver? DBeaver retains all results &amp; sql editor windows when the program is closed.

The indicator showing tab overflow is easy to overlook (see pic). A user can accumulate an absurd number of tabs if they aren't paying attention &amp; actively closing tabs after each session. I don't see an obvious way to do it and it's impractical to close them one by one.

How can I close all query windows in DBeaver?

I mean 'close' as in save nothing and close the query window completely.
You can right-click on any tab then choose "Close All":



In order to automatically close database object editors when exiting the application, you can uncheck this option: "Reopen database editors after restart":



Note that this will only close database editors (tables, schemas...) and it won't affect text editors. There's currently (DBeaver 5.1.2) no option to automatically close text editors when exiting the application. The feature request is tracked on this issue.