Netbeans often used code snippets

netbeans, netbeans-7

Solution

There is. If you go to `tools` --> `options` --> `Editor` --> `Code Templates`, you can add a abbreviation and the Expanded text to make it.

For example, when I type `syso` and hit the Tab button, it makes it `System.out.println("${cursor}");`, where the cursor is at `${cursor}`.

Problem

i need this: ``` {{ _('') }} ``` very often and get tired by typing it again over and over. Is there a netbeans function where i can create a shortcode for that? Si if i press a key combination it insert this thing? And i dont want to use copy and paste ;) Thanks

Original source