IntelliJ IDEA 2017.2 Help

Generate toString() Dialog

Code | Generate - toString()

TemplateClick this drop-down list to choose the template to use.
SettingsClick this button to show Generate toString() Settings Dialog and set up the behavior and templates of the Generate toString() function.
sortAlphabeticallyClick this button to represent the fields in ascending or descending alphabetical order.
classTypeJavaClassClick this button to show classes.
expandAllClick this button to expand all class nodes.
collapseAllClick this button to collapse all class nodes.
Class members tree viewClick the members to be included in the generated toString() method.
Insert @OverrideIf this check box is selected, the generated code is prepended with the annotation @Override.
OKClick this button to generate the toString() method with the specified settings and close the dialog.
Select NoneClick this button to generate the toString() method that consists of the method declaration and return statement only.
CancelClick this button to discard all changes and close the dialog.
Last modified: 29 November 2017

See Also