Admin Production ni-theme
Current Publication

Formatting Options

LabWindows/CVI

Formatting Options (Legacy)

The Formatting Options (Legacy) button in the Editor Preferences dialog box opens the Formatting Options (Legacy) dialog box. You must enable the Use CVI legacy formatting option in the Editor Preferences dialog box to open the Formatting Options (Legacy) dialog box.

In this dialog box, you can set the location of curly brackets when you select Edit»Insert Construct in a Source window or Code»Generate in the User Interface Editor to add code to a Source window. The auto indent feature uses this setting to determine proper indentation. The Formatting Options (Legacy) dialog box displays a preview that updates the sample code based on the bracket styles you select.

You can specify two bracket styles: one for functions and another for statements, such as if and switch statements.

Note Note  If you enable Use CVI legacy formatting and specify formatting options using this dialog box, batch auto indent support is unavailable.