I just upgraded to Toad 126.96.36.199 (from version 10) and noticed the behavior in Options>Editor>Open/Save "Automatically combine spec/body when saving object to file" has changed. Previously when this option was set Toad would add a carriage return after the / when splitting the spec/body. Now it does not, it adds the backslash without a carriage return (like example below) which results in a file that if run through SQL will result in a compilation error. Was this a bug or intentional change? Is there any way to restore the previous behavior of adding a carriage return after the backslash?
/CREATE OR REPLACE PACKAGE BODY
Answer from a different thread:
Michael Staszewski / 6.24.2013 at 5:30pm
This is unintentional. It'll be fixed when the next beta cycle starts up.