IntelliJ IDEA 11.1 Web Help

As an example of applying a simple live template, let us create a main() method.

To create main() method
  1. Open the desired class for editing.
  2. Type the abbreviation of the main() method template:

    psvm1

  3. Press the template invocation key. By default, it is TabTab. The abbreviation expands to the main() method:

    psvm2

See Also

Concepts:

Procedures:

Reference:

Web Resources: