Autoreplace with substitution variables

Hello,
I have a tpl file with substitution variables (prefixed with an ampersand.
Before replacing the text, it propmts for these variables values and replace also the variables in tpl file by values.
In version 9 from plsql-developer are prompted values for the variables by query execute, but not when autoreplacing.

What should I do, that these variables are not replaced by values?

Best regards.
 
Templates now use the substitution variable syntax (and also support the old syntax). You will need to replace & with && in your existing templates.
 
As many of the SQL Developer abilities mimic and extend the SQL*Plus tool functions, e.g. the substitution variables indicated by the ampersand sign, why not do this consistently?
Oracle's SQL*Plus does not treat double ampersand sign as a literal ampersand sign, but as a substitution variable that will automatically get defined if was not previously defined (when single ampersand sign would prompt but not define). The ampersand escaping character in the SQL*Plus is a backslash (at least by default).

Yes, there are things that probably should not be copied from SQL*PLus, but I can't see a reason for not using the SQL*Plus approach here.
 
Back
Top