Options for the Procedure Editor. Quest Software 8.5
Reklāma
Reklāma
Procedure Editor
Options for the Procedure Editor
You access the Toad Options window via the Configure Toad Options button or by selecting the View | Options menu item. The Options | Procedure
Editor page contains numerous options under General, Debugging, File
Splitting, and Proc Templates.
General
Reload files when activating Toad if the file time stamp is changed
Default - Unchecked
If checked, this allows editing in an external editor. When a Procedure Edit window containing a file is reactivated (gets focus), Toad will check the date stamp of the file to see if it was modified by the external program. If the file was modified, Toad will display a prompt dialog that will say that the file date/time has changed and ask you if you want to reload it. Select Yes, and the file will reload.
Include Owner when extracting source From database
Default - Unchecked
If checked, this basically puts owner name in the first line when loading from the database. When exporting source, if this option is checked, source will be prefixed with the owner.
Example: CREATE OR REPLACE PROCEDURE STHOMAS.PROCEDURENAME IS
If unchecked, source is not prefixed with the owner.
Default - Unchecked
If checked, an object type will be selected, and all objects that are not filtered will be shown. If unchecked, no object type is selected (just a blank grid), and you must select before any objects are shown.
141
Toad for Oracle
Only show one Procedure Editor per database connection
Default - Unchecked
If checked, permits only one Procedure Edit window per database connection to conserve Windows resources.
This is similar to the option that limits the number of SQL Edit windows and
Schema Browser windows, per connection.
Load Spec and Body as pair (Package or User Type)
Default - Checked
If checked when you load a package spec or type spec the corresponding body will be loaded, and when you load a package body or type body the corresponding spec will be loaded.
Use multi-line tabs in the editor
Default - Unchecked
If checked, once a line of tabs is full the editor tabs will display on multiple lines.
If unchecked, once a line of tabs is full, the tabs will display with a horizontal scroll bar.
Allow compiling when source loaded from database
Default - Checked
If checked, Toad will let you compile source that is loaded from a database.
Unchecking this option enforces the practice of loading and altering source files instead of storing the only copy of the code in the database.
Default - Unchecked
If this option is checked, the Create Procedure will not overwrite an existing object. When loading PL/SQL into the Procedure Editor, the Create clause will read, "Create Procedure/Function/Package ...". This is useful if when compiling a procedure, a different object of the same name already exists in the database, hence the compile will fail, instead of overwriting it.
If unchecked, the Create clause will read "Create or Replace Procedure/Function
Package" and overwrite any existing objects that have the same name.
142
Procedure Editor
Compile Spec and Body as Pair (Package or User Type)
Default - Unchecked
This option will compile the spec and body (in that order) whenever either of the objects is compiled in the Procedure Editor, as long as both objects are currently loaded. If only the spec is loaded, then only the spec will be compiled. If only the body is loaded, then only the body will be compiled.
Search for Dependent Objects following a compile
Default - Checked
If checked, Toad will search the database for dependent objects of the currently compiled PL/SQL object (those procedures that call this procedure), and if any are found, will enable the Compile Dependencies button.
If unchecked, the Compile Dependencies button is always enabled.
If PROC_A calls PROC_B and you are editing and recompiling PROC_B, Oracle flags PROC_A as INVALID, forcing a need to recompile PROC_A. Toad will check for this dependency, enable the Compile Dependencies button, which you can then click to compile PROC_A, and therefore not leave any INVALID objects out there as a result of your changing PROC_B.
Toggle Modified Flag after compiling source from database
Default - Unchecked
If checked, after you compile source from the database, the Modified flag in the status panel will toggle to "Modified".
Notification when compile process is complete
Default - Unchecked
When checked, this plays the ToadLOAD.WAV (croak sound) when the compile of a procedure has been completed.
The Debugging options are discussed in Toad Help.
The File Splitting options let you choose to automatically split files, be prompted to split files, choose to never split files (this disables compiling), use file splitting tags, and choose to save to separate files after splitting.
143
Lejupielādēt
Reklāma