Partager via


Documenting Wizard: Step 6 – Finish

By default, the wizard does not overwrite your existing files. Specify Overwrite existing files to overwrite your existing code files with the new ones that the wizard saves.

If you select the Place files in a singledirectory option and then click Finish, the wizard will prompt you to choose a single directory where it will save all the files that it creates.

If you select the Place files in a new directory tree and then click Finish, the wizard will prompt you to choose a directory where it will create a copy of the project's source tree and save the new, formatted program files in the appropriate directories of the new tree.

When you select Cross-reference keywords, the wizard creates or adds to a table of keywords called Fdxref.dbf. After running the wizard, you can use the table to create reports of the keywords you are using in your application. The wizard adds one record to Fdxref.dbf for each instance a of Visual FoxPro keyword in your code.

When this option is selected the wizard matches keywords in your code with the first field, named Token, in the file Fdkeywrd.dbf. The second column, Code, in Fdkeywrd.dbf contains an identifier that tells the wizard how to treat the keyword when analyzing your code. The following table describes the identifier codes.

Code Description
I Indent
U Un-indent (remove indent)
R Reset indentation to 0 (or 1 if in DefineClass)
F Procedure or function
D While or Case: DO clause
O Object (Spinner, CommandButton)
P Property (Scalemode, DecimalPoints)
M Method (Init, KeyPress)
C ClauseUsed only as a Clause: can't start a statement

Note   Depending on the size of your code, this option may enlarge Fdxref.dbf by a large number of records. Before running the wizard and choosing the option to create keyword cross-references, be sure you have enough disk space.

When you select Run analyzer, the wizard starts the Visual FoxPro Code Analyzer. Code Analyzer dynamically traces the structure and symbols in Visual FoxPro application files. Code Analyzer provides visual controls, a menu, and keyboard options to navigate through application file code by using output from the Documenting Wizard.

See Also

Customizing the Documenting Wizard | Documenting Wizard: Step 1 - Choose Source File | Documenting Wizard: Step 2 - Set Capitalization | Documenting Wizard: Step 3 - Set Indentation | Documenting Wizard: Step 4 - Add Headings | Documenting Wizard: Step 5 - Select Reports | Wizards Overview | Code Analyzer