AutoReplace enhancement

Robertas

Member²
It would be nice to mark position of cursor after auto replace

For example:
outl=dbms_output.put_line(|);

after typing outl cursor could be placed to "|" mark

Thank you
 
Use my template plugin. This can be done using this plugin. I have a template that replaces declare:
declare
begin
|
null;
end;
/
cursor will be positioned instead of the '|' mark.

Kindest regards,
Patrick Barel
 
If you use a .tpl file, you can do this by using "[#]" where you want the cursor to be.

For example:
outl=AutoReplace stuff\outl.tpl

And then in C:\Program Files\PLSQL Developer\Template\AutoReplace stuff\outl.tpl have:
dbms_output.put_line([#]);
 
Last edited:
thanks for reply, i think i will use both (plugin - for short text) and tpl for longer text

but i would still be happy to see this as default behavior in autoreplace :)
 
Back
Top