Use this tab to specify various options that the IDE can perform when a file is saved.
This panel contains the following elements.
Element | Description |
---|---|
Language |
Select a language or file type from the dropdown list. |
Reformat |
Select which type of lines that you want the source editor to reformat when you save the file. The default is None. |
Remove Trailing Whitespace From |
Select which type of lines from which you want the source editor to trailing whitespaces when you save the file. The default is None. |
Use All Languages Settings |
When selected the settings specified for All Languages are applied to files of the selected type or language.
This option is only available when you select a language or file type in the Languages dropdown list. |
Remove Unused Imports |
When selected, unused import statements are removed from the code when the file is saved. This option is only available for Java files. |
Organize Imports |
When selected, import statements in the code are organized when the file is saved. This option is only available for Java files. |
Related Topics
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |