Template plugin

patch

Member³
If you have ever worked with the Delphi IDE, then you might know of the CTRL-J hotkey, which allows you to insert a template into you code, based on the current text. For example:
you type: cnc and then you press CTRL-J. Then the text cnc is replaced by the contents of your template, for example: CompareNoCase.

I have created a plug-in for PL/SQL Developer that does a similar thing :cool: . You can download it at my website ( bar-solutions.com ) or using this link Template Plugin
And maybe soon from the Add-ons page here ;)

Kindest regards,
Patrick
 
Is possible use myself plug-in write in Delphi
with PL/SQL Developer version 6.0.0.810 ?

If yes, how do it ?
(a document step by step help)

Thanks,
Luciana Angeli
SICREDI Servi
 
While there is some learning curve still needed, there are examples of plugins written in Delphi distributed with PLSD. Look under the directory where PLSD is installed at the PlugInDoc sub-directory (on my PC it is C:\Program Files\PLSQL Developer\PlugInDoc).
 
There is a slight problem with your plugin.

Code:
select 'a' || 'b' from dual
becomes

Code:
select 'a'  'b' from dual
it seems that the concatenation operator disappears.

also, adding a vertical scrollbar on the editor would be a help.

good idea tho.
 
Richard,

I have implemented the changes you asked for. It should work correctly now.
New version can be downloaded from my website as described in the first post in this thread.

Regards,
Patrick
 
Back
Top