Generating Code

See Also
How to generate the code constructs in IntelliJ IDEA. Basic procedures of IntelliJ IDEA to populate the source code with the code constructs.

This section describes how to quickly and accurately populate your source code with the complicated code constructs.

In this part:

  • Creating Code Constructs by Live Templates
  • Creating Code Constructs Using Surround Templates
  • Examples of Using Live Templates
  • Generating Constructors
  • Generating Delegation Methods
  • Generating Equals() and HashCode()
  • Generating Getters and Setters
  • Generating ToString()
  • Implementing Methods of an Interface
  • Overriding Methods of a Superclass
  • Rearranging Code Using Arrangement Rules
  • Surrounding Blocks of Code with Language Constructs
  • Unwrapping and Removing Statements
  • Completing Punctuation

See Also

Reference:

  • Advanced Editing

Comments, questions, suggestions? See the Feedback page to contact JetBrains

Copyright © 2000-2017 JetBrains s.r.o. All rights reserved.3062 built on 13 November 2017