As an example of applying a simple live template, let us create a main() method.
- Open the desired class for editing.
- Type the abbreviation of the main() method template:

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