Ctrl+Alt+LCtrl+Alt+LShift+Alt+LCtrl+Alt+LCtrl+Alt+LCtrl+Alt+LAlt+F8 or Ctrl+Alt+FShift+Alt+FCtrl+Alt+L or Ctrl+Shift+FAlt Command LAlt Command LShift Command F
In this dialog box, specify the scope to apply reformatting to.
|File <fully qualified file name>||Choose this option to have all the source code in the current file reformatted.|
|Selected text||Choose this option to have the currently selected fragment of source code reformatted.|
|All files in directory <fully qualified directory name>||Select this option to have the source code in all the files in the current directory reformatted at once.|
|Include subdirectories||Select this check box to have source code from files in the nested directories reformatted. This check box only appears when the nested directories exist.|
|Optimize imports||Select this check box to remove unused import statements from the code within the selected scope.|
|Rearrange entries||Select this check box to reorder your source code entries.|
|Only VCS changed text||If this check box is selected, then reformatting will apply only to the files
that have been
but not yet checked in to the repository.
This check box is only available for the files under version control.
|Do not show this dialog in the future||Select this check box to perform reformatting silently. To reset this setting, select the check box Show 'Reformat Code' dialog on the Editor page of the Settings dialog ( ) .|
|Run||Click this button to start reformatting the source code within the specified scope.|