To configure the XQuery Formatting options, open the Preferences dialog box and go to Editor > Format > XQuery.