I am copying java code which contains SQL into the editor and hitting CTL-P to strip the java code. I receive an error about "No template found for make/strip code". When I go into the options screen, there doesn't seem to be any Java template to select from.
Issue can also occur when attempting to make code
Go to View | Toad Options | Editor | Code Assist | Make Code
There should be an entry 'Java' - This should be highlighted to enable.
Highlight this and click edit
It should contain the following:
Name: Java
Quote Character: "
Escape Character" \
{ Java Language Template }
"%SqlText% " +
"%SqlTextNext% " +
If it is empty, please use the above info to populate.
if you do not see Java in your list, then click Add and use the above info to create.