Reformat File dialog
The dialog appears when you press Ctrl+Alt+Shift+L in the editor of the current file. If you choosefrom the main menu or press Ctrl+Alt+L, CLion tries to reformat the source code of the specified scope automatically.
For more details on how to reformat, or exclude files from formatting, refer to Code formatting.
Only changes uncommitted to VCS
If this checkbox is selected, then reformatting will apply only to the code that has been changed locally, but not yet checked in to the repository.
This checkbox is only available for the files under version control.
Choose this option to have the currently selected fragment of source code reformatted.
Choose this option to have all the source code in the current file reformatted.
Select this checkbox to remove unused import statements from the code within the selected scope.
Select this option to run the code cleanup inspections. CLion finds and automatically fixes potentially problematic code fragments.
Do not keep line breaks
Reformat line breaks according to the code style settings. This option overrides thesetting.