1. Home
  2. Docs
  3. Chapter 30. Project Options
  4. 6. Code Synchronization
  5. Brace and Identation

Brace and Identation

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 to appear 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.