AutoReplace templates

Roeland

Member³
I have set the AutoReplace (Preferences-> User Interface -> Editor -> AutoReplace) to the following directory:

C:\Users\\AppData\Roaming\PLSQL Developer\AutoReplace\AutoReplace.txt

In this textfile I have the following line:

Code:
b = begin.tpl

In the same directory I have placed the file "begin.tpl" with the following code:

Code:
begin
  [#]
end ;

But this doesn't work as expected. When typing a 'b' it's always replaced by 'begin.tpl'

Even making a subdirectory and placing the file there doesn't help (as what the helpfile suggest). The result is the same...

Version 11.0.6.1796
Version 12 beta 5
 
This works fine.
.tpl file should be in the Templates directory.

Check your Preferences for Templates directory.
 
I did something similar with:
dbms_output.put_line('');

I created a macro by typing all that into it. I assigned cntrl-d to that macro. When I press cntrl-d that text appears and my cursor is placed between the quotes.
You have to include left cursor movements (left arrow) to get the cursor between the quotes.
 
Back
Top