Reformat Code Dialog
Code | Reformat Code
In this dialog box, specify the scope to apply reformatting to.
||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
||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 ( File | Settings | Editor ) .|
|Run||Click this button to start reformatting the source code within the specified scope.|
Last modified: 29 January 2015