Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.34 KB

File metadata and controls

69 lines (44 loc) · 2.34 KB

Java Code Styles

IntelliJ IDEA code style settings for seong-il's Java and Android projects.

Installation

  • On Unix, run the install.sh script. Windows users should use install.bat instead.
  • Restart IntelliJ if it's running.
  • Open IntelliJ Project Settings -> Code Styles, change the code style for the project to the one you want.

Important Code Arrangement.

Class and Interface files must contain the below comments. All members including variables, methods, listeners, etc.. should align as per the comments.

Class

// ========================================================================
// constants
// ========================================================================

// ========================================================================
// fields
// ========================================================================

// ========================================================================
// constructors
// ========================================================================

// ========================================================================
// getter & setter
// ========================================================================

// ========================================================================
// methods for/from superclass/interfaces
// ========================================================================

// ========================================================================
// methods
// ========================================================================

// ========================================================================
// inner and anonymous classes
// ========================================================================

Interface

// ========================================================================
// constants
// ========================================================================

// ========================================================================
// methods
// ========================================================================

License

Public domain