A formatting profile is a saved set of options that help layout and beautify SQL code. SQL Complete includes two groups of formatting profiles - Devart and Custom. The Devart profiles are the default profiles that come with the tool.
Here is the list of the predefined formatting profiles:
- Collapsed
- Commas before
- Compact
- Default
- Extended
- Indented
- MSDN SQL
- Right aligned
- Stack compact
To learn how to create and customize formatting profiles in SQL Complete, see Profiles.
To select a style to be applied, right-click the query window, click Active Format Profile and choose one of the predefined formatting profiles. After that, format the query document by pressing Ctrl+K, then Ctrl+D.
By default, the active formatting profile in SQL Complete is the built-in Default formatting profile. In order to set a different style from the default one, do the following:
- On the SQL Complete menu, click Options.
- In the Options window, go to the Formatting > Profiles tab.
- Choose one of the predefined formatting profiles.
- Click Set as Active.
- Click OK.
Predefined profiles cannot be modified. However, you can use the settings of these profiles as a basis for your own custom profiles to beautify your SQL code. Just do the following:
- On the SQL Complete menu, click Options.
- In the Options window, go to the Formatting > Profiles tab.
- Choose one of the predefined formatting profiles.
- Click Open Selected.
- Edit formatting options in the left-hand pane.
- Click Save As.
- Enter a name for your new custom profile.
- Click OK.
- On the SQL Complete menu, click Options.
- In the Options window, go to the Formatting > Profiles tab.
- Click Create New.
- Enter a name for your new profile.
- Click OK.
Helpful materials
Learn how to make changes to a formatting style and create a customized profile.
Want to Find out More?
Take a quick tour to learn all about the key benefits delivered by dbForge SQL Complete for SQL Server.
Get acquainted with the rich features and capabilities of the SQL Complete in less than 5 minutes.
If you consider employing the SQL Complete for your business, request a demo to see it in action.
Ready to start using dbForge SQL Complete for SQL Server?