by Serge » Wed Jun 25, 2014 9:37 am
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