Brace and Identation Options

Option Name Description
Class declaration
  • Same line - (default) Brace for class declaration appears at the same line as the declaration
  • Next line - Brace for class declaration appears at the line after the declaration
Constructor declaration
  • Same line - (default) Brace for constructor appears at the same line as the declaration
  • Next line - Brace for constructor appears at the line after the declaration
Method declaration
  • Same line - (default) Brace for method appears at the same line as the declaration
  • Next line - Brace for method appears at the line after the declaration
Enum declaration
  • Same line - (default) Brace for enumeration appears at the same line as the declaration
  • Next line - Brace for enumeration tor appears at the line after the declaration
Annotation type declaration
  • Same line - (default) Brace for annotation type appears at the same line as the declaration
  • Next line - Brace for annotation type appears at the line after the declaration
Indentation policy
  • Tabs - (default) Use a tab of space as indentation
  • Spaces - Use spaces as indentation. The number of spaces can be defined below
Indentation size The number of spaces to indent.
Brace and Indentation Options details

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
1. Code Table of Contents 3. New Lines

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK