Code Templates

Code templates are available in the completion proposals in code assist. They provide shortcuts for boilerplate code like main method definition and asInstanceOf invocation.

../../../_images/feature-template-012.png

The list of available templates can be viewed and modified in the Scala Templates preference page.