Edit»Format File
Use the Format File option to apply the code formatting you specified in the Formatting Options dialog box to the currently open file in the Source window.
This menu item is not available if you enable the Use CVI legacy formatting option in the Editor Preferences dialog box.