Page 1 of 1

Expand/Collapse Queries

PostPosted: Tue Jun 03, 2014 5:50 pm
by hrcerq
Hi,

I've recently discovered DBeaver (which is an excellent tool) and something I missed about it is the ability to expand / collapse the queries, so that I can manage large scripts with ease. It would help a lot. Any chances it will be implemented?

Thanks in advance!

Re: Expand/Collapse Queries

PostPosted: Tue Jun 24, 2014 1:15 pm
by hrcerq
What I meant was something like this:

Re: Expand/Collapse Queries

PostPosted: Wed Jun 25, 2014 9:37 am
by Serge
Hi,

I agree, that could be very useful.
One of very first versions of DBeaver had this feature but then it was removed due to performance reasons.
SQL scripts can be really large and even syntax highlighting consumes a lot of resources. Semantic script analysis + query folding is an expensive feature. If you have a script bigger than 1mb this feature will literally kill the application. While SQL scripts can be much bigger.
Anyway, this feature works great for small scripts (<100kb). So I think I can enable it for small scripts and disable for big ones. Also I can try to improve standard Eclipse annotations algorithm to make it consume less resources.
So maybe this feature will be added in one of nearest versions. But I can't promise when exactly.

Thanks

Re: Expand/Collapse Queries

PostPosted: Thu Jun 26, 2014 6:21 pm
by hrcerq
OK, thank you very much.

Re: Expand/Collapse Queries

PostPosted: Wed Jul 09, 2014 5:11 pm
by hrcerq
Hi,

I thought again about what you said about this feature and maybe it would be nice to include it as an option for the user, disabled by default and maybe let the user set the limit that best suits him.

What do you think?

Re: Expand/Collapse Queries

PostPosted: Tue Apr 28, 2015 9:54 pm
by MADCookie
I would like to vote up this request and second the opinion that DBeaver is great!

I like the idea of making it a setting for me to enable if I want it.

I'm leaving Atlantis SQL Everywhere.