How do you split multiple objects in one file, into multiple windows/tabs in Toad?
I have a file with multiple object scripts. I would like to open these scripts for each object into separate tabs or windows in Toad. Is there a quick way to do this without cutting and pasting manually?
1. Go to View | Options | Editor | Open/Save
2. Select either, "Automatically split files when multiple objects separated by a '/'" or "Prompt to split files"
3. Make sure the objects scripts in your file are separated by a '/' then "Load from File" in the editor window.
This will read in the scripts from the file, and open each section, separated by a '/' into it's own tab in one Editor window.
There is a problem with file splitting found in Toad 9.7. Please review SOL46764
If working in Toad 9.6 and older, you may also need to verify the following options:
View | Options | Editor | Open/Save in the Packages/Types section.
"Load Spec and Body as pair (Package or User Type)"
If this option is checked, when you load a package or a type spec or body into the Editor, the associated spec or body will also be loaded. The default is checked.
When checked, the spec and body will be loaded in separate tabs. When unchecked, the associated spec or body will be loaded into the same tab. The default is checked.