[DONE] Snippets, SQL functions and Keywords

Feature requests and their debate

[DONE] Snippets, SQL functions and Keywords

Postby whitehat » Tue Aug 14, 2012 7:15 am

I'd like to have these in future versions :)
Ability to add and use snippets. And list of SQL functions|keywords with short help on each.
This functionality works great in HeidiSQL, it would be great if You copy it to DBeaver!
whitehat
 
Posts: 8
Joined: Fri Apr 27, 2012 9:05 am

Re: Snippets, SQL functions and Keywords

Postby codebling » Tue Aug 14, 2012 3:59 pm

Can you explain what a snippet is ?
codebling
 
Posts: 79
Joined: Tue May 22, 2012 4:15 pm

Re: Snippets, SQL functions and Keywords

Postby whitehat » Fri Aug 24, 2012 8:16 pm

it's a short part of code, stored for reuse...
for example, I often need to insert "AND DT BETWEEN STR_TO_DATE(
'2012-08-01 00:00:00' ,
'%Y-%m-%d %H:%i:%s'
) AND STR_TO_DATE(
'2012-08-16 23:59:59' ,
'%Y-%m-%d %H:%i:%s'
)
"
in my queries. I make a snippet "where-date" and store this text and then simply drag'n'drop snippet to query
whitehat
 
Posts: 8
Joined: Fri Apr 27, 2012 9:05 am

Re: Snippets, SQL functions and Keywords

Postby whitehat » Tue Oct 09, 2012 9:30 am

Is there any chance to see snippets in future releases? :roll:
whitehat
 
Posts: 8
Joined: Fri Apr 27, 2012 9:05 am

Re: Snippets, SQL functions and Keywords

Postby Serge » Tue Oct 09, 2012 11:20 am

Hello,

Yes, there is a good chance that this feature will be implemented. Actually it is in TODO list.
Maybe version 2.1-2.2 will contain it.

Thanks :)
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Snippets, SQL functions and Keywords

Postby joselitux » Tue Oct 30, 2012 8:48 am

+1000 to that
joselitux
 
Posts: 43
Joined: Thu Oct 25, 2012 12:11 pm

Re: Snippets, SQL functions and Keywords

Postby Serge » Fri Nov 02, 2012 1:16 pm

Snippets (or templates) support will be added in the next version (2.0).
It will reuse standard Eclipse templates technology.
BTW if you have a set of standard (database independent) snippets which may be included in default list then please post it here. I'll include them in default configuration.

Thanks
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb


Return to Feature Requests



Who is online

Users browsing this forum: No registered users and 13 guests